Hi
I want to add 4 digits to the answers from a query. I am using 2008R2 so cannot use concat. I have tried using the + but cannot get it to work, could someone point me in the right direction, I am sure it is simple but just cant seem to get it right. Thanks
SELECT 1100 + '' + OH.OrderID AS [CALL.ID], REPLACE(REPLACE(OH2.SpecialInstructions, CHAR(13), ' '), CHAR(10), '') AS [CALL.TEXT01]
FROM dbo.DeliveryBookingLine
so the results would be something like
11003334455
11003456222
and so on
Thanks
I want to add 4 digits to the answers from a query. I am using 2008R2 so cannot use concat. I have tried using the + but cannot get it to work, could someone point me in the right direction, I am sure it is simple but just cant seem to get it right. Thanks
SELECT 1100 + '' + OH.OrderID AS [CALL.ID], REPLACE(REPLACE(OH2.SpecialInstructions, CHAR(13), ' '), CHAR(10), '') AS [CALL.TEXT01]
FROM dbo.DeliveryBookingLine
so the results would be something like
11003334455
11003456222
and so on
Thanks