I'm sure some of you experts can help me with this one :
My SQL Server 7 table contains COLx defined as type int, size=4
Using Enterprise Manager, I am able to 'manually' key-in values as large as 8888888 or so into COLx.....and SQL Server/Enterprise Manager stores the value, no error.
My problem is that the VB program gives an "Overflow Error"
when it reads COLx if it's value exceeds 32767 (32 K)
I need to store and process values at least as large as
99999.
QUESTIONS:
- Is there any way I can store values that exceed
32767 without converting my table, using a different dataType?
- Why the inconsistency/incompatability between VB data types and SQL Server 7 data Types?
Thanks for you suggestions.
John
My SQL Server 7 table contains COLx defined as type int, size=4
Using Enterprise Manager, I am able to 'manually' key-in values as large as 8888888 or so into COLx.....and SQL Server/Enterprise Manager stores the value, no error.
My problem is that the VB program gives an "Overflow Error"
when it reads COLx if it's value exceeds 32767 (32 K)
I need to store and process values at least as large as
99999.
QUESTIONS:
- Is there any way I can store values that exceed
32767 without converting my table, using a different dataType?
- Why the inconsistency/incompatability between VB data types and SQL Server 7 data Types?
Thanks for you suggestions.
John