Hi folks,
i have and access table that is loded from an excel table. i have to change a column name using vbs and sql. i tried the RENAME command, and it didn't work. the add column function works, and i can add columns. but not the REAME command. anybody knows why this is not working?
here's the code.
commandstring = "ALSTER TABLE May_data RENAME old_col TO new_col;"
objConnection.Execute commandstring
thanks.
i have and access table that is loded from an excel table. i have to change a column name using vbs and sql. i tried the RENAME command, and it didn't work. the add column function works, and i can add columns. but not the REAME command. anybody knows why this is not working?
here's the code.
commandstring = "ALSTER TABLE May_data RENAME old_col TO new_col;"
objConnection.Execute commandstring
thanks.