Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select as logical in SQL statement
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01638232
Message ID:
01638233
Vues:
103
This message has been marked as the solution to the initial question of the thread.
>Please advise how, in an SQL Select statement I can 'create' an empty logical field. I know SPACE(6) as xyz will give me a field called xyz which is 6 characters wide. etc. I just can't think how to do the same with a logical field..
>
>Thanks!

use CAST(0 AS BIT) as xyz

[Update]
Oops, sorry, I just saw you are using VFP not SQL...

SELECT .f. as xyz will work
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform