Re: CSV import suggestions
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69158
interpreted = N
texte = How do I prevent WebDNA from caching these imported files. Can I not readthese files in and extract the data I need line by line checking for "," andCR?Your suggestion would still require me to create another db in memory inorder to import the data. Vince-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of JohnPeacockSent: Thursday, July 05, 2007 12:45 PMTo: WebDNA TalkSubject: Re: CSV import suggestionsVincent Medina wrote:> Anyone have any suggestions for me. I need to import a CSV file into a> webdna db. Type the following on one line:perl -MText::ParseWords -ne 'print join("\t", quotewords(",",0,$_[0])'< csv_file > tab_fileYMMV under Windows (the quoting may need tweaking).John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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 toWeb Archive of this list is at: http://webdna.smithmicro.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:
How do I prevent WebDNA from caching these imported files. Can I not readthese files in and extract the data I need line by line checking for "," andCR?Your suggestion would still require me to create another db in memory inorder to import the data. Vince-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of JohnPeacockSent: Thursday, July 05, 2007 12:45 PMTo: WebDNA TalkSubject: Re: CSV import suggestionsVincent Medina wrote:> Anyone have any suggestions for me. I need to import a CSV file into a> webdna db. Type the following on one line:perl -MText::ParseWords -ne 'print join("\t", quotewords(",",0,$_[0])'< csv_file > tab_fileYMMV under Windows (the quoting may need tweaking).John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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 toWeb Archive of this list is at: http://webdna.smithmicro.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/
"Vincent Medina"
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:
different ship dates and shopping carts -- how to? (1997)
date sorting and 'template (1997)
WebCat and WebTV (1997)
Keep away (1997)
WebCat2 several catalogs? (1997)
Changing SubTotal (2003)
cookies (2004)
possible, WebCat2.0 and checkboxes-restated (1997)
Share cost of training videos! (1998)
EmailProblem (2003)
WC2b12: Yes, Formulas.db is for real (1997)
Emailer Chokes on bad address (1997)
Shipcost lookup? (1997)
[WebDNA] Installing WebDNA on Windows 7 64 Bit, Home Premium (2010)
creator code (1997)
minimalist shopping cart. (1997)
WebCatalog for guestbook ? (1997)
Exclude by date - multiple (1997)
b18 problem on NT 4.0 (1997)
file browser. (2002)