Re: unique ascending numbers
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50178
interpreted = N
texte = No I'm still plugging away with poor-boy version 4.5 : c)Thanks, [math]{[date]}[/math] as you suggest should be fine for this application, just as long a I don't create more than one new record a second .... right?I don't think adding the random number will work for me because then I lose the ascending numbers part that I need.Thanks,On Friday, May 9, 2003, at 10:26 AM, Nitai @ ComputerOil wrote:> On 9.5.2003 19:06 Uhr, Marc Kaiwi
wrote:>>> Humm, I was hoping to avoid throwing in an extra search just to>> retrieve the last SKU number in the db. (I have a thing about extra>> processing simply because it's easy)>> Do you have 5.x? If so then use &autonumber=field and you are done, no > extra> processing!>>> Can't I get something like the number of seconds since 1904 or>> something like that? Wouldn't that work for me? Or not?>> Yes, you can, but still for safety I would throw in a random to make > sure> they are unique. You could create a> [random][random]_[math]{[date]}[/math][math]{[time]}[/math].>> Sincerely,> Nitai Aventaggiato> CEOSigned: Marc Kaiwi-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
No I'm still plugging away with poor-boy version 4.5 : c)Thanks, [math]{[date]}[/math] as you suggest should be fine for this application, just as long a I don't create more than one new record a second .... right?I don't think adding the random number will work for me because then I lose the ascending numbers part that I need.Thanks,On Friday, May 9, 2003, at 10:26 AM, Nitai @ ComputerOil wrote:> On 9.5.2003 19:06 Uhr, Marc Kaiwi wrote:>>> Humm, I was hoping to avoid throwing in an extra search just to>> retrieve the last SKU number in the db. (I have a thing about extra>> processing simply because it's easy)>> Do you have 5.x? If so then use &autonumber=field and you are done, no > extra> processing!>>> Can't I get something like the number of seconds since 1904 or>> something like that? Wouldn't that work for me? Or not?>> Yes, you can, but still for safety I would throw in a random to make > sure> they are unique. You could create a> [random][random]_[math]{[date]}[/math][math]{[time]}[/math].>> Sincerely,> Nitai Aventaggiato> CEOSigned: Marc Kaiwi-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
marc@kaiwi.com (Marc Kaiwi)
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
bug in convertchars and char %0A (1998)
Still Stumped on ShowNext...HELP! (1997)
WebCat2 beta 11 - new prefs ... (1997)
[WebDNA] Dynamic vertical columns (2008)
Details of shipping - Totalqty calculations (1997)
Problem searching bw & ne of a word (1999)
free zip codes database (1999)
autocommit problem (1998)
RE: Error: template (1997)
RE: [WebDNA] Anyone else getting double emails from this list (2009)
[ot] html question (2000)
Disappearing Database (1998)
Fuzzy on [url] context (1998)
survey builder code (2003)
Signal Raised (1997)
no global [username] or [password] displayed ... (1997)
WebCatalog for guestbook ? (1997)
Can you do this??? and other stuff (1997)
Still can't interpret encrypted templates. (2003)
[WebDNA] Server load (2008)