Skip to content

Commit

Permalink
MS SQL: Allow multiple table and schema excluding rules
Browse files Browse the repository at this point in the history
Allows a pgloader load file to parse data correctly when multiple
`excluding table names like 'TABLE' in schema 'SCHEMA'`
filter rules have been provided.

Fixes dimitri#1328
  • Loading branch information
troley authored and marcokrikke committed Nov 30, 2023
1 parent d5f4f00 commit 8c9a040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sources/mssql/sql/list-all-columns.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 8c9a040

Please sign in to comment.