Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: (dkubb) Re: (3) A more elegant solution?

by da (Friar)
on Jun 06, 2001 at 21:43 UTC ( #86317=note: print w/ replies, xml ) Need Help??


in reply to (dkubb) Re: (3) A more elegant solution?
in thread A more elegant solution?

Here's what happens under oracle:

# fails under oracle my $sth = $dbh->prepare("select name, age from ?") # does not fail under oracle, but gives wrong results. my $sth = $dbh->prepare("select name, ? from table") # outputs n copies of the string "age", for n rows in table. $sth->execute("age")

___
-DA


Comment on Re: (dkubb) Re: (3) A more elegant solution?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (15)
As of 2015-07-30 19:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls