J
Joel Whitehouse
Hey Guys,
I want to create tables through ADO that have the exact same fields that
are in an existing table in my access 2003 .mdb file. I don't want to
copy any data from the old table to the new table, I just want to create
a new table with the same basic structure.
I tried using the following query to create a new table with the same
structure, but I get an error trying to run it:
"CREATE TABLE myNewTable LIKE myOldTable;"
When I run that query through ADO, I get them "Syntax error in CREATE
TABLE statement" trying to run it.
What other statement can I use to copy a table structure?
-Joel
I want to create tables through ADO that have the exact same fields that
are in an existing table in my access 2003 .mdb file. I don't want to
copy any data from the old table to the new table, I just want to create
a new table with the same basic structure.
I tried using the following query to create a new table with the same
structure, but I get an error trying to run it:
"CREATE TABLE myNewTable LIKE myOldTable;"
When I run that query through ADO, I get them "Syntax error in CREATE
TABLE statement" trying to run it.
What other statement can I use to copy a table structure?
-Joel