Gemini532
asked on
if NOT EXIST does not work for the select statment in the stored procedure even if the field is blank
if "NOT EXIST" is the type of code that for some reason does not work for the select statment in the stored procedure even if the field is blank
Can you help write the correct code....
Can you help write the correct code....
SELECT @user=UserId FROM tableName id = @id
IF NOT EXISTS(SELECT [test] FROM tableName WHERE id = @id)
BEGIN
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.