with import you can give CONSTRAINTS=N
------------------------------------ Make a FREE long distance call from your PC! http://www.eboom.com/free/ ----- Original Message ----- To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]> Sent: Thursday, November 01, 2001 08:50 PM > I am trying to import data into a database, but it keeps skipping rows > because of constraints. So I want to disable the constraints, import the > data and then enable the constraints again. > > Can I do this? or is there another way to go about it? > > Thanks > > -----Original Message----- > Sent: Friday, 2 November 2001 3:30 PM > To: Multiple recipients of list ORACLE-L > > > Namaskar !! > > alter table table_name disable constraint cons_name; > you could generate sql's to generate these .. > > select 'alter table '||table_name||' disable constraint > '||constraint_name||';' > from all_constraints > where constraint_type in ('C','R') > / > > later you could replace the DISABLE with ENABLE and.... .. > > regards > > > > > ---------- > > From: Sujatha Madan[SMTP:[EMAIL PROTECTED] ] > > Reply To: [EMAIL PROTECTED] > > Sent: Friday, November 02, 2001 11:15 AM > > To: Multiple recipients of list ORACLE-L > > Subject: Constraint Enable/Disable > > > > Hi, > > Is there a way to disable all constraints, and then enable them all again? > > Thanx > > Sujatha > > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: Rahul > INET: [EMAIL PROTECTED] > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 > San Diego, California -- Public Internet access / Mailing Lists > -------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: Sujatha Madan > INET: [EMAIL PROTECTED] > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 > San Diego, California -- Public Internet access / Mailing Lists > -------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Nikunj Gupta INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
