Make Table Query - Adding Primary Key and Index

G

Guest

How do you add (in run-time) primary key and indexing to a table (during
creation or after creation) when it has been created through a make-table
query? Either from a designed query or VBA SQL statement.
 
G

Guest

I wouldn't recommend doing that. Instead create an Append query so that you
can setup the table prior tho the append. A maketable is just for dumping
temp data so why bother adding indexes to them. Create the table, set the
key, add indexes and append the records you want from the query you use to
make the maketable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top