I have a page that enters received post values into an ms sql database. The problem is that I get some number like 000450 and upon insertion it is truncated to 450.
I have my db field set as nvarchar 50
this is my update sql:
strUpdate="Update Orders SET PaymentStatus=" & CODE & " WHERE OrderID=" & ORDERID
how can I maintain all 6 numbers in the database?
thanks
I have my db field set as nvarchar 50
this is my update sql:
strUpdate="Update Orders SET PaymentStatus=" & CODE & " WHERE OrderID=" & ORDERID
how can I maintain all 6 numbers in the database?
thanks