Link to home
Start Free TrialLog in
Avatar of jes12345
jes12345

asked on

MS ACCESS find out field type using SQL

Is there some way to find out what type a field in a table is using SQL?

I have a table with a DOUBLE field. In code I then want to run an ALTER table and change it to INTEGER if it is DOUBLE.
Avatar of PeteEngineer
PeteEngineer
Flag of India image

Avatar of jes12345
jes12345

ASKER

Unfortunately not.. this is only describing how to do the ALTER command (which I already know)
ASKER CERTIFIED SOLUTION
Avatar of PeteEngineer
PeteEngineer
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the advises - is ADOX part of the standard .NET lib? I could not find it..
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No direct solution provided. However found alternative workaround to issue by setting a db schema version in the db