SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Data Corruption Issues
 Data in Foreign table not reference primary table
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tahatran
Starting Member

Vietnam
1 Posts

Posted - 03/26/2012 :  23:38:02  Show Profile  Reply with Quote
My Data Error
Example:
Table: NHAP
—————
ID | DateTime |
—————
1 | 20/2/2012|
2 | 20/3/2012|

Table: NHAPCT
————-
ID | SL | DG
————-
1 | 2 | 200
1 | 2 | 500
2 | 20 | 400
3 | 30 | 700 <– This is Error

Pic:


My data has more than 70 tables and 50 FK. I want to test all FK.
which method. Thanks

Data:
http://www.mediafire.com/?z4azgwc2jwcx1om
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000