Comments on: New PL/SQL Feature in Oracle 11g: the use of sequence.nextval https://technology.amis.nl/2007/07/13/new-plsql-feature-in-oracle-11g-the-use-of-sequencenextval/ Friends of Oracle and Java Thu, 21 May 2015 20:49:51 +0000 hourly 1 http://wordpress.org/?v=4.2.2 By: Asif Momen https://technology.amis.nl/2007/07/13/new-plsql-feature-in-oracle-11g-the-use-of-sequencenextval/#comment-4778 Tue, 25 Sep 2007 09:18:14 +0000 http://technology.amis.nl/blog/?p=2268#comment-4778 Hi,

Karl is right. Oracle internally converts the assignment into equivalent SQL statement. Click here, to have a look at the test.

]]>
By: Asif Momen https://technology.amis.nl/2007/07/13/new-plsql-feature-in-oracle-11g-the-use-of-sequencenextval/#comment-4777 Mon, 24 Sep 2007 20:30:15 +0000 http://technology.amis.nl/blog/?p=2268#comment-4777 Hi,

Karl is right. Oracle internally translates the assignment into equivalent SQL statement. Read this for a test case.

Momen

]]>
By: Karl https://technology.amis.nl/2007/07/13/new-plsql-feature-in-oracle-11g-the-use-of-sequencenextval/#comment-4776 Thu, 19 Jul 2007 17:12:04 +0000 http://technology.amis.nl/blog/?p=2268#comment-4776 Hi,
i assume that ‘l_seq := oe.orders_seq.nextval;’ is translated/executed internally to ‘SELECT oe.orders_seq.nextval INTO l_seq FROM DUAL;’
did you trace it?

Karl

]]>
By: Patrick Sinke https://technology.amis.nl/2007/07/13/new-plsql-feature-in-oracle-11g-the-use-of-sequencenextval/#comment-4775 Fri, 13 Jul 2007 15:41:05 +0000 http://technology.amis.nl/blog/?p=2268#comment-4775 This is another small but good step in the right direction. I tried if it was possible to assign a sequence to the default expression of a column, but it appears this feature is really restricted to PL/SQL.
As I see it now, many features are small tweaks to pl/sql.

]]>