Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

932 B
Raw Blame
- statement: CREATE TABLE MyTable(a VARCHAR(20));
  changeType: 1
- statement: ALTER TABLE MyTable ADD b VARCHAR(3000);
  changeType: 1
  want:
    - status: 2
      code: 422
      title: COLUMN_MAXIMUM_VARCHAR_LENGTH
      content: The maximum varchar length is 2560.
      startposition:
        line: 1
        column: 0
      endposition: null
- statement: ALTER TABLE MyTable ALTER COLUMN a VARCHAR(MAX);
  changeType: 1
  want:
    - status: 2
      code: 422
      title: COLUMN_MAXIMUM_VARCHAR_LENGTH
      content: The maximum varchar length is 2560.
      startposition:
        line: 1
        column: 0
      endposition: null
- statement: ALTER TABLE MyTable ALTER COLUMN a NVARCHAR(MAX);
  changeType: 1
  want:
    - status: 2
      code: 422
      title: COLUMN_MAXIMUM_VARCHAR_LENGTH
      content: The maximum varchar length is 2560.
      startposition:
        line: 1
        column: 0
      endposition: null