Auto Incrementarea Coloanelor Cu Ajutorul Secventei

Să presupunem că avem o bază de date și dorim ca fiecare intrare să fie identificată printr-un număr unic. Înaintea versiunii de bază de date Oracle 11g acest lucru era posibil doar cu ajutorul unui SELECT apelat într-un trigger. Această modalitate de incrementare necesită un swich de context de la motorul PL/SQL la motorul SQL.

create table test_table
(
id number primary key
);

Enmotech Blog

Specialized in Oracle Cloud Database ( DBaaS )

Another Oracle blog

Another blog about Oracle

Mathijs Bruggink

Tips Tricks and Blogs on Oracle

Oracle Romania

Simplify IT

Programat in Romania

Blogul industriei de software din Romania. Comunitate dezvoltatori

Dan Bârsan

The miracle is not that we do this work, but that we are happy to do it. I'm writing in Romanian and English

Romanian Oracle User Group

Focusing On Oracle Database Administration

Big Lazy SysAdmin

Adapt. Enjoy. Survive.

Inovat in Romania

Blogul industriei software din Romania

Talip Hakan Ozturk's ORACLE BLOG

The secret of success is at your fingertips!...

Uwe Hesse

about Database Technology

Enmotech Blog

Specialized in Oracle Cloud Database ( DBaaS )

Another Oracle blog

Another blog about Oracle

Mathijs Bruggink

Tips Tricks and Blogs on Oracle

Oracle Romania

Simplify IT

Programat in Romania

Blogul industriei de software din Romania. Comunitate dezvoltatori

Dan Bârsan

The miracle is not that we do this work, but that we are happy to do it. I'm writing in Romanian and English

Romanian Oracle User Group

Focusing On Oracle Database Administration

Big Lazy SysAdmin

Adapt. Enjoy. Survive.

Inovat in Romania

Blogul industriei software din Romania

Talip Hakan Ozturk's ORACLE BLOG

The secret of success is at your fingertips!...

Uwe Hesse

about Database Technology