Thursday, February 16, 2012

Comments in SQL

Hi,

I am new to MS SQL Server 2005. I used MySQL.

Now my doubt is how to put a comment in SQL statement, where i am using query editor in SQL Management Studio.

Rgds.,

Aazad

Hi,

Use -- for single line comments and

/*
For multiline comments
*/

HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de

No comments:

Post a Comment