Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combining fields with SQL?
Message
De
31/08/2000 11:05:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00411282
Message ID:
00411302
Vues:
11
Nick,

>select table1.employee_id, ;
>ALLTRIM(employee.first_name) + " " + ALLTRIM(employee.last_name) AS FULL_NAME ;
>FROM table1, employee
>WHERE table1.employee_id = employee.employee_id ;
>INTO table3

Better PADR that expression, or you'll lose info if the first item has short first and/or last name.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform