Results 1 to 8 of 8
-
24th Dec 2011, 03:20 PM #1OPBannedWebsite's:
WarezRelease.org ThatHosting.coDupe sql records
mind the scribbles in the SS, i iz not good freehand btw
how to remove dupes, iv fixed the mod tht did thisChris2k Reviewed by Chris2k on . Dupe sql records mind the scribbles in the SS, i iz not good freehand btw http://i.lulzimg.com/6fea8e0350.png how to remove dupes, iv fixed the mod tht did this Rating: 5
-
24th Dec 2011, 03:21 PM #2BannedWebsite's:
KWWHunction.comHit the red delete button
-
24th Dec 2011, 03:29 PM #3OPBannedWebsite's:
WarezRelease.org ThatHosting.cofucking genious bro i no0t doing tht as theirrs lijjke 150+ records
-
24th Dec 2011, 03:40 PM #4Respected Member
Then you have to give us the table layout so we can give you the correct command or script.
-
24th Dec 2011, 03:44 PM #5Retired NinJaWebsite's:
loledhard.comFIRST OF ALL BACKUP UR DB
well am not sure, I thought about
delete table_name where id not in (select distinct id from table_name)
but then i thought it wont distinct out "sitename" field
let me think someway out...if I couldnt do it via query we would design a php code to do it which would make it easy tbh
You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!
-
24th Dec 2011, 04:07 PM #6OPBannedWebsite's:
WarezRelease.org ThatHosting.codone it, luckily i backed upv da table 18 hours ago
-
24th Dec 2011, 05:00 PM #7Respected Member
You can't delete from a table in a select from the same table. Mysql won't allow it.
You should never offer a novice mysql commands without knowing the exact table and field names involved in the command.......
Especially ones that you are not sure and have not tested on your test table!!!!!!!!!!!
-
25th Dec 2011, 04:37 AM #8Respected MemberWebsite's:
DL4Everything.com Soft2050.in1. Backup the database (in case any problem occurs, though we would be already backing up the database in this way too)
2. Rename the table to old_backup (Dont forget to keep your site offline for the timebeing)
2. Open PHPMYADMIN --> Select the table and execute this query:
PHP Code:CREATE TABLE `original_table_name_here` as SELECT * FROM `renamed_name` WHERE 1 GROUP BY `url`
I have tested doing same with DLE script to remove fucking duplicate posts. And it did worked successfully.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Understanding MX Records - I need help
By water-works in forum Webmaster DiscussionReplies: 2Last Post: 21st Aug 2012, 07:23 PM -
How/where to get unlimited or a lot of A Host records?
By LEVAC109 in forum Webmaster ResourcesReplies: 5Last Post: 30th Apr 2012, 10:15 AM -
Understanding MX records
By Albert.Nawaro in forum Tutorials and GuidesReplies: 0Last Post: 9th Feb 2012, 11:26 AM -
Please help me changing MX Records
By Jason_weds_Freddy in forum Technical Help Desk SupportReplies: 6Last Post: 1st Apr 2011, 08:09 PM -
A records
By GoPantheoN in forum Technical Help Desk SupportReplies: 2Last Post: 13th Aug 2010, 01:58 PM
themaManager - edit and manage...
Version 4.18 released. Open older version (or...