Re: Move WebDNA DB to MySQL

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 60734
interpreted = N
texte = FYI - http://dev.mysql.com/doc/mysql/en/LOAD_DATA.html This is the page with all of the parameters you should looka t. Larry On Jan 11, 2005, at 2:37 PM, Clint Davis wrote: > I want to move a tab-delimited members database that WebDNA was using > to a > MySQL database. What would be the proper syntax to search the > tab-delimited > file with WebDNA and INSERT all founditems into the MySQL database? Is > the > methodology below acceptable? > > [SQLConnect > dbType=MySQL&host=xxx&database=xxx&uid=xxx&pwd=xxx&conn_var=conn1] > [/SQLConnect] > > [search db=my.db&neIDdata=find_all] > [founditems] > [SQLExecute conn_ref=conn1&result_var=rs1] > INSERT INTO xxx VALUES ('[value1]', '[value2]', '[value3]', '[value4]') > [/SQLExecute] > [/founditems] > [/search] > > Is there a better/easier way to INSERT multiple rows? > > > --------------------------------------------------------------------- > Clint Davis > Webmaster / Interactive Media Specialist > Gray Loon Marketing Group, Inc. http://www.grayloon.com > 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 > --------------------------------------------------------------------- > > > > ------------------------------------------------------------- > 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/ > > Larry Hewitt360.807.1100 OFFICE HCO, LLC 360.807.1103 FAX 109 No. Tower360.880.4855 CELL P.O. Box 1017larryh@hewittco.com Centralia, WA 98531www.votewashington.org www.hewittco.com ------------------------------------------------------------- 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: Move WebDNA DB to MySQL ( "Sal D'Anna" 2005)
  2. Re: Move WebDNA DB to MySQL ( Larry Hewitt 2005)
  3. Re: Move WebDNA DB to MySQL ( Larry Hewitt 2005)
  4. Re: Move WebDNA DB to MySQL ( William DeVaul 2005)
  5. Re: Move WebDNA DB to MySQL ( "Nitai @ ComputerOil" 2005)
  6. Move WebDNA DB to MySQL ( Clint Davis 2005)
FYI - http://dev.mysql.com/doc/mysql/en/LOAD_DATA.html This is the page with all of the parameters you should looka t. Larry On Jan 11, 2005, at 2:37 PM, Clint Davis wrote: > I want to move a tab-delimited members database that WebDNA was using > to a > MySQL database. What would be the proper syntax to search the > tab-delimited > file with WebDNA and INSERT all founditems into the MySQL database? Is > the > methodology below acceptable? > > [SQLConnect > dbType=MySQL&host=xxx&database=xxx&uid=xxx&pwd=xxx&conn_var=conn1] > [/SQLConnect] > > [search db=my.db&neIDdata=find_all] > [founditems] > [SQLExecute conn_ref=conn1&result_var=rs1] > INSERT INTO xxx VALUES ('[value1]', '[value2]', '[value3]', '[value4]') > [/SQLExecute] > [/founditems] > [/search] > > Is there a better/easier way to INSERT multiple rows? > > > --------------------------------------------------------------------- > Clint Davis > Webmaster / Interactive Media Specialist > Gray Loon Marketing Group, Inc. http://www.grayloon.com > 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 > --------------------------------------------------------------------- > > > > ------------------------------------------------------------- > 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/ > > Larry Hewitt360.807.1100 OFFICE HCO, LLC 360.807.1103 FAX 109 No. Tower360.880.4855 CELL P.O. Box 1017larryh@hewittco.com Centralia, WA 98531www.votewashington.org www.hewittco.com ------------------------------------------------------------- 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/ Larry Hewitt

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:

Errata: WCS Newbie question (1997) Error Lob.db records error message not name (1997) Order not created error (1997) WebCat2final1 crashes (1997) Leap of Faith (2001) Explorer 3.0 (1997) label?! (2005) Preventing Safari caching (2003) About the mailer (2002) WebCatalog2 Feature Feedback (1996) Further on formula.db failure to calculate shipCost (1997) WebCatalog can't find database (1997) price carry over (1997) Opinion: [input] should be called [output] ... (1997) Resume Catalog ? (1997) WebMerchant Error (1998) WebCatalog/WebMerchant 2.1 (1998) Appending space (1998) Separate SSL Server (1997) Unanswered trigger questions ... (2003)