T
TDN
hello,
in a table i need to convert the field type of an existing
table. The source field has either "Numveric" or "Text"
type and has to be changed to "Text".
in mySQL I'd use
'ALTER TABLE "MyTable"
CHANGE "SourceField" "DesinationField" Char(6);'.
unfortunately, Access 97 does not understand the CHANGE
option of ALTER TABLE. does anyone know a way to emulate
this behaviour to have the type conversion done?
Note:
i've tried a "Make Table" query with the statement
SELECT Str("SourcField") As "DestinationField";
but this only works with "Numeric" SourceFields. It
produces an error and loss of data if the SourceField is
of "Text" type, so this is no solution, either.
any comments really appreciated! I'd hate to give in to
Access...
thanks
TDN
in a table i need to convert the field type of an existing
table. The source field has either "Numveric" or "Text"
type and has to be changed to "Text".
in mySQL I'd use
'ALTER TABLE "MyTable"
CHANGE "SourceField" "DesinationField" Char(6);'.
unfortunately, Access 97 does not understand the CHANGE
option of ALTER TABLE. does anyone know a way to emulate
this behaviour to have the type conversion done?
Note:
i've tried a "Make Table" query with the statement
SELECT Str("SourcField") As "DestinationField";
but this only works with "Numeric" SourceFields. It
produces an error and loss of data if the SourceField is
of "Text" type, so this is no solution, either.
any comments really appreciated! I'd hate to give in to
Access...
thanks
TDN