Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I comment-out a line in a Query?
Message
De
11/06/2008 11:24:56
 
 
À
11/06/2008 10:52:38
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01323097
Message ID:
01323118
Vues:
19
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform