- Posts: 25
- Thank you received: 0
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question 0 post counts 1.5.8
16 years 3 months ago #38304
by rawkey
Replied by rawkey on topic Re:0 post counts 1.5.8
So for example, I need to run,
ALTER TABLE `jos_fb_announcement` DROP INDEX ( `id` ) ;
Is that right ?
Thanks
ALTER TABLE `jos_fb_announcement` DROP INDEX ( `id` ) ;
Is that right ?
Thanks
Please Log in or Create an account to join the conversation.
16 years 3 months ago #38305
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re:0 post counts 1.5.8
I'm sorry, I should have explained this better.
If you want to delete the INDEX you use this syntax:
If you want to delete the PRIMARY KEY you use this syntax:
As we've said on many occasions, you need to be extraordinarily careful because the slightest mistake and *pow* there goes the whole ball-game. It pays to really know what you're doing and, if you're unsure, do lots of reading up on the subject in Google.
If you want to delete the INDEX you use this syntax:
Code:
ALTER TABLE table_name DROP INDEX index_name
Code:
ALTER TABLE table_name DROP PRIMARY KEY
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
16 years 3 months ago #38306
by rawkey
Replied by rawkey on topic Re:0 post counts 1.5.8
ok thanks for the help will have a go and see how I get on, don't fear I have backed up! 
Thanks!
Thanks!
Please Log in or Create an account to join the conversation.
16 years 3 months ago #38737
by rawkey
Replied by rawkey on topic Re:0 post counts 1.5.8
Hi,
When I run
ALTER TABLE `jos_fb_announcement` DROP PRIMARY KEY (`id`);
I get an error, is the above correct ?
The error is,
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(`id`)' at line 1
SQL is version 5.0.58
Appreciate the help as I really need to get my site back up and running !
Thanks
When I run
ALTER TABLE `jos_fb_announcement` DROP PRIMARY KEY (`id`);
I get an error, is the above correct ?
The error is,
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(`id`)' at line 1
SQL is version 5.0.58
Appreciate the help as I really need to get my site back up and running !
Thanks
Please Log in or Create an account to join the conversation.
16 years 3 months ago #38738
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re:0 post counts 1.5.8
The correct syntax is
Code:
ALTER TABLE `jos_fb_announcement` DROP PRIMARY KEY;
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
16 years 3 months ago #38739
by rawkey
Replied by rawkey on topic Re:0 post counts 1.5.8
Hi,
I ran that and get,
#1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key
Thanks.
I ran that and get,
#1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key
Thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.222 seconds