SyntaxFix
Write A Post
Hire A Developer
Questions
This worked for me in SQL 2000:
IF EXISTS ( SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = 'table_name' AND column_name = 'column_name' ) BEGIN ... END