Skip to content

Commit

Permalink
Merge pull request #194 from TrololoLi/uppercase_infromation_schema
Browse files Browse the repository at this point in the history
uppercased information_schema resolves #193
  • Loading branch information
sdebruyn committed May 22, 2022
2 parents aff5a14 + c3571fa commit 4fb2d47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbt/include/sqlserver/macros/adapters/metadata.sql
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
ordinal_position as column_index,
data_type as column_type,
null as column_comment
from information_schema.columns
from INFORMATION_SCHEMA.COLUMNS

)

Expand Down Expand Up @@ -83,7 +83,7 @@
else table_type
end as table_type

from [{{ schema_relation.database }}].information_schema.tables
from [{{ schema_relation.database }}].INFORMATION_SCHEMA.TABLES
where table_schema like '{{ schema_relation.schema }}'
{% endcall %}
{{ return(load_result('list_relations_without_caching').table) }}
Expand Down

0 comments on commit 4fb2d47

Please sign in to comment.