hi, can some one tell me how to merge input "fname" and "lname" and post to database to one coloum "name". thanks! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

hi, can some one tell me how to merge input "fname" and "lname" and post to database to one coloum "name". thanks!

hi, can some one tell me how to merge input "fname" and "lname" and post to database to one coloum "name". thanks!

24th Feb 2017, 11:49 PM
フェリー
フェリー - avatar
4 Answers
+ 2
alter tableName add name update tableName set name = fname + lname hope this helps
25th Feb 2017, 6:38 AM
Michael Szczepanski
Michael Szczepanski - avatar
+ 1
Can be use concate operator with white space place of + sign?
25th Feb 2017, 11:31 AM
Rohit Kumar
Rohit Kumar  - avatar
0
ok, thanks abiut it
25th Feb 2017, 8:02 AM
フェリー
フェリー - avatar
0
this concat(fname+lname)
25th Feb 2017, 11:57 AM
フェリー
フェリー - avatar