SyntaxFix
Write A Post
Hire A Developer
Questions
IF exists
IF exists (select * from table_1 where col1 = 'value') BEGIN -- one or more insert into table_1 (col1) values ('valueB') END ELSE -- zero insert into table_1 (col1) values ('value')