Questions tagged [duplicate-data]

354 questions
1
vote
1 answer

can't catch exception in codeIgniter

Sorry for my english but please i need help i have a problem when i'm trying to catch an insert query i have a table Employe with 3 primary keys (Matricule , CIN , name) i want to catch the exception when i add a new employe with duplicated…
bouchnina
  • 11
  • 1
  • 4
1
vote
2 answers

How can I distinguish between visitor's referrers with PHP strings, without allegedly creating duplicate content?

I want to construct a website I'm building in a way that would distinguish between visitors coming from organic sources (e.g, Google search), and paid sources (e.g, Google adwords). Whenever a visitor would perform some sort of action, it would…
rockyraw
  • 1,125
  • 2
  • 15
  • 36
1
vote
3 answers

Abstracting NSManagedObject and NSDictionary

In my project I have some objects that I show from a server, lets call them Foo's. When I get my Foo feed, I parse them into a NSMutableDictionary subclass called RemoteFoo, and pass these RemoteFoo objects all around the app to display data. If…
coneybeare
  • 33,113
  • 21
  • 131
  • 183
1
vote
2 answers

Comparing two sets of cells within a row and highlighting same-row duplicates in Excel

I've got a somewhat specific task I'm trying to accomplish in Excel that appears to be beyond my depth. I've got a dataset with two five-word lists per each row/observation, like this example: What I'm hoping to accomplish is to highlight all of…
1
vote
1 answer

Handling duplicated array elements

I am in trouble handling duplicated elements in arrays. For example, in the problem of finding all pairs of integers within an array which sum to a specified value, here is my implementation: vector> find_all_pairs_with_sum(int…
herohuyongtao
  • 49,413
  • 29
  • 133
  • 174
1
vote
2 answers

Printing overlapping points ggplot2 Time series data

I am plotting start and end times of some data logging. Below is the data frame I am working with rather I have produced. Essentially I have 2 loops that run through my data looking for the start and end times each loop produces a data frame that is…
ZDwhite
  • 61
  • 8
1
vote
3 answers

Updating of duplicate records

I want to update the postal code for the same customers based on their latest purchase date. Customer_code Postal_code last_purchase_date 12345 444555 20130131 12345 444555 20130131 12345 …
1
vote
0 answers

PHP Memcached duplicated record

We using memcached + PHP and have a single server environment. We are using dirty and persist(commit) method to update the data to DB. The problem is we found the record duplicated twice in DB occasionally. The code to update dirty are…
Chris
  • 47
  • 6
1
vote
1 answer

I am trying to duplicate an activerecord record, but receive NoMethodError - undefined method

Forgive my ignorance but I am quite new to RoR. I am working on a project where users are able to duplicate a post in order to edit this "cloned version" and to save it (with a new post id, of course). First I tried to use the Amoeba gem described…
YvonC
  • 329
  • 2
  • 6
  • 22
1
vote
1 answer

Dealing with duplicated data in MPEG2-TS

I'm using a setup in which I receive duplicated datagrams using UDP-based video streaming with VLC. I wanted to know if there's some field in MPEG-TS (ISO/IEC 13818-1) which I can use for detecting duplicated data and therefore discard it until it…
progloverfan
  • 155
  • 2
  • 13
1
vote
3 answers

How to retain a row which is foreign key in another table and remove other duplicate rows?

I have two table: A: id code 1 A1 2 A1 3 B1 4 B1 5 C1 6 C1 ===================== B: id Aid 1 1 2 4 (B doesn't contain the Aid which link to code C1) Let me explain the overall flow: I want to make…
Mithril
  • 12,947
  • 18
  • 102
  • 153
1
vote
2 answers

MySQL ManyToMany show duplicate rows

Please help write query. I have three tables: +-------------------+ | Patient | | PatientPhysician | | Physician | +-------------------+ Find Patients whose FirstName, LastName and DoB within one the PhysicianOrganizationId are…
Anton Dozortsev
  • 4,782
  • 5
  • 34
  • 69
1
vote
1 answer

check duplicate data with javascript

i am writing web application in asp.net . i have a input form . i want when the client click on save Button before insert, check this data is in data base or not . i have written it with code behind . but i want do this with java script because when…
1
vote
2 answers

How to remove duplicate(fields) entries from a mysql db?

I want to remove duplicate records of table in MySQL database. In that image id is auto increment but i want customer_invoice_id unique but want to delete duplicate record. E.G i want to delete 1104 record, but now i delete 1105 which is latest…
Tony Stark
  • 8,064
  • 8
  • 44
  • 63
1
vote
2 answers

Remove Duplicate Values from Field in MySQL Table

I'm after some help putting together a query to remove duplicate data in a specific field in one of my tables. I have a table called contacts that I need to import in to another system. The new system requires that the email field be unique. I need…
Gareth Daine
  • 4,016
  • 5
  • 40
  • 67