Strange SQL Problem

I have a Select Statement that returns 4 rows.  When used in a stored procedure as input to an Insert Into, though, it was returning five rows.   I commented out SET NOCOUNT ON; which is added by the SQL 2014 template.  It then returned 4 rows.  To test that was what was really going on, I uncommented out SET NOCOUNT ON; and it is now returning 4 rows properly.

I made no other changes.

Anybody else ever run into anything like this??

Comments

Popular posts from this blog

Proposed Amendment 28

Father claims 15 year old girl is capable of consent in Lesbian Rape Case

Call them what you like, Broken Families are still a TRAGEDY!