Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BEGIN...END Error
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Divers
Thread ID:
01324921
Message ID:
01325040
Vues:
17
>>IF I comment-out the PRINT line in the code below, I get this error:
>>
>>Msg 156, Level 15, State 1, Line 233
>>Incorrect syntax near the keyword 'FETCH'.
>>Msg 102, Level 15, State 1, Line 256
>>Incorrect syntax near 'OFF'.
>>
>>
>>
>>IF @ProcessDocument = 'N'
>>
>>	BEGIN
>>
>>		-- Testing ONLY!
>>		--PRINT 'Document Skipped: ' + @FirstFile
>>
>>	END
>>
>
>SQL doesn't like a begin..end block with no executable statements. Odd but true.


I didn't knew that!
Thank you!
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform