In sql-server according to syntax, who has to go first: DECLARE or SET NOCOUNT ON? enter image description here


The declare statement will not generate a rowcount message so there is no observable difference between the two.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.