General discussion
April 17, 2003 at 03:36 PM
saeed_kashif

SQL if Condition

by saeed_kashif . Updated 23 years, 5 months ago

i want to use the if condtion like in MS-SQL like
if exist(select * from emp)
insert into…….
else
messege(‘no data found’)

same like this can we compare direct select statment in if condition, plz any idea, explain with syntex example.

This discussion is locked

All Comments