Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 62ab0c2

Browse files
authored
Update SSDB.Row_Level_Auditing_Add.sql
1 parent 47c9b65 commit 62ab0c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎SSDB.Row_Level_Auditing_Add.sql‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ BEGIN
160160
PRINT '=====================================================================';
161161
END
162162

163-
IF NOT EXISTS (SELECT * FROM sys.triggers WHERE object_id = OBJECT_ID(N'[dbo].[TR_' + @TableName + '_LAST_UPDATED]'))
163+
IF NOT EXISTS (SELECT * FROM sys.triggers WHERE object_id = OBJECT_ID(N'['+ @SchemaName +'].[TR_' + @TableName + '_LAST_UPDATED]'))
164164
BEGIN
165165

166166
PRINT '=====================================================================';
@@ -217,4 +217,4 @@ BEGIN
217217

218218
END
219219

220-
GO
220+
GO

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /