Create a non-unique index on a table

G

Guest

Could someone please tell me what the correct SQL syntax is to create a
NON-unique index (ascending) on a field in an existing AccessXP table?

Thanks much in advance.
 
M

Marshall Barton

quartz said:
Could someone please tell me what the correct SQL syntax is to create a
NON-unique index (ascending) on a field in an existing AccessXP table?


Execute an SQL DDL statement:

CREATE INDEX index ON table (field ASC)

or you could do it with an ALTER TABLE statement. See Help
- Contents - SQL Reference - Data Definition Language.
 

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