Back to the month index |
Back to the list index
|
Jalon Q. Zimmerman (jalonz@hermesnet.net)
Tue, 07 Jan 1997 21:39:03 -0500
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Gary Bickford: "Re: [mSQL] ORDER BY + _rowid == bug?"
- Previous message: Tom Straub: "Re: [mSQL] msql 2 beta 2 bug"
Message-Id: <1.5.4.32.19970108023903.0069c844@hermesnet.net> Date: Tue, 07 Jan 1997 21:39:03 -0500 From: "Jalon Q. Zimmerman" <jalonz@hermesnet.net> Subject: [mSQL] sequence numbersThis is probably fairly obvious to most but it escapes me...
I want to assign each record in a table a unique id number basically for use
as a primary key. It would be very handy to have an autoincrementing number
handled by the database engine. Is this the same thing as the new _seq feature?
I understand that I can create a sequence, and it will return an incremented
number every time I call _seq in that table. Is this value used to implement
an autoincrementing id?
Does the _seq value never get called except when I specifically call it?
What happens when in the course of adding and deleting records the _seq
value gets to be very large and possibly out of range? What are the methods
people are using to fill in the holes left by deleted records?
Sincerely,
Jalon Q. Zimmerman
jalonz@hermesnet.net
Hermes Internet Service
http://www.hermesnet.net/
(202)-646-1640
--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!
- Next message: Gary Bickford: "Re: [mSQL] ORDER BY + _rowid == bug?"
- Previous message: Tom Straub: "Re: [mSQL] msql 2 beta 2 bug"