Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 07 Dec 2006 @ 14:03:21 GMT


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


Subj:   Re: Problem using Repeat SQL
 
From:   Geoffrey Rommel

  select 'REVOKE LOGON ON ALL FROM ' || :User_Name || ';' (title '');  


Just to clarify, the reason the original approach failed is that :host_variables are valid only where literals would be valid. The above statement would have been equivalent to

     REVOKE LOGON ON ALL FROM 'BOGART';

which obviously would not work.



     
  <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