Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select expression for both VFP and SQL DB
Message
De
29/03/2019 15:03:07
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01667660
Message ID:
01667729
Vues:
39
>>>>
when a=1 and b=1 then 100 else when a=1 and  b=0 then 50 ...
>>>
>>>Yep, Unfortunately T-SQL doesn't have logical data type
>>
>>Which is kind of ridiculous, because it has the bit type as a field. It's just that it treats it as unusable in expressions, unless you cast it as a, say, integer.
>
>Bit is numeric data type but not numeric enough to be used in numeric expressions. At the end it's not numeric or logical for practical purpose

A true siren - neither fish nor girl.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform