Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use an index name in a query?

Status
Not open for further replies.

pvg

IS-IT--Management
Feb 17, 2000
12
US
I have created an index name in a table which has multiple fields in it that provides a unique key.  How do you use an index name in a query.
 
Please show a better example of what you mean. If you created an index you would have had to do that to an already named field. Just refer to the name of that field in your query<br>IE.. recordid is my index or key field<br><br>SELECT table1.ID<br>FROM table1<br>WHERE (((table1.ID)=1));<br><br><br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top