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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set SQL Index in a Foxpro View 1

Status
Not open for further replies.

ntm0n

Programmer
Jun 22, 2001
30
US
I have tables on an MS SQL server and have created multiple index's on those tables. Now - how do I specify which index on the sql server I want the foxpro view to use?

Thanks!

Gary
 
You don't. Things are done differently in SQL Server. All access is via SQL statements. SQL Server will determine which index to use.

Craig
 
Hi Craig,

So if I create different index's say one is on a usernumber and another is on lastname, and I submit a view that does a select based on usernumber - the SQL server (MS) will automatically choose the correct index?
 
Yes.

Hi Craig, haven't seen you on this forum before.
and you probably don't recongnize my handle.

fluteplr = Jacob B.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top