|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Declaring smallint
Is there a way to declare a variable as smallint instead of just integer in VB? I am having trouble inserting a variable into a SQL table that has a field declared as smallint.
Thanks, Ralph |
|
#2
|
|||
|
|||
|
VB doesn't have a smallint datatype afaik. Maybe there is some issue with your sql?
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
If you are using SQL, the SQL works with a string like "insert into TABLE values('1',345)"
There is no type but the string or a value (with the string quoted). How are you inserting the data with SQL? |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Declaring smallint |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|