Re: WebDNA deletes major DB data big time
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55800
interpreted = N
texte = John Hill wrote:> [snip] The other necessarychange to database functions to handle this was to use a global value to assign the next record ID, not just 1 plus the highest number in the database. If you constantly delete the last record then you end up reusing the same database ID over and over in the latter scenario. Thus restoring old data becomes impossible.:-) funny that you say this. I have used snippets of your DBEdit codein the past and just ran into a situation where I was relating data to the ID field.Well, when that record ID changes (gets deleted and then gets re-assigned)you now have a situation where Joe Schmoe is now John Doe!oops ;-)Some additional code helped fixed that scenerio. So I think in general, if there is anyplan of relation, it is a good practice to use a global ID!Still learning,Donovan =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
John Hill wrote:> [snip] The other necessarychange to database functions to handle this was to use a global value to assign the next record ID, not just 1 plus the highest number in the database. If you constantly delete the last record then you end up reusing the same database ID over and over in the latter scenario. Thus restoring old data becomes impossible.:-) funny that you say this. I have used snippets of your DBEdit codein the past and just ran into a situation where I was relating data to the ID field.Well, when that record ID changes (gets deleted and then gets re-assigned)you now have a situation where Joe Schmoe is now John Doe!oops ;-)Some additional code helped fixed that scenerio. So I think in general, if there is anyplan of relation, it is a good practice to use a global ID!Still learning,Donovan =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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:
redirect & arguments (2001)
Secure server question (1997)
More on the email templates (1997)
Math with Time (1997)
PCS Frames (1997)
HTTP Header info (1997)
Blank orders after update to 5.1 (2003)
Upload and WebCat (1998)
RE: Languages (1997)
NT Manual (1997)
WebCat2b15MacPlugin - [protect] (1997)
Fwd: Emailer & IMail List Server (1998)
[BULK] [WebDNA] [BULK] WebDNA AJAX example wanted! (2010)
search for all (1998)
if then logic (2005)
Searchtitle (2000)
WC 2.0 frames feature (1997)
Click-through/Referral tracking solution needed (2000)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
[OT] Javascript help (2007)