Try this command: alter table Blah alter column colm smallint
.
Make sure that the rows do not contain large numbers.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello
I work with Access mdb with OleDbRader (Access Database Engine) in vb.net and need to set the data type to Integer (NOT Long Integer) so:
Dim cmd As New OleDbCommand("ALTER TABLE Blah ALTER Column colm ???", connection)
cmd.ExecuteNonQuery
Please advise what to write instead of ??? to set to Int32 , shows as Integer in Access.
Thanks
Try this command: alter table Blah alter column colm smallint
.
Make sure that the rows do not contain large numbers.