home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.theory
- Path: sparky!uunet!dscares!neptune!cdk
- From: cdk@neptune.dsc.com (Colin Kelley)
- Subject: ordered collections
- Message-ID: <cdk.715362552@neptune>
- Sender: news@dscares
- Nntp-Posting-Host: neptune.dsc.com
- Organization: Digital Sound Corporation
- Date: Tue, 1 Sep 1992 15:49:12 GMT
- Lines: 19
-
- Recently someone posted a question about implementing FIFO queues in a
- relational database. I'm interested in something even more basic: ordered
- collections.
-
- Is there a standard way to implement ordered collections in a relational
- database that would allow for random insertion? You could always have a
- sequence number field to remember the ordering, but if you want random
- insertion, you may run out of bits in this sequence number and not be able
- to insert a new entry between two others.
-
- As an example, this problem could come up if you were writing a text editor
- which kept each line of text in a relational database.
-
- Thanks for any suggestions!
-
- -Colin Kelley, Digital Sound Corporation
- cdk@dsc.com
- (805) 566-2000 x3175
- --
-