Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 browsing the Monastery: (7)
As of 2014-10-25 03:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (141 votes), past polls