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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: High values

RE: High values

From: Justin Cave <jcave_at_cableone.net>
Date: Fri, 20 Sep 2002 02:08:22 -0800
Message-ID: <F001.004D4A45.20020920020822@fatcity.com>


At 03:18 AM 9/20/2002, you wrote:
>Basically what I want to do is put a value in a VARCHAR2 column that will
>ensure it appears as the last row when selected using an ORDER BY on the
>column

Does the column presently have NULL's in it? If not, you could insert a NULL value and add the NULLS LAST clause to your select statement.

>John
>
> > -----Original Message-----
> > From: DENNIS WILLIAMS [SMTP:DWILLIAMS_at_LIFETOUCH.COM]
> > Sent: 19 September 2002 21:09
> > To: Multiple recipients of list ORACLE-L
> > Subject: RE: High values
> >
> > John - Since nobody has replied to your question, I discussed it with a
> > fellow COBOL programmer. I think that in COBOL you normally would use this
> > in an iterative loop, as a comparison. In SQL itself, you rarely iterate,
> > so
> > you probably don't have that much need for a HIGH-VALUE. In PL/SQL you
> > might
> > be more likely to need it. Myself, I have used such a thing in the C
> > language before, and there was usually a precompiler value that you could
> > include. For Oracle, the maximum integer that can be represented is 38 9's
> > times 10 to the 125th. power. Here is a web address that lists a lot of
> > the
> > Oracle limits as of 8.0.5.
> >
> > http://storacle.princeton.edu:9001/oracle8-doc/server.805/a58242/ch5.htm
> >
> > Dennis Williams
> > DBA
> > Lifetouch, Inc.
> > dwilliams_at_lifetouch.com <mailto:dwilliams_at_lifetouch.com>
> >
> >
> > -----Original Message-----
> > Sent: Thursday, September 19, 2002 12:21 PM
> > To: Multiple recipients of list ORACLE-L
> >
> >
> > Is there a Oracle equivalent to the Cobol HIGH-VALUES value?
> >
> > John
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: John Dunn
> > INET: john.dunn_at_sefas.co.uk
> >
> > Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> > San Diego, California -- Mailing list and web hosting services
> > ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: DENNIS WILLIAMS
> > INET: DWILLIAMS_at_LIFETOUCH.COM
> >
> > Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> > San Diego, California -- Mailing list and web hosting services
> > ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: John Dunn
> INET: john.dunn_at_sefas.co.uk
>
>Fat City Network Services -- 858-538-5051 http://www.fatcity.com
>San Diego, California -- Mailing list and web hosting services
>---------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).

Justin Cave

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Justin Cave
  INET: jcave_at_cableone.net

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Sep 20 2002 - 05:08:22 CDT

Original text of this message

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