Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Code This VFP IIF Statement In SQL
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01326128
Message ID:
01326129
Vues:
12
>How do I put this in SQL syntax:
>
>
>IIF(((TRANCODE="PR") .OR. (TRANCODE = "PT" .AND. TRANQUANT > 0)),TRANQUANT,0) AS Recepit
>
CASE WHEN (TRANCODE = 'PR') OR (TRANCODE = 'PT' AND TRANQUANT > 0) THEN TRANQUANT 
     ELSE 0 END AS Recepit
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform