Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 26 Sep 2003 @ 18:02:15 GMT


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


Subj:   Re: Locking issue with views
 
From:   Tressler, Dara C.

Put lock after create view portion and before the select.

for example:

CREATE VIEW somedb.someview (a,b,c)
AS LOCK somedb.sometable FOR ACCESS
SELECT a,b,c
FROM somedb.sometable ;



     
  <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