Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 13 Oct 2005 @ 09:06:19 GMT


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


Subj:   Re: BTEQ - Macros inside transactions
 
From:   Michael Larkins

If you want both statements to be part of the same transaction in BTEQ, change your code to this:

     exec macrotest ( 43213)
     ; insert into test values ('10',10);

In BTEQ, any time an SQL statement is on the same line as the semi-colon it is automatically part of the transaction. This has no impact in SQL Assistant.


Regards,

Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor



     
  <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