Hi all,
I am trying to concatenate two columns First_Name and Last_Name to display as Name in a View. I used the following statement but the result only shows the First_Name.
Select First_Name + Last_Name as Name from Address;
How do i combine the two columns??
SQL 2000 running on Win 2000
Thanks in advance.This is only a guess, but:SELECT RTrim(first_name) + ',' + last_name
FROM Address-PatP|||Thank you for the prompt reply, it worked!
Sunday, February 12, 2012
Concatenation of two columns
Labels:
columns,
concatenate,
concatenation,
database,
display,
first_name,
following,
last_name,
microsoft,
mysql,
oracle,
server,
sql,
statement,
view
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment