F
Frank frank
Hello everybody,
I have an Access table with some fields set as text and I would like
to convert them to integer.
For some reason some values have wrongly been entered with chars, thus
ALTER TABLE my_table ALTER COLUMN my_field Integer
gives me a nice
Microsoft JET Database Engine error '80040e07'
Data type mismatch in criteria expression.
If I manually convert the field using Access, I get warned of possible
data loss, but the conversion takes place anyway.
How can I force the conversion using just SQL? Is there something like
an option "override errors" / "force conversion"?
Thanks
Frank
I have an Access table with some fields set as text and I would like
to convert them to integer.
For some reason some values have wrongly been entered with chars, thus
ALTER TABLE my_table ALTER COLUMN my_field Integer
gives me a nice
Microsoft JET Database Engine error '80040e07'
Data type mismatch in criteria expression.
If I manually convert the field using Access, I get warned of possible
data loss, but the conversion takes place anyway.
How can I force the conversion using just SQL? Is there something like
an option "override errors" / "force conversion"?
Thanks
Frank