Oct 31, 2011 #1 sebes Programmer Apr 5, 2011 45 RO hello, Can I use something like this in MySQL ? Select string1 + string2 as field name ? OR do I have to use select concat(string1, string2) as fieldname ? Thanks.
hello, Can I use something like this in MySQL ? Select string1 + string2 as field name ? OR do I have to use select concat(string1, string2) as fieldname ? Thanks.
Oct 31, 2011 #2 feherke Programmer Aug 5, 2002 9,540 RO Hi Only [tt]concat()[/tt] or [tt]concat_ws()[/tt] ( or maybe [tt]group_concat()[/tt] ). Using [tt]+[/tt] for string concatenation is MSSQL's proprietary syntax. The standard concatenation operator is [tt]||[/tt], but in MySQL that one is used as synonym for logical [tt]or[/tt]. Feherke. Upvote 0 Downvote
Hi Only [tt]concat()[/tt] or [tt]concat_ws()[/tt] ( or maybe [tt]group_concat()[/tt] ). Using [tt]+[/tt] for string concatenation is MSSQL's proprietary syntax. The standard concatenation operator is [tt]||[/tt], but in MySQL that one is used as synonym for logical [tt]or[/tt]. Feherke.
Oct 31, 2011 Thread starter #3 sebes Programmer Apr 5, 2011 45 RO That's sad... Thanks. Upvote 0 Downvote