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:
system crashes, event log (1997)
Unexpected error (1997)
Out of the woodwork (2007)
Sku numbers (1997)
Emailer problem with WC 2.1, NT, WebSite 2.1 (1998)
Re:listfiles-looking for slick solution (1997)
Press Release hit the NewsWire!!! (1997)
ACGI processing for .html (1997)
Can't Update records (1997)
Format all of a sudden doesn't work (1997)
New Webcatalog for Mac (1997)
[WebDNA] [listwords] and [index] (2009)
emailer (1997)
PSC recommends what date format yr 2000??? (1997)
[WebDNA] Digest from talk@webdna.us (2009)
[math date]: Arrrggh! (2003)
WCS Newbie question (1997)
[WebDNA] Can webDNA be forced to be able to read ANY file in ANY folder in a (2018)
tcpconnect/tcpsend frustrations (2002)
webcat serving multiple copies of same db from ram (2000)