Discussion Locked
SQL if Condition
0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
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.