Click here to Skip to main content
15,891,136 members
Home / Discussions / Database
   

Database

 
AnswerRe: Opening/Closing Connections - Efficiency Pin
PIEBALDconsult11-Nov-08 12:34
mvePIEBALDconsult11-Nov-08 12:34 
QuestionInfix to Postfix Conversion and Evaluation with SQL Query Pin
shine_paravur10-Nov-08 23:18
shine_paravur10-Nov-08 23:18 
AnswerRe: Infix to Postfix Conversion and Evaluation with SQL Query Pin
Ashfield11-Nov-08 0:19
Ashfield11-Nov-08 0:19 
Questionformula column Pin
ptvce10-Nov-08 22:48
ptvce10-Nov-08 22:48 
AnswerRe: formula column Pin
Mycroft Holmes11-Nov-08 1:22
professionalMycroft Holmes11-Nov-08 1:22 
AnswerRe: formula column Pin
Wendelius11-Nov-08 4:18
mentorWendelius11-Nov-08 4:18 
QuestionHOW TO REMOVE THE DUPLICATE ROWS IN THE TABLE Pin
harsha_mec34510-Nov-08 20:54
harsha_mec34510-Nov-08 20:54 
AnswerRe: HOW TO REMOVE THE DUPLICATE ROWS IN THE TABLE Pin
Ashfield10-Nov-08 21:10
Ashfield10-Nov-08 21:10 
You need to do it in steps.

select * into allrecs from table1 where 1 = 2  -- create any empty table
insert in to allrecs select * from table1      -- copy all your current data
truncate table table1                          -- clear your table
insert into table1 select dustinct * from allrecs -- now you just have unqiue records in your table
drop table allrecs


You may wnt to keep the allrecs table until you are satisfied you have not lost anything that you wanted.

Hope this helps

Bob
Ashfield Consultants Ltd

GeneralRe: HOW TO REMOVE THE DUPLICATE ROWS IN THE TABLE Pin
harsha_mec34510-Nov-08 21:26
harsha_mec34510-Nov-08 21:26 
GeneralRe: HOW TO REMOVE THE DUPLICATE ROWS IN THE TABLE Pin
Ashfield10-Nov-08 21:55
Ashfield10-Nov-08 21:55 
AnswerRe: HOW TO REMOVE THE DUPLICATE ROWS IN THE TABLE [modified] Pin
Wendelius11-Nov-08 4:34
mentorWendelius11-Nov-08 4:34 
GeneralRe: HOW TO REMOVE THE DUPLICATE ROWS IN THE TABLE Pin
Ashfield11-Nov-08 5:22
Ashfield11-Nov-08 5:22 
GeneralRe: HOW TO REMOVE THE DUPLICATE ROWS IN THE TABLE Pin
Jon_Boy11-Nov-08 5:29
Jon_Boy11-Nov-08 5:29 
GeneralRe: HOW TO REMOVE THE DUPLICATE ROWS IN THE TABLE Pin
Wendelius11-Nov-08 5:42
mentorWendelius11-Nov-08 5:42 
GeneralRe: HOW TO REMOVE THE DUPLICATE ROWS IN THE TABLE Pin
Ashfield11-Nov-08 9:06
Ashfield11-Nov-08 9:06 
JokeRe: HOW TO REMOVE THE DUPLICATE ROWS IN THE TABLE Pin
Wendelius11-Nov-08 10:06
mentorWendelius11-Nov-08 10:06 
QuestionDesign Help for Distributed Database System Pin
Saiyed Alam10-Nov-08 19:53
Saiyed Alam10-Nov-08 19:53 
QuestionData import Pin
postonoh10-Nov-08 9:36
postonoh10-Nov-08 9:36 
AnswerRe: Data import Pin
Mycroft Holmes11-Nov-08 1:20
professionalMycroft Holmes11-Nov-08 1:20 
GeneralRe: Data import Pin
postonoh19-Nov-08 10:27
postonoh19-Nov-08 10:27 
QuestionAppend the records to existing sp table Pin
soniasan10-Nov-08 6:49
soniasan10-Nov-08 6:49 
AnswerRe: Append the records to existing sp table Pin
Wendelius10-Nov-08 7:14
mentorWendelius10-Nov-08 7:14 
Question.Net OdbcConnection for Oracle Lite 40 ODBC Driver Pin
TheIdleProgrammer10-Nov-08 0:17
TheIdleProgrammer10-Nov-08 0:17 
AnswerRe: .Net OdbcConnection for Oracle Lite 40 ODBC Driver Pin
Wendelius10-Nov-08 5:25
mentorWendelius10-Nov-08 5:25 
GeneralRe: .Net OdbcConnection for Oracle Lite 40 ODBC Driver Pin
TheIdleProgrammer10-Nov-08 21:14
TheIdleProgrammer10-Nov-08 21:14 

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.