sql server - How can I append a column in SQL? -


i've tried different things in sql server 2012 append columns. concat merges columns this: catdogparrot whereas want in list like:

 cat  dog  parrot 

i've tried + in sql, giving me same result. saw '||' well, reason says wrong syntax @ second pipe. there way append column new one? or have create new column multiple columns? these columns in same table. suggestions advice appreciated, thanks!

i'm not sure trying do, try use

concat(' - ', `column1`, ' - ', `column2`, ' - ', ... `column999`) 

Comments

Popular posts from this blog

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Can Piwik report referrer in real time? -