Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 26 Jul 2011 @ 09:52:28 GMT

  <Prev Next>  
Next> Last>>  

Subj:   Update and commit
From:   Anomy Anom

<-- Anonymously Posted: Tuesday, July 26, 2011 -3:58 -->

Dear all,

I work with teradata 13

I have a table with no duplicate row, when I am trying to update

     update tableex

     an error occurred: 2802 duplicate row.

What I tried to do is writing a cursor to update the table row by row into a procedure, same error occurred. (but the update works for only 11 rows from 150 rows)

So I checked the table tableex I found it updated for the first 11 rows and the rest is not updated !!

How the commit works with teradata 13 ??

How could I rolleback or not commit when an update doesn t work correctly, because it is a big risk for me.

Thanks for your help.

  <Prev Next>  
Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023