Open djfoxer opened 3 years ago
DROP PROCEDURE IF EXISTS dbo.Procedure
causes dialog:
Errors found. Continue? Errors found during SQL parsing. Would you like to apply formatting anyway? Yes No
Same with Tables, Views, etc.
If you click "Yes" it puts a couple line breaks before the "IF"
That may be because the "DROP object IF EXISTS" trick is specific to Microsoft SQL Server, it's not ANSI Standard T-SQL.
DROP PROCEDURE IF EXISTS dbo.Procedure
causes dialog:
Errors found. Continue? Errors found during SQL parsing. Would you like to apply formatting anyway? Yes No