Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I comment-out a line in a Query?
Message
 
To
11/06/2008 10:52:38
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01323097
Message ID:
01323118
Views:
18
This message has been marked as a message which has helped to the initial question of the thread.
>Foxpro uses "*" but I can't find what to use in SQL SMS scripts.

Here some example:
DECLARE @Test integer


/* This is a comment 
    and I could use that comment  style for multi lines */


SELECT * FROM SomeTable
WHERE /* that is INLINE comment */  OtherField = @Test


-- one line comment
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform