SyntaxFix
Write A Post
Hire A Developer
Questions
If I remember correctly, and more often then not I do ... there is no END IF support in Transact-Sql. The BEGIN and END should do the job. Are you getting errors?