Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Question Creating a sequence

More
06 Jan 2016 13:36 #1 by Prudence
Prudence created the topic: Creating a sequence
Hello,
I use a few days stambia and I am trying to reproduce the utlisation tutorials manuals.
I want to know how to create an incremental-séquenceauto to put in a target datastore.
thanks for your help
More
08 Jan 2016 09:57 #2 by Thomas BLETON
Thomas BLETON replied the topic: Creating a sequence
Hello,

There can be several solutions.
Maybe you can rely on the database's functions.
For example with Oracle you can use an Oracle Sequence. With SqlServer you can use an Identity column. With MySQL you can use auto_increment, etc.

An idea with Oracle : create a Metadata Variable with a refresh query like "SELECT some_sequence.nextval FROM dual".

Feel free to share more details on what you need to do if the above does not help :)
More
12 Jan 2016 11:08 #3 by Prudence
Prudence replied the topic: Creating a sequence
thank you for your ideas, the problem was that I called a sequence that had not yet created