What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: convert WebDNA from flat file to MySQL

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 66895
interpreted = N
texte = Marc, I have been doing this a lot. I have found that its easiest to load the entire contents via INFILE, takes a second. However, depending on your tables data types, you need to prep the webcat data. For instances, make sure dates are in correct format, make sure your columns are large enough to hold the webcat data, etc.. Also, make sure you import the data into the correct charset. For migrating to MySQL from webcat, I have found it best to setup the tables, write migration scripts, then upon rollout execute your scripts to populate your data. Your scripts will clean, prep, and load your data into the tables via select statements. Even here you have the option to do one large SELECT using commas to separate your value groups SELECT (value1, value2, value3,etc),(value1, value2, value3,etc),etc.. OR you can execute a select for each row. Its up to you. Hope this helps. Marc Thompson wrote: > Anyone have experience converting an existing Webcatalog application > from flat file database to MySQL? Just looking for any pointers, > gotchas and/or best practices. ------------------------------------------------------------- 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. Re: convert WebDNA from flat file to MySQL ( Adam O'Connor 2006)
  2. convert WebDNA from flat file to MySQL ( Marc Thompson 2006)
Marc, I have been doing this a lot. I have found that its easiest to load the entire contents via INFILE, takes a second. However, depending on your tables data types, you need to prep the webcat data. For instances, make sure dates are in correct format, make sure your columns are large enough to hold the webcat data, etc.. Also, make sure you import the data into the correct charset. For migrating to MySQL from webcat, I have found it best to setup the tables, write migration scripts, then upon rollout execute your scripts to populate your data. Your scripts will clean, prep, and load your data into the tables via select statements. Even here you have the option to do one large SELECT using commas to separate your value groups SELECT (value1, value2, value3,etc),(value1, value2, value3,etc),etc.. OR you can execute a select for each row. Its up to you. Hope this helps. Marc Thompson wrote: > Anyone have experience converting an existing Webcatalog application > from flat file database to MySQL? Just looking for any pointers, > gotchas and/or best practices. ------------------------------------------------------------- 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/ Adam O'Connor

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:

Email (1998) I give up!! (1997) Math Help (2000) Wrapping text (1998) [Sum] function? (1997) Setting up shop (1997) Plugin or CGI or both (1997) [WebDNA] reply vs. new (2009) Change [cart] date (2002) E-Mailer (WebCatb15acgiMac) (1997) Spawning Holdup? (2000) Version 4? (2000) List Server (1999) Announce: WebMerchant 3.0 for Windows shipping now (1998) [OT] (waaaay OT) further off topic than before (2004) Languages (1997) Shipping.db (1998) Searching for all records (1998) .. more on sliding discounts... (1997) Storebuilder Seems to have just died (2003)