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: SQL query

RE: SQL query

From: Nguyen, David M <david.m.nguyen_at_xo.com>
Date: Mon, 28 Jun 2004 12:21:45 -0400
Message-ID: <CF2C2AF8121121469722950F193435490450A33A@ILCHICVEXC002.mail.inthosts.net>

Thank you. It helps.

David

-----Original Message-----

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Thomas Biju Sent: Monday, June 28, 2004 11:13 AM
To: oracle-l_at_freelists.org
Subject: RE: SQL query

If column contains digits,

select ...
WHERE mycol between 100 and 999999999;

If characters:

select ...
WHERE length(mycol) between 3 and 9;

B.

-----Original Message-----

From: Nguyen, David M [mailto:david.m.nguyen_at_xo.com] Sent: Monday, June 28, 2004 11:08 AM
To: oracle-l_at_freelists.org
Subject: SQL query

How do I query a column that has only a minimum of 3 digits and a maximum of 9 digits?
=3D20

Thanks,

David



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html


___=3D

This electronic transmission and any attached files are intended solely for=3D
 the person or entity to which they are addressed and may contain informati=3D
on that is privileged, confidential or otherwise protected from disclosure.=3D
 Any review, retransmission, dissemination or other use, including taking a=3D
ny action concerning this information by anyone other than the named recipi=3D
ent, is strictly prohibited. If you are not the intended recipient or have =3D
received this communication in error, please immediately notify the sender =3D
and destroy this communication.



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html

-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Mon Jun 28 2004 - 11:19:23 CDT

Original text of this message

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