Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 denoting comments

Author  Topic 

sfjtraps
Yak Posting Veteran

65 Posts

Posted - 2009-04-16 : 09:52:49
I'm still learning the basics here. Can anyone let me know the syntax for coding comments in SQL Server.

ayamas
Aged Yak Warrior

552 Posts

Posted - 2009-04-16 : 09:55:32
If you need to comment a block use
/*
blah blah
blah1 blah1
blah2 blah2
*/

else
--blah blah
--blah1 blah1
--blah2 blah2


Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-04-16 : 11:13:03
you also have a button on top toolbar to comment a group of highlighted statements in query editor in mgmnt studio
Go to Top of Page
   

- Advertisement -