General information
Category:
Coding, syntax and commands
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 ...
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only