1jaws
asked on
snytax problem
I have a insert into statement that I want to add a if else statement in it..
parameter @ check bit
insert into tblsome empname
...... if (check = true) give me the value of as @empname else null ...
what is the snytax for that in tsql?
parameter @ check bit
insert into tblsome empname
...... if (check = true) give me the value of as @empname else null ...
what is the snytax for that in tsql?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Should be @check
ASKER
thank you