Skip to content

Commit 9812f92

Browse files
authored
Create List_Check_Constraints_DB
1 parent c98a3c4 commit 9812f92

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

List_Check_Constraints_DB

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
SELECT DB_Name() AS DBName
2+
,Schema_Name(Schema_id) AS TableSchema
3+
,Object_name(parent_object_id) AS TableName
4+
,DEFINITION
5+
FROM sys.check_constraints

0 commit comments

Comments
 (0)