Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Problem passing date to SQL

by runrig (Abbot)
on Aug 18, 2015 at 20:41 UTC ( [id://1139065]=note: print w/replies, xml ) Need Help??


in reply to Re: Problem passing date to SQL
in thread Problem passing date to SQL

Although a "WHERE date_column LIKE '...'" clause CAN work in Oracle, it is incredibly poor practice. You can not depend on the date format in any particular environment, and any indexes on the date column will not be used.

Replies are listed 'Best First'.
Re^3: Problem passing date to SQL
by SimonPratt (Friar) on Aug 18, 2015 at 21:09 UTC

    Aah, that does work in Oracle? I stand corrected :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-19 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found