![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I would not be doing this manipulation against the text file. I often, if not always, find it easier/better to import into a working table and use TSQL to determine the good records. -- Allan Mitchell (Microsoft SQL Server MVP) MCSE,MCDBA www.SQLDTS.com I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Rathtap" <amcniw (AT) yahoo (DOT) com> wrote in message news:b21a5958.0307011015.480b4629 (AT) posting (DOT) google.com... I am importing data from a text file into a table. How can I prevent unique and foreign key constraints on the table from preventing the import? I do not want to uncheck the CheckConstraints checkBox in the TransformdataTaskproperties. I would ideally like the records that are causing errors to be skipped and logged or inserted into another table but the execution should go on. |
#3
| |||
| |||
|
|
I have also been reading about Multiphase Data Pump Functionality -- is this something that I could possibly use here? Any samples? "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote I would not be doing this manipulation against the text file. I often, if not always, find it easier/better to import into a working table and use TSQL to determine the good records. -- Allan Mitchell (Microsoft SQL Server MVP) MCSE,MCDBA www.SQLDTS.com I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Rathtap" <amcniw (AT) yahoo (DOT) com> wrote in message news:b21a5958.0307011015.480b4629 (AT) posting (DOT) google.com... I am importing data from a text file into a table. How can I prevent unique and foreign key constraints on the table from preventing the import? I do not want to uncheck the CheckConstraints checkBox in the TransformdataTaskproperties. I would ideally like the records that are causing errors to be skipped and logged or inserted into another table but the execution should go on. |
![]() |
| Thread Tools | |
| Display Modes | |
| |