Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combining SQL fields in query

Status
Not open for further replies.

yandso

Programmer
Jul 20, 2001
278
US
I need some help. I am trying to pull first_name and last_name from my database as Name. I have tried using
Code:
Select first_name+" "+last_name as Name from names
I don't get an error but I also do not get any data. Any help would be great.
 
Assuming you have a table called Names with the fields First_Name & Last_Name, try this...

Code:
"Select first_name & ' ' & last_name as Name from Names"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top