Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's Wrong With This CASE
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
What's Wrong With This CASE
Divers
Thread ID:
01435411
Message ID:
01435411
Vues:
107
Getting "Incorrect syntax near the keyword 'AS'."
CASE WHEN OL.OL_STATUS >= 3 THEN 0 ELSE
	CASE WHEN OL.OL_TERM_DATE < > '1901-01-01' AND GETDATE() > OL.OL_TERM_DATE THEN 0 ELSE
		CASE WHEN b.BookedQty IS NULL THEN OL.OL_NEGOT_QTY ELSE
			CASE WHEN b.BookedQty > OL.OL_NEGOT_QTY THEN 0 ELSE OL.OL_NEGOT_QTY - b.BookedQty END AS [Remaining Blanket Qty],
Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform