We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69b4189 + 967f0b6 commit e7a900aCopy full SHA for e7a900a
dbt/include/sqlserver/macros/adapters/metadata.sql
@@ -9,7 +9,7 @@
9
name as principal_name,
10
principal_id as principal_id
11
from
12
- sys.database_principals
+ sys.database_principals with (nolock)
13
),
14
15
schemas as (
@@ -18,7 +18,7 @@
18
schema_id as schema_id,
19
20
21
- sys.schemas
+ sys.schemas with (nolock)
22
23
24
tables as (
@@ -28,7 +28,7 @@
28
principal_id as principal_id,
29
'BASE TABLE' as table_type
30
31
- sys.tables
+ sys.tables with (nolock)
32
33
34
tables_with_metadata as (
@@ -49,7 +49,7 @@
49
50
'VIEW' as table_type
51
52
- sys.views
+ sys.views with (nolock)
53
54
55
views_with_metadata as (
0 commit comments