Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 06 Jul 2009 @ 11:54:09 GMT


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


Subj:   How to get "locking row for access" on child and parent query?
 
From:   Poddar, Gautam

Hi,

Can anyone tell me what is wrong with this query?

     Locking row For access On config_item_obs
     Select  *
     From
             csi.systemx
             Where   csi_system_num In
             (
     Select  csi_system_num
             From    config_item_obs
     Where
     config_item_class_name = 'SOFTWARE'
     )


     Locking row For access
     Select  *
     From
             csi.systemx
             Where   csi_system_num In
             (
             Locking row For access
     Select  csi_system_num
             From    config_item_obs
     Where
     config_item_class_name = 'SOFTWARE'
     )


     Locking row For access
     Select  *
     From
             csi.systemx
             Where   csi_system_num In
             (
             Locking row For access
     Select  csi_system_num
             From    config_item_obs
     Where
     config_item_class_name = 'SOFTWARE'
     )

Basically I am trying to achieve locking row for access on both the tables (csi.systemx, config_item_obs).


Thanks,

Gautam Poddar



     
  <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: 27 Dec 2016