Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combining fields with SQL?
Message
De
31/08/2000 11:02:29
 
 
À
31/08/2000 10:44: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:
00411299
Vues:
11
Jim,

>Here’s another one... I have two tables, one has a name Foreign Key, the other the names. I would like to create a third table via SQL SELECT that would have a field “Full Name” that would have the combined fields FirstName and LastName looking something like LastName, Firstname. Is this something I can do somewhat easily in SQL?

SELECT PADR(TRIM(lastname)+", "+firstname,40) AS FullName ...
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform