Home Forums Article Discussions Article Discussions by Author Discuss Content Posted by Johan Bijnens What is the result ? (SQLServer 2005) RE: What is the result ? (SQLServer 2005)
Kangana Beri
SSCrazy
Points: 2134
More actions
September 11, 2008 at 12:08 pm
#870554
In SSMS, if you write the statement in 1 line, you get a syntax error:
print 'Hey what''s going on ?';GO 10
But changing it to 2 lines works fine:
print 'Hey what''s going on ?';
GO 10
Can somebody explain why GO preceded by a ; gives error?