Different types of prepare statements
From: Robert (catcher_at_linuxmail.org)
Date: 07/29/04
- Next message: Alexander: "threads and caching of DBI-handels"
- Previous message: Tony Adolph: "Oracle database link error - ppm upgrade problem"
- Next in thread: Hardy Merrill: "Re: Different types of prepare statements"
- Maybe reply: Hardy Merrill: "Re: Different types of prepare statements"
- Maybe reply: Brian D Campbell: "RE: Different types of prepare statements"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: dbi-users@perl.org Date: Thu, 29 Jul 2004 11:51:29 -0400
I have seen:
my $sth = $dbh->prepare( <<SQL_END );
SELECT blah
FROM blah
WHERE blah = blah
SQL_END
my $sth = $dbh->prepare(q{
SELECT blah
FROM blah
WHERE blah = blah
});
my $sth = $dbh->prepare(qq{
SELECT blah
FROM blah
WHERE blah = blah
});
What is the difference? I am new to Perl/DBI stuff.
Robert
- Next message: Alexander: "threads and caching of DBI-handels"
- Previous message: Tony Adolph: "Oracle database link error - ppm upgrade problem"
- Next in thread: Hardy Merrill: "Re: Different types of prepare statements"
- Maybe reply: Hardy Merrill: "Re: Different types of prepare statements"
- Maybe reply: Brian D Campbell: "RE: Different types of prepare statements"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]