Situation is I have a 13 byte alpha field in a vendor supplied table on
The first 9 positions are a next number field as 000123456 followed by 4
We are putting a .NET app together that needs to update/increment the
numeric portion of the data by 2 (in this example it would then be
000123458).. We've tried various combinations of CAST, CONVERT,
etc without any luck
I was wondering. Are you using AS/400 (DB2) syntax for what you are
trying to do or are you trying to use syntax for say Sql Server?
I have got burned on that on before.
The statement you enter is sent to the AS/400 as is. I would try
creating the sql statement on the AS/400 to get it to work and taking
that statement to the .net application. If it won't work on the AS/400
then it won't work in .Net.