RE: error when creating FK constraint
quote: You've probably got a record in table XXX with a value in the ATC_LVL_4_CD column that's not in the RDM_ATC_LVL_4_LKUP.ATC_LVL_4_CD column. use this query to find out if this is true: select xxx.* from xxx left outer join RDM_ATC_LVL_4_LKUP on xxx.ATC_LVL_4_CD = RDM_ATC_LVL_4_LKUP.ATC_LVL_4_CD where RDM_ATC_LVL_4_LKUP.ATC_LVL_4_CD is null This will identify any records in the […]
2003-06-24