Use this...
IF TYPE_ID(N'dbo.Aardvark') IS NULL
...instead of this:
IF OBJECT_ID(N'dbo.Aardvark') IS NULL
No comments:
Post a Comment