Re: unique ascending numbers

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50174
interpreted = N
texte = 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)Can't I get something like the number of seconds since 1904 or something like that? Wouldn't that work for me? Or not?Thanks again,On Friday, May 9, 2003, at 09:55 AM, Nitai @ ComputerOil wrote:> On 9.5.2003 18:43 Uhr, Marc Kaiwi wrote: > >> Is it my imagination or am I getting cart numbers of variable lengths? >> ... or maybe I'm just getting old? > > They are produced with variable lengths, but they are still unique:-) > >> My goal was to use [cart] to assign a unique SKU number to a database. >> I need unique ascending numbers i.e.: 1, 4, 12 ... and so on. For some >> reason I was under the assumption that [cart] would produce this kind >> of progression. > > Cart will not just go up one time. Better to use [autonumber] with > WebDNA > 5.x or if on 4.x then create your own unique number with the last > number of > the db. > > 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:

    
  1. ExclusiveLock (was: Re: unique ascending numbers) (Nitai @ ComputerOil 2003)
  2. Re: unique ascending numbers (Gary Krockover 2003)
  3. Re: unique ascending numbers (Nitai @ ComputerOil 2003)
  4. Re: unique ascending numbers (Scott Anderson 2003)
  5. Re: unique ascending numbers (Kenneth Grome 2003)
  6. Re: unique ascending numbers (Scott Anderson 2003)
  7. Re: unique ascending numbers (Kenneth Grome 2003)
  8. Re: unique ascending numbers (Kenneth Grome 2003)
  9. Re: unique ascending numbers (Kenneth Grome 2003)
  10. Re: unique ascending numbers (Laurent Bache 2003)
  11. Re: unique ascending numbers (John Peacock 2003)
  12. Re: unique ascending numbers (Laurent Bache 2003)
  13. Re: unique ascending numbers (John Peacock 2003)
  14. Re: unique ascending numbers (Chris List Recipient 2003)
  15. Re: unique ascending numbers (Joe D'Andrea 2003)
  16. Re: unique ascending numbers (Joe D'Andrea 2003)
  17. Re: unique ascending numbers (John Peacock 2003)
  18. Re: unique ascending numbers (Christer Olsson 2003)
  19. Re: unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
  20. Re: unique ascending numbers (Christer Olsson 2003)
  21. Re: unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
  22. Re: unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
  23. Re: unique ascending numbers (John Peacock 2003)
  24. Re: unique ascending numbers (Nitai @ ComputerOil 2003)
  25. Re: unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
  26. Re: unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
  27. Re: unique ascending numbers (Kenneth Grome 2003)
  28. Re: unique ascending numbers (Nitai @ ComputerOil 2003)
  29. Re: unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
  30. Re: unique ascending numbers (Nitai @ ComputerOil 2003)
  31. unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
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)Can't I get something like the number of seconds since 1904 or something like that? Wouldn't that work for me? Or not?Thanks again,On Friday, May 9, 2003, at 09:55 AM, Nitai @ ComputerOil wrote:> On 9.5.2003 18:43 Uhr, Marc Kaiwi wrote: > >> Is it my imagination or am I getting cart numbers of variable lengths? >> ... or maybe I'm just getting old? > > They are produced with variable lengths, but they are still unique:-) > >> My goal was to use [cart] to assign a unique SKU number to a database. >> I need unique ascending numbers i.e.: 1, 4, 12 ... and so on. For some >> reason I was under the assumption that [cart] would produce this kind >> of progression. > > Cart will not just go up one time. Better to use [autonumber] with > WebDNA > 5.x or if on 4.x then create your own unique number with the last > number of > the db. > > 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:

Welcome! (2000) WebCat2 - Getting to the browser's username/password data (1997) [format] (1998) Attn: Bug in GeneralStore example b15 (1997) Secure Server (1997) Is there an easier way? (1998) japanese characters (1997) New WebDNA Solutions ... (1997) Questions To Answer (1997) NTbeta18 corrupted? (1997) WebCatalog2 Feature Feedback (1996) ListFiles (1998) Delayed Redirect (2000) [NT] ie 4.0 required (1997) using showpage and showcart commands (1996) WebCat for Unix?? (1997) default value from Lookup (1997) searching illegal HTML (2002) set header in DB (no cart) (2003) Referrer or maybe another way..... (2005)