Click here to Skip to main content
15,899,314 members
Home / Discussions / Database
   

Database

 
GeneralRe: convert datetime Pin
Test27030729-Mar-07 1:52
Test27030729-Mar-07 1:52 
AnswerRe: convert datetime Pin
Chetan Patel29-Mar-07 21:00
Chetan Patel29-Mar-07 21:00 
QuestionSnap-in failed to initilize error on enterprise manager Pin
mohd imran abdul aziz28-Mar-07 21:02
mohd imran abdul aziz28-Mar-07 21:02 
QuestionDuplicate records Pin
Sophia Rekhi28-Mar-07 18:55
Sophia Rekhi28-Mar-07 18:55 
AnswerRe: Duplicate records Pin
jijoaresseriljose28-Mar-07 21:33
jijoaresseriljose28-Mar-07 21:33 
GeneralRe: Duplicate records Pin
Sophia Rekhi28-Mar-07 23:10
Sophia Rekhi28-Mar-07 23:10 
AnswerRe: Duplicate records Pin
Krish - KP29-Mar-07 1:46
Krish - KP29-Mar-07 1:46 
GeneralRe: Duplicate records [modified] Pin
jijoaresseriljose29-Mar-07 3:31
jijoaresseriljose29-Mar-07 3:31 
hi,
I thought, you wanted to delete all the dubplicated one including original,
Then do this in your query analyser.........

1 st step
----------
alter table table1 add [id] int identity

2nd step
----------
delete from table1
where [id]
not in
(select min([id]) from table1 group by col001)


it will delete all the duplicate records from table1

regards
Jijo Roll eyes | :rolleyes:


-- modified at 9:36 Thursday 29th March, 2007

jijo jose

AnswerRe: Duplicate records Pin
Krish - KP28-Mar-07 21:37
Krish - KP28-Mar-07 21:37 
AnswerRe: Duplicate records Pin
one_stone_zz28-Mar-07 23:21
one_stone_zz28-Mar-07 23:21 
Questionhow do i Decryption Store Procedure ...? Pin
PavanPareta28-Mar-07 3:50
PavanPareta28-Mar-07 3:50 
AnswerRe: how do i Decryption Store Procedure ...? Pin
Pete O'Hanlon28-Mar-07 4:36
mvePete O'Hanlon28-Mar-07 4:36 
AnswerRe: how do i Decryption Store Procedure ...? Pin
N a v a n e e t h28-Mar-07 22:38
N a v a n e e t h28-Mar-07 22:38 
GeneralRe: how do i Decryption Store Procedure ...? Pin
Pete O'Hanlon29-Mar-07 5:12
mvePete O'Hanlon29-Mar-07 5:12 
QuestionSelf referential join Pin
Johnny ²28-Mar-07 3:06
Johnny ²28-Mar-07 3:06 
AnswerRe: Self referential join Pin
DQNOK28-Mar-07 3:32
professionalDQNOK28-Mar-07 3:32 
GeneralRe: Self referential join Pin
Johnny ²28-Mar-07 17:04
Johnny ²28-Mar-07 17:04 
QuestionJob Pin
Navneet Hegde28-Mar-07 2:33
Navneet Hegde28-Mar-07 2:33 
AnswerRe: Job Pin
N a v a n e e t h28-Mar-07 22:40
N a v a n e e t h28-Mar-07 22:40 
GeneralRe: Job Pin
Navneet Hegde28-Mar-07 22:57
Navneet Hegde28-Mar-07 22:57 
AnswerRe: Job Pin
Tirthadip29-Mar-07 0:14
Tirthadip29-Mar-07 0:14 
GeneralRe: Job Pin
Navneet Hegde29-Mar-07 2:13
Navneet Hegde29-Mar-07 2:13 
QuestionMAX () function with INSERT INTO? Pin
Luka Grabarevic28-Mar-07 1:05
Luka Grabarevic28-Mar-07 1:05 
AnswerRe: MAX () function with INSERT INTO? Pin
Paddy Boyd28-Mar-07 1:20
Paddy Boyd28-Mar-07 1:20 
GeneralRe: MAX () function with INSERT INTO? Pin
Luka Grabarevic28-Mar-07 1:37
Luka Grabarevic28-Mar-07 1: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.