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

Home -> Community -> Usenet -> c.d.o.misc -> Re: size limitation in a query

Re: size limitation in a query

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Wed, 10 Nov 1999 15:08:36 -0500
Message-ID: <C9ApOKDHBTJab2ld++RAR=3AZC05@4ax.com>


A copy of this was sent to Ron <ron168_at_yahoo.com> (if that email address didn't require changing) On Wed, 10 Nov 1999 12:54:37 -0500, you wrote:

>What is the maximum size(length) of a query statement for a single line
>or multiple lines...that Oracle can handle?

From the limits section of the reference manual:

SQL Statement Length

maximum length of statements 64K maximum;

particular tools may impose lower limits


sqlplus for example imposes a max line length of about 255 characters (need a newline before 255) but lets you use a line continuation character to glue >1 line together.

other tools = different limits.

--
See http://osi.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'... Current article is "Part I of V, Autonomous Transactions" updated June 21'st  

Thomas Kyte                   tkyte_at_us.oracle.com
Oracle Service Industries     Reston, VA   USA

Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Wed Nov 10 1999 - 14:08:36 CST

Original text of this message

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