0

Why concat function in sql

Hi everybody! Why use concat function from sql if I can to use concat function from programming language: php, c#, python etc? what is the benefit? I don't understand

31st Oct 2018, 1:29 AM
Александр Лебедев
Александр Лебедев - avatar
3 Respuestas
+ 2
With concat function you could create a single coloum to use later and yes you could use it in programming languages but the point is to use it in sql without using other languages
31st Oct 2018, 1:56 AM
chris
chris - avatar
0
so what is the profit to use concat in sql instead of programming language?
31st Oct 2018, 5:21 AM
Александр Лебедев
Александр Лебедев - avatar
0
I understand. For optimal using CONCAT need using AS for create and get result as new column. this column will unite the others. without as - no profit
31st Oct 2018, 9:13 AM
Александр Лебедев
Александр Лебедев - avatar