Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 28 Feb 2014 @ 17:14:34 GMT


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


Subj:   Re: DBQL queryband column population for individual stored procedure DML statements
 
From:   Frydryszak, Marek

Queryband for session is not supported in SPL.

Set query_band statement in Teradata mode is transaction itself, so you should use:

     BT;
     Set query_band ... for transaction;
     < some other SQLs>
     ET;

You can also enforce multistatement:

     begin request
     Set query_band ... for transaction;
     < some other SQLs >
     end request;


     
  <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