Monday, December 11, 2023

if exist in SQL and if condition in SQL

 IF EXISTS (SELECT 1 FROM Document WHERE ObjectId = @ComplaintId AND ObjectType=151)

BEGIN


END



IF @DiaryNum IS NOT NULL

BEGIN 


end

No comments:

Post a Comment