Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by Anonymous Monk
on Jan 17, 2013 at 07:32 UTC ( [id://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)

Replies are listed 'Best First'.
Re^3: Extracting only required length in a column in perl DBI
by marto (Cardinal) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1013719]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-26 01:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found