The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
[sql]ALTER TABLE `sometable` ADD INDEX (`someid`)[/sql]
any idea why i get an sql error? to create it, i used: [sql]ALTER TABLE `sometable` DROP INDEX (`someid`)[/sql] i also tried this way: [sql]ALTER TABLE sometable ADD INDEX (someid)[/sql] and: [sql]ALTER TABLE sometable DROP INDEX (someid)[/sql] |
|
#2
|
||||
|
||||
|
the error i get is this:
Quote:
[sql]DROP INDEX (someid) ON sometable[/sql] |
|
#3
|
||||
|
||||
|
ALTER TABLE sometable DROP INDEX someid
|
|
#4
|
||||
|
||||
|
i tried that to. it wont work freddie... i get an error like is not there:
Quote:
[sql]ALTER TABLE sometable ADD INDEX (someid)[/sql] |
|
#5
|
||||
|
||||
|
What Freddie posted worked for me. Just make sure what you are dropping has been INDEXed.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|