Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo fields and SQL
Message
De
25/07/2006 15:02:23
 
 
À
25/07/2006 14:20:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01139846
Message ID:
01139893
Vues:
10
>What I'm hoping I can come up with is something like
>
>Select codedesc as Name, memofield as Alias
> from codetable c
>where c.coddtype = "somegroup"
>
>and have 'Alias' be a character field, not a memo field
>

In VFP 9, use the CAST() function:

SELECT codedesc AS Name, CAST(memofield AS C(100)) AS Alias ...

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform