diff --git a/src/sources/mssql/sql/list-all-columns.sql b/src/sources/mssql/sql/list-all-columns.sql index 94b15608..d30938cd 100644 --- a/src/sources/mssql/sql/list-all-columns.sql +++ b/src/sources/mssql/sql/list-all-columns.sql @@ -47,6 +47,6 @@ where c.TABLE_CATALOG = '~a' and t.TABLE_TYPE = '~a' ~:[~*~;and (~{~a~^~&~10t or ~})~] - ~:[~*~;and (~{~a~^~&~10t and ~})~] + ~:[~*~;and (~{~a~^~&~10t or ~})~] order by c.table_schema, c.table_name, c.ordinal_position;