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

Re^2: Extracting only required length in a column in perl DBI

by Anonymous Monk
on Jan 17, 2013 at 07:32 UTC ( #1013719=note: print w/ replies, xml ) Need Help??


in reply to Re: Extracting only required length in a column in perl DBI
in thread Extracting only required length in a column in perl DBI

Nitpick: even though substr() is implemented in most sql dialects, the standards-compliant function is substring(col1 from 1 for 3)


Comment on Re^2: Extracting only required length in a column in perl DBI
Download Code
Re^3: Extracting only required length in a column in perl DBI
by marto (Chancellor) on Jan 17, 2013 at 10:31 UTC

    OP stated they're using Oracle, substring(col1 from 1 for 3) doesn't work (ORA-00907). substr.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2014-07-30 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (230 votes), past polls