Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Syntax
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01023915
Message ID:
01024230
Vues:
24
With ALLTRIM() some records can be cut to the LEN() of the first record i.e. If the first record LEN(ALLTRIM( ve.gcommentfamille )) = 10 the field will be defined as Char(10) and all of the rest records will be cut to Char(10)
In VFP 9 You can use:
CAST(ALLTRIM( ve.gcommentfamille ) AS V(254)) AS 'memoFam';

Then you can get a Varchar field not memo with 254 chars length.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform