dbTalk Databases Forums  

Verifying Index Created

comp.databases comp.databases


Discuss Verifying Index Created in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ewijaya
 
Posts: n/a

Default Verifying Index Created - 04-23-2007 , 07:46 AM






How do you check if an index has been sucessfully created?
For example under mysql:

mysql > alter table TABLE_A add index (Field1);

is successful?

because using "describe" doesn't seem to show
the effect of the changes.

--
Regards,
Edward


Reply With Quote
  #2  
Old   
Hugo
 
Posts: n/a

Default Re: Verifying Index Created - 04-23-2007 , 07:51 AM






ewijaya wrote :

Quote:
How do you check if an index has been sucessfully created?
mysql > alter table TABLE_A add index (Field1);
"mysql > show index from TABLE_A;"

For more complete informations, you could also try:

"mysql > show create table TABLE_A;"

--
Hugo


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.