Re: Deleting Duplicated Records

2002-04-10 Thread Keith C. Ivey
On 10 Apr 2002, at 12:16, Jeffrey Flowers wrote: > Perhaps having a column in my > database with a serialized, unique record number would be a way to prevent > this in the future? That would allow you to delete just one of the duplicates (which you also do with LIMIT 1 on your DELETE query), bu

Re: Deleting Duplicated Records

2002-04-10 Thread Jeffrey Flowers
>You are 100% correct. > >Since MySQL does not support "cursors", I always >put an auto_increment column in my tables for just >this purpose. > >(This is what other DBMS' do, they just do it behind >your back) You're right. I use DBase IV at work and every record has an internal record number. >

RE: Deleting Duplicated Records

2002-04-10 Thread Kenneth Hylton
Sent: Wednesday, April 10, 2002 11:16 AM To: [EMAIL PROTECTED] Subject: Deleting Duplicated Records I am new to MySQL and I have a test database that I am playing with. Through an accident while playing around, I ended up with two identicle records in the database. I did a filter to try and ch

Deleting Duplicated Records

2002-04-10 Thread Jeffrey Flowers
I am new to MySQL and I have a test database that I am playing with. Through an accident while playing around, I ended up with two identicle records in the database. I did a filter to try and change just one of them but both would come up, so I couldn't see how I was supposed to delete just one of