Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combining fields with SQL?
Message
From
31/08/2000 11:02:29
 
 
To
31/08/2000 10:44:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00411282
Message ID:
00411299
Views:
10
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
Previous
Reply
Map
View

Click here to load this message in the networking platform