Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add 'extra' columns to remote views?
Message
 
À
13/05/1999 18:05:01
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00218634
Message ID:
00218744
Vues:
26
That is T-SQL syntax, and needs to be passed to the server. VFP remote views interpret the bit field as a logical field.

Convert is a handy function, and can be found in the T-SQL docs.

>>I ran across this today. SQL Server stores logical fields at type bit.
>>
>>Try using 'Select convert(bit,0) as lField from ....'
>>
>>
>>>
>>>The SPACE(X) worked for the char column, but for the logical column I gat a "connectivity error, syntax bad near AS'...or something like it
>
>Is that VFP 5 compatible syntax? I will give it a go and let you know. I thought I saw the convert function somewhere, but couldnt find it anywhere. Where are the docs?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform