Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 26 Nov 2007 @ 23:59:36 GMT


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


Subj:   Re: Statistics in BT; ET;
 
From:   Fields, Dave A

The problem is that any DDL statement within a transaction must be the *last* statement in the transaction. In your example, COLLECT STATS, which is a DDL statement, isn't the last statement in the transaction, so you're getting an error.

COLLECT STATS is being changed to be a DML statement in either 13.0 or 13.1 just because of the sort of application you're talking about.



     
  <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