Autoincrement Primary key in Oracle database

Posted by GigaPr on Stack Overflow See other posts from Stack Overflow or by GigaPr
Published on 2010-04-06T22:57:38Z Indexed on 2010/04/06 23:03 UTC
Read the original article Hit count: 188

Filed under:
|

Hi i would like to achieve something like

CREATE TABLE RollingStock
( 
      Id NUMBER IDENTITY(1,1),
      Name Varchar2(80) NOT NULL      
);

in Oracle

how do i do it ?

Thanks in advance

© Stack Overflow or respective owner

Related posts about Oracle

Related posts about sql