Questions tagged [duplicate-data]
354 questions
-2
votes
1 answer
Checking for duplicates with ResultSet.getString
May I know the best way to validate a variable by checking if there are any duplicates in my database?
I've tried several different ways already, but whenever the first if condition is not fulfilled, a blank page would be shown
Edit: I've thought…

Ashton
- 43
- 1
- 3
- 14
-2
votes
2 answers
Duplicate data issue android sqlite
I am creating an app in which people give scores to other persons. For that, I want to insert names of some person (say 5) to a database during installation of the app. Now the when I run the app first time everything goes fine. But when I run it…

Decoder
- 1
- 4
-2
votes
2 answers
Finding duplicate in SQL Server Table
I have a table
+--------+--------+--------+--------+--------+
| Market | Sales1 | Sales2 | Sales3 | Sales4 |
+--------+--------+--------+--------+--------+
| 68 | 1 | 2 | 3 | 4 |
| 630 | 5 | 3 | 7 | 8…

Ahmed
- 5
- 3
-2
votes
1 answer
android duplicating one dynamic child view in listview on action mode copy click
In listview, i am looking to create an action(eg. COPY) that will duplicate a selected view (with a new ID) in a list of objects. The view must be created next to the selected view. Any idea?
Here is my adapter
public class Test extends BaseAdapter…

User0802
- 49
- 1
- 10
-2
votes
1 answer
Scanning duplicate data into android sqlite product database
I created an android product database using zxing as shown here Creating Product Database with zxing barcode scanner adding data to database issue
I modified the pages so that when a product is scanned twice the app shows a message box saying…

ndiaAnirudh Nair
- 29
- 1
- 6
-3
votes
3 answers
Comparing arrays with identical values
$array1 = array(1,1,1);
$array2= array(1,5,9,2,2,1);
I need to compare $array2 with $array1 and if $array2 has the same identical values should return true, otherwise should be returning false. In this case it should return false

Rz --
- 13
- 3
-3
votes
4 answers
Finding duplicate numbers in array
The problem with this code is that it will print out 5 9 9, instead of just 5,9. Because there is a third 9 in the array. What am I missing?
Edit: I need to write a function that will get the duplicates from the array given. I am trying to do this,…

Adam
- 3
- 1
- 1
- 4
-5
votes
1 answer
C++ file output duplicated
So basically I'm supposed to make a database like application in c++. The problem I have is when I try to save/read from the .txt files I've created.
Classes definitions and output functions:
file:table.h
#ifndef TABLE_H__
#define…

bf16
- 37
- 1
- 9
-5
votes
1 answer
Duplicate Phone number
Because of poor data entry policies, there are a lot of duplicate phone numbers to the same customers.
I need to write a query that will list all customers with the same phone number.
Thanks for your help.

Dafna
- 1
- 2