To concatenate two fields in mysql
Posted 16 November 2005 - 11:23 AM
I hav two fields namely,Emp_Fname and Emp_Lname.... in mysql. i would like to concatenate while displaying them
Select Emp_Fname||Emp_Lname as Employee_Name from ......
but its not working. tell me how to concatenate and make them a single field to display.
Thx in advance,
Posted 16 November 2005 - 11:33 AM
SELECT CONCAT(Emp_Fname, " ", Emp_Lname)
from [table name]
BEST OF LUCK
Posted 16 November 2005 - 11:44 AM
thank u verymuch for ur reply.......
do keep in touch...
bye for now
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users