Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^3: Static Data, SQL::Parser

by renodino (Curate)
on May 08, 2007 at 02:36 UTC ( #614084=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Static Data, SQL::Parser
in thread Static Data, SQL::Parser

The DUAL actually works in the query; changing 1 to a fake column name parses correctly.
Sorry, I should've been more specific. Yes, any table name will parse OK, as will omitting the FROM clause entirely. I meant to indicate that you shouldn't rely on DUAL being supported by any underlying specialization.

(Teradata ? As I live and breathe, I never expected to encounter someone on PM who actually knows what a Teradata is...)

Perl Contrarian & SQL fanboy

Comment on Re^3: Static Data, SQL::Parser
Replies are listed 'Best First'.
Re^4: Static Data, SQL::Parser
by CLovegren (Novice) on May 08, 2007 at 08:21 UTC
    The good thing is, I don't need them to run; I already know they do since they are in a production level environment. I may end up just grepping the data out of the queries since I don't really need the joins to work or anything of that nature; just the statement structures were exactly what I was looking for.

    And as for Teradata... not my choice; seriously. We're just a reporting environment. :)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2015-11-28 09:39 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (740 votes), past polls