Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 16 Mar 2012 @ 08:52:44 GMT


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


Subj:   Locking within views
 
From:   Maheswar Kothapalli

Dear all,

Please look at the below mentioned issue,

i) What is the difference between locking table with views and without locking table with views?

          REPLACE   VIEW  SUPPORTDB.VIEW_TEST_WITHLOCK
          AS
          LOCKING TABLE  SUPPORTDB.LOCK_TEST FOR ACCESS
          SELECT * FROM  SUPPORTDB.LOCK_TEST;


          REPLACE  VIEW  SUPPORTDB.VIEW_TEST_WITHOUTLOCK
          AS SELECT *  FROM  SUPPORTDB.LOCK_TEST_2;

ii) I would like to apply the lock to particular table so no one can be accessed?


Thanks & Regards,

Mahesh Kothapalli
CTPDW-Support Team



     
  <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