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!

HOW DO I COMBINE THESE NAME FIELDS

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a large file, I need to combine a First Name and Last Name field into the following Name format:

LNAME, FNAME

Each record has a unique ID, please help me with the syntax.
 
Try:

SELECT rtrim(lname) + ", " + rtrim(fname) as fullname
from tablename

GOOD LUCK...

jj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top