Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Wed, 16 Jan 2008 @ 16:38:11 GMT





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




Subj:   Generating new value every time INSERT work
 
From:   prahlad.patidar



Guys,

I have got a requirement where I have to generate a unique value when inserting into a column/table.

IDENTITY column can be a good solution but we need to reset the value every time a new INSERT works on the table.

My table is an intermediate table and gets deleted daily and new data is inserted.

So is it possible to reset value of IDENTITY column so it awlways start with 1.

Any suggestion in this regard would be grealy appreciated.


regards

Prahlad





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