Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Create an operator with returning a fixed length string

Re: Create an operator with returning a fixed length string

From: Chris <cs123._no_spam__at_telstra.com>
Date: Tue, 06 Jan 2004 12:50:44 GMT
Message-ID: <EayKb.80355$aT.17232@news-server.bigpond.net.au>

"Frank Y" <dmx_frank_at_yahoo.com> wrote in message news:9d599275.0401052027.495c4690_at_posting.google.com...
> Hello there,
>
> I am using Oracle 9i on Windows 2000 Server. I need to create an
> operator to return a string with length 20.
>
> If I use the following statement:
> CREATE OPERATOR test ....
> RETURN VARCHAR2....
> ...
>
> the return string has a default length 4000.
>
> Does any one know to make the return string length 20?
>
>
> thanks a lot.
>
> Frank

You could always try lpad to pad your string out to a length of 20, if that's what your asking. Received on Tue Jan 06 2004 - 06:50:44 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US