Top "Sequences" questions

A sequence is an ordered list of objects (or events).

How to write the Fibonacci Sequence?

I had originally coded the program wrongly. Instead of returning the Fibonacci numbers between a range (ie. startNumber 1, endNumber 20 should = …

python fibonacci sequences
List all sequences in a Postgres db 8.1 with SQL

I'm converting a db from postgres to mysql. Since i cannot find a tool that does the trick itself, i'm …

sql database postgresql migration sequences
How would you implement sequences in Microsoft SQL Server?

Does anyone have a good way of implementing something like a sequence in SQL server? Sometimes you just don't want …

sql sql-server database sequences
Distributed sequence number generation?

I've generally implemented sequence number generation using database sequences in the past. e.g. Using Postgres SERIAL type http://www.…

java apache-zookeeper sequences
Sequence-zip function for c++11?

With the new range-based for loop we can write code like for(auto x: Y) {} Which IMO is a huge …

c++ c++11 sequences
How can I merge two sequences in clojure?

What is an idiomatic way to merge (or retrieve the union of) two lists (or sequences) in Clojure? (merge l1 …

clojure sequences
Python: check if an object is a sequence

In python is there an easy way to tell if something is not a sequence? I tried to just do: …

python if-statement sequence sequences
Auto-increment in Oracle without using a trigger

What are the other ways of achieving auto-increment in oracle other than use of triggers?

oracle triggers auto-increment sequences
How can I remove an item from a sequence in Clojure?

First, I assume each structure-specific sequences would have different ways to remove an item: Vectors could be by index, List …

clojure sequences
Is there a way to get pg_dump to exclude a specific sequence?

I want to exclude a sequence from my pg_dump command which is putting the output into a plain file. …

postgresql sequences pg-dump