Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Do not insert a record into a table with a foreign key. - topic by DTV

$
0
0
  We get error when we insert record into the table with foreign key on column  «KEY»:   create table t1 ("KEY" integer not null primary key); create table t1_1 ("VERSION" integer not null primary key, "KEY" integer not null, constraint C_FK1 foreign key("KEY") references WITH CHECK OPTION t1("KEY") ); insert into t1("KEY") values (1); insert into t1_1("VERSION","KEY") values (1,1);

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>