Question about bind_param and Oracle
alsalvo_at_sherwin.com
Date: 07/16/04
- Next message: Jenda Krynicky: "Re: executing MS SQL Server stored procedures"
- Previous message: Martin J. Evans: "RE: [dbi] executing MS SQL Server stored procedures"
- Next in thread: Timothy Helck: "RE: Question about bind_param and Oracle"
- Maybe reply: Timothy Helck: "RE: Question about bind_param and Oracle"
- Maybe reply: Ron Reidy: "RE: Question about bind_param and Oracle"
- Maybe reply: alsalvo_at_sherwin.com: "RE: Question about bind_param and Oracle"
- Reply: David N Murray: "Re: Question about bind_param and Oracle"
- Maybe reply: George Hsia: "RE: Question about bind_param and Oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: dbi-users@perl.org Date: Fri, 16 Jul 2004 11:45:06 -0400
Hi all,
Hoping someone can help me out here.
I'm trying to do the following using Oracle 9i and DBI:
$table_name = "USERS";
$sql = "SELECT COUNT(*) FROM ?";
$sth = $dbh->prepare($sql);
$sth->bind_param(1,$table_name);
$sth->execute;
.
.
.
However, I'm getting an error about an invalid table name (I have verified
that the table is valid and that I spelled it correctly).
Is this even possible with Oracle and DBI?
Please let me know.
Thanks.
Aaron Salvo
- Next message: Jenda Krynicky: "Re: executing MS SQL Server stored procedures"
- Previous message: Martin J. Evans: "RE: [dbi] executing MS SQL Server stored procedures"
- Next in thread: Timothy Helck: "RE: Question about bind_param and Oracle"
- Maybe reply: Timothy Helck: "RE: Question about bind_param and Oracle"
- Maybe reply: Ron Reidy: "RE: Question about bind_param and Oracle"
- Maybe reply: alsalvo_at_sherwin.com: "RE: Question about bind_param and Oracle"
- Reply: David N Murray: "Re: Question about bind_param and Oracle"
- Maybe reply: George Hsia: "RE: Question about bind_param and Oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|