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

Concatenate a Field in SQL

Status
Not open for further replies.

RemingtonSteel

Programmer
Jul 14, 2006
65
GB
Hello!

I want to concatenate 2 fields in one field. However, when I save it on the target field I would like to separate the 2 fields (that I will save on the target field) with a carriage return.

Thanks.
Gene
 
It sounds like what you want for the field expression is:

cField1 + CHR(13) + CHR(10) + cField2 AS cYourNewField

Tamar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top