Groups | Blog | Home
all groups > sql server connect > september 2003 >

sql server connect : SQL combine beginner question


CD
9/19/2003 12:02:21 PM
how do I combine 3 columns within the same table. for
instance firstname, lastname, middlename all into one
Steve Thompson
9/19/2003 3:57:31 PM
[quoted text, click to view]

Don't combine these columns in one column, use an SQL Select query to
display the information....

Select Firstname + ' ' + Middlename + ' ' + LastName FROM YourTable

Of course if you had to, you could modify the above query into an
Update query. See BOL for examples.

AddThis Social Bookmark Button