Concatenate Two Fields t-sql
The result I need is to see the full 50 characters of the first field even though all 50 may not be filled.
Thanks
declare @v1 varchar(50)
declare @v2 varchar(12)
select @v1 = 'test', @v2='a'
select cast(@v1 as CHAR(50)) + @v2
Looking for relevant SQL Server Whitepapers? Visit the SearchSQLServer.com Research Library.