Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: NOW SQL portability

by herveus (Parson)
on Dec 22, 2009 at 12:31 UTC ( #813862=note: print w/replies, xml ) Need Help??


in reply to NOW SQL portability

Howdy!

SQL portability can be a real red herring, given the variations found across the range of implementations. You have to ask yourself how many different flavors of SQL you want to try to support. You may have no choice but to have slightly different code bases for each flavor.

I don't know if there is a portable way for getting "today's date". Oracle uses "sysdate"; Informix uses "current...". MSSQL and Sybase may actually use the same function, given their common heritage.

yours,
Michael

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://813862]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2016-12-08 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (134 votes). Check out past polls.