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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Column Alias Queston 2

Status
Not open for further replies.

Rob7412

Technical User
Jan 26, 2006
31
US
I have a db with three field ptfname,ptmint,ptlastname

Is there any way to select these three fields as a alias such as patientname with the fields formated like this

Smith, John T
 
Code:
Select IsNull(ptLastName, '') + ', ' 
       + IsNull(pfFName, '') + ' ' 
       + IsNull(ptMInt, '') As PatientName
From   Table

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top