Click here to Skip to main content
15,914,225 members
Home / Discussions / Database
   

Database

 
GeneralRe: How i can write query return the douplicate record with feffrint IDs ?! Pin
AJ Hoge6-Dec-09 23:30
AJ Hoge6-Dec-09 23:30 
AnswerRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
dan!sh 6-Dec-09 22:24
professional dan!sh 6-Dec-09 22:24 
GeneralRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
AJ Hoge6-Dec-09 23:39
AJ Hoge6-Dec-09 23:39 
GeneralRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
dan!sh 7-Dec-09 0:06
professional dan!sh 7-Dec-09 0:06 
GeneralRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
AJ Hoge7-Dec-09 0:41
AJ Hoge7-Dec-09 0:41 
GeneralRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
dan!sh 7-Dec-09 1:05
professional dan!sh 7-Dec-09 1:05 
GeneralRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
AJ Hoge7-Dec-09 2:05
AJ Hoge7-Dec-09 2:05 
AnswerRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
Luc Pattyn7-Dec-09 0:52
sitebuilderLuc Pattyn7-Dec-09 0:52 
All you need is a variation on SQL code shown by others. Try this:

SELECT	ID, otherfields FROM table
GROUP BY otherfields 
HAVING COUNT(*) > 1


i.e. don't use MAX(ID) or TOP(ID)
and include all fields ("otherfields") that are relevant for identity checking

Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


GeneralRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
AJ Hoge7-Dec-09 1:45
AJ Hoge7-Dec-09 1:45 
AnswerRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
puri keemti7-Dec-09 1:03
puri keemti7-Dec-09 1:03 
GeneralRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
AJ Hoge7-Dec-09 2:12
AJ Hoge7-Dec-09 2:12 
GeneralRe: How i can write query return the douplicate record with deffrint IDs ?! [modified] Pin
Blue_Boy7-Dec-09 2:43
Blue_Boy7-Dec-09 2:43 
AnswerRe: How i can write query return the douplicate record with deffrint IDs ?! Pin
Niladri_Biswas7-Dec-09 17:33
Niladri_Biswas7-Dec-09 17:33 
QuestionValidation Rule In SQL Server 2005 Pin
hussain.attiya6-Dec-09 21:09
hussain.attiya6-Dec-09 21:09 
AnswerRe: Validation Rule In SQL Server 2005 Pin
dan!sh 6-Dec-09 21:50
professional dan!sh 6-Dec-09 21:50 
GeneralRe: Validation Rule In SQL Server 2005 Pin
hussain.attiya6-Dec-09 21:59
hussain.attiya6-Dec-09 21:59 
AnswerRe: Validation Rule In SQL Server 2005 Pin
Mycroft Holmes6-Dec-09 22:36
professionalMycroft Holmes6-Dec-09 22:36 
GeneralRe: Validation Rule In SQL Server 2005 Pin
hussain.attiya6-Dec-09 23:02
hussain.attiya6-Dec-09 23:02 
GeneralRe: Validation Rule In SQL Server 2005 Pin
Mycroft Holmes6-Dec-09 23:50
professionalMycroft Holmes6-Dec-09 23:50 
AnswerRe: Validation Rule In SQL Server 2005 Pin
puri keemti7-Dec-09 1:04
puri keemti7-Dec-09 1:04 
AnswerRe: Validation Rule In SQL Server 2005 Pin
Niladri_Biswas7-Dec-09 17:42
Niladri_Biswas7-Dec-09 17:42 
QuestionCustom sort in SQL Server Pin
Ma tju6-Dec-09 18:36
Ma tju6-Dec-09 18:36 
AnswerRe: Custom sort in SQL Server Pin
Mycroft Holmes6-Dec-09 18:42
professionalMycroft Holmes6-Dec-09 18:42 
GeneralRe: Custom sort in SQL Server Pin
Ma tju6-Dec-09 18:48
Ma tju6-Dec-09 18:48 
AnswerRe: Custom sort in SQL Server Pin
Shameel6-Dec-09 23:37
professionalShameel6-Dec-09 23:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.