getting spaces while concatenating column and string


hi all,

i am getting spaces while concatenating column , string.

below example

select empname++'test' employee

result: mandava                test

expected result: mandavatest

regards,

mandava.

select ltrim(rtrim(empname))+'test' employee

hope helps!!



SQL Server  >  Getting started with SQL Server



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........