Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 17 Apr 2003 @ 16:35:28 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   Enforcing Referential Integrity
 
From:   Anomy Anom

<-- 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.

Thanks!



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023