Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 11 Sep 2003 @ 20:40:03 GMT


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


Subj:   Re: Generate a serial number like IDENTITY in Sybase
 
From:   Dieter Noeth

Anomy Anom wrote:

  How to generate a serial number like IDENTITY in Sybase  



If you're running V2R5 there's an Identity/sequence:

create table...
col integer generated by default as identity (options)

If not, you'll have to use an INMOD during Mload/Fastload or use OLAP-functions during insert/select.


Dieter



     
  <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