Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: PL/SQL
Expertise: Intermediate
Jun 26, 2007

When to use ORDER in Sequences in PL/SQL

You may need to use ORDER to force sequence numbers to be output in the order of request when you're using them for timestamping. Most of the time, your sequence numbers will be in order anyway. If you are using exclusive mode, for example, Oracle always generates sequence numbers in order; but if you're using Oracle with the Oracle Real Application Clusters option in parallel mode, you'll need to guarantee ordered generation by using the ORDER command.

Shraddha Pandya
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap