Hello Michael, > The foreign key constraint on T_OEPNV_HST_LIN.HST_NR > references the wrong field in T_OEPNV_HST. Since you didn't > specify a field, it's referencing the primary key HST_ID > instead of HST_NR.
OK. Now I know what's wrong. I thought (for some reason) that if the columns have the same name, I would not have to reference an explicit column by it's name. Thanks (as well to gnari who pointed me to the same issue), Bjoern. ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings