1. I am creating a table which contains all of the Vendor IDs in the following statement:
select * into edi_temp from temp_po where VendorID in (001150,
010134,
010306,
010601,
010638,
010769,
010770,
011105,
011148...
I am trying to add a assign a new PO number by concatenating an int and varchar. However I keep getting an error that the receiving string or binary data would be truncated. Here is the code it is complaining about:
UPDATE #temp_po
set updatedPO = @PONum + CONVERT(VARCHAR(20), @newPO)
where...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.