if exixts in sql
if exists
(
select vAdmissNo,vRegNo FROM tblAdmission where vAdmissNo = '"+11+"' AND vLateral='"+Yes+"'
)
error:
Msg 102, Level 15, State 1, Line 4
Incorrect syntax near ')'.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vishnujeet KumarPosted Dec 4, 2012, 1:54 AM
anil johnPosted Dec 5, 2012, 1:00 AM