Click here to Skip to main content
15,939,065 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Any one help me.

i want to inert two column values as one column using mysql. i want the format of (sandy -5,xxx).
JakirBB 18-Jul-12 7:06am    
Clarify your problem by giving example..
Nobody likes to answer such question.

So you use string concatenation to combine the two columns. It would help to know your DB format, and if you mean two values from two columns in the same table or another one, but, that's the answer, you select the two and combine them to make one new string.
Share this answer
I guess that you need to concatenate the strings and all you need to do is use a string concatenation function
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900