Andrew
2009-07-07 16:04:39 UTC
Hello,
I have a database that is bulk loaded via BCP scripts (via talend,
actually). This is to migrate data from a legacy system to our new
system. There are dozens of tables and millions of rows in some of
them. During the load we have referential integrity turned off.
I have discovered today that a small amount of the data violates the
referential integrity constraints, which are restored once the
migration has completed. How can I find out what data violates the
constraints please? Is there some general purpose tool that can do
this? Obviously it would have to be specific to sybase since it would
have to use the sybase data dictionary.
Regards,
Andrew Marlow
http://www.andrewpetermarlow.co.uk
I have a database that is bulk loaded via BCP scripts (via talend,
actually). This is to migrate data from a legacy system to our new
system. There are dozens of tables and millions of rows in some of
them. During the load we have referential integrity turned off.
I have discovered today that a small amount of the data violates the
referential integrity constraints, which are restored once the
migration has completed. How can I find out what data violates the
constraints please? Is there some general purpose tool that can do
this? Obviously it would have to be specific to sybase since it would
have to use the sybase data dictionary.
Regards,
Andrew Marlow
http://www.andrewpetermarlow.co.uk