Archives of the TeradataForum
Message Posted: Thu, 17 Apr 2003 @ 16:35:28 GMT
<-- Anonymously Posted: Thursday, April 17, 2003 12:33 -->
If you have a foreign key constraint defined that references a Primary Key column of the parent table, how does Teradata do the lookup at the Parent table to check for existence of a Parent row before inserting a new row into the Child table?
Does it use the PK index or does it do a full table scan? Any information on this is appreciated. I couldn't find much in the documentation on what approach does Teradata take.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 23 Jun 2019|