Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select a Bit field
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01535081
Message ID:
01535083
Vues:
35
Hi Naomi.
Just what I wnated.. many thanks
Regards,
Gerard


>>In Vfp, to create a Logical field, I do the following:
>>Select *, .T. as MyTrue, .f. as MyFalse from MyTable ..... ends up with MyTrue and MyFalse as Logic Fields (True or False)
>>
>>How do I do the same in SQLSERVER and C#, I want to end up with a Bit Column (Not a numeric Column) as the table is going to another system which expects a Bit field .
>>
>>Tia
>>Gerard
>
>select cast(1 as bit) as MyBitField ...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform