More Related Content
More from Girija Muscut (20)
Part32 sequence using auto primary key
- 2. Dr. Girija Narasimhan
SQL> create sequence seqgirija
2 start with 1000
3 increment by 1
4 nocycle
5 nocache;
Sequence created.
SQL> create table girija(flowerid number(6) primary key,fname varchar2(25));
Table created.
- 4. Dr. Girija Narasimhan
SQL> select * from girija;
FLOWERID FNAME
---------- -------------------------
1000 lotus
1001 sunflower
1002 jasmine