Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Thu, 02 Jun 2005 @ 21:09:52 GMT





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




Subj:   Updating with Volatile Table
 
From:   Kambhoji, Naveen Ram Prasanna



Hi Group,

I am running a bteq which creates a volatile table called TMP_UNIQUE_TXN_ID and this is being used in the following update statement.

     UPDATE STG_SMS_MMS_SEND_RECV_RES
     SET TXN_ID=TMP_UNIQUE_TXN_ID.TXN_ID
     WHERE
     STG_SMS_MMS_SEND_RECV_RES.UNIQUE_ID = TMP_UNIQUE_TXN_ID.UNIQUE_ID
     AND STG_SMS_MMS_SEND_RECV_RES.SOURCE = 'M';

This update works fine most of the time but sometimes it comes out with error code 8. Is there anything wrong in the Update statement. Pls help me out.

-- Prasanna.K





     
  <Prev Next>  
<<First
<Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008