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

problem with index

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0

hi friends


1.create index myindex1 table(column1)

2.create index myindex2 table(column2)

i have created two index .

i have to open inden .how i can open index??

thanks & regard
m.a.khaleel

 
I sql server you do not open indexes. The server uses them as needed. If what you are trying to do is view the table in a sorted order you will need to do a select with an order by clause.
 
I think u wanna see whether the index you created is being used or not, if that is the case then write a query in sql analyser using those tables (add an order by clause on the column name you indexed) and click 'show execution plan' under query tab, it will show you whether the index created is being used or not.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top