Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

RE: Re: Reading from a file and writing the content into a database

by chromatic (Archbishop)
on Mar 31, 2000 at 22:32 UTC ( [id://6604]=note: print w/replies, xml ) Need Help??


in reply to Re: Reading from a file and writing the content into a database
in thread Reading from a file and writing the content into a database

my $sth = $dbh->prepare(<<SQL) or die "Can't prepare: ", $dbh->errstr; insert into data (data_1, data_2) values (?, ?) SQL
You can do that with a here doc? that's just amazing. How in the world did you figure that out?

Replies are listed 'Best First'.
RE: RE: Re: Reading from a file and writing the content into a database
by btrott (Parson) on Mar 31, 2000 at 23:03 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://6604]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-03-28 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found