Circular Reference SQL Server "For Replication"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Circular Reference SQL Server "For Replication"

André VICENTE
Anbody knows how to insert rows using DBUnit in a Table that has
circular reference with Foreign Keys with "For Replication" option?

Thanks,

André

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
dbunit-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dbunit-user
Reply | Threaded
Open this post in threaded view
|

Re: Circular Reference SQL Server "For Replication"

André VICENTE
Column Y reference to Column X

Column x Column y
1               2
2               3
3              null

The solution was:
Column x Column y
3              null
2              3
1              2

On Thu, May 5, 2011 at 11:11 AM, André Abe Vicente <[hidden email]> wrote:
Anbody knows how to insert rows using DBUnit in a Table that has
circular reference with Foreign Keys with "For Replication" option?

Thanks,

André


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
dbunit-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dbunit-user