經安全檢測,此網站為安全網站,請放心前往原始網址!

SQL SERVER- IF EXISTS(Select null from table) vs IF EXISTS(Select 1 from table) | Journey to SQL Aut

I have a same kind of scenario to address… If you have a database where you have lots of stored procedures in which you create dynamic tables, we make sure that the table doesnt exists, so we write: IF EXISTS (SELECT * FROM sys.objects WHERE object_id ...

blog.sqlauthority.com

網址安全性掃描由 google 提供