Hi
Is it possible to check if a value in a stored procedure is "" and if so not make an update.
Lets say for example that @txt1 is "" then I don't want to make any update for txt1. Is this possible?
Regards
Is it possible to check if a value in a stored procedure is "" and if so not make an update.
Code:
UPDATE
tbl_database
SET
txt1 = @txt1,
txt2 = @txt2,
WHERE
(ID = @ID)
Lets say for example that @txt1 is "" then I don't want to make any update for txt1. Is this possible?
Regards