Skip to content

Commit cc2d5f3

Browse files
committed
use equals instead of like in meta lookup
1 parent e81f138 commit cc2d5f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbt/include/sqlserver/macros/adapters/metadata.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
end as table_type
155155

156156
from [{{ schema_relation.database }}].INFORMATION_SCHEMA.TABLES with (nolock)
157-
where table_schema like '{{ schema_relation.schema }}'
157+
where table_schema = '{{ schema_relation.schema }}'
158158
{% endcall %}
159159
{{ return(load_result('list_relations_without_caching').table) }}
160160
{% endmacro %}

0 commit comments

Comments
 (0)