Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> Odd behaviour of SQL*Plus

Odd behaviour of SQL*Plus

From: Robson, Peter <>
Date: Tue, 27 May 2003 05:30:00 -0800
Message-ID: <>

I wonder if anyone can shed some light on what's going on here...

A SQL*Plus script was hanging when run against a certain instance, and after a lot of faffing about, these are the facts:

The test script is simple, but exists to see how much data the server can process in one query. It looks like this:

select sysdate
from dual;

You can see that by stacking up those comment lines (currently only 20 characters), one can quickly build a script which contains several hundred / thousand characters.

I'm using a SQL*Plus client, version to access two different instances, both different versions. Yes I know my client is not the latest, but it has features which the later ones do not have...

For version I can throw a query as above with size of 20,000 bytes +. No problem.

But when I put the same query to instance version - I cannot squeeze more than about 1000 characters, before the query simply hangs. No error message.

A comparison of 'show all' against both instances gives identical returns.

Can anyone elighten me, please?


This e-mail message, and any files transmitted with it, are confidential and intended solely for the use of the addressee. If this message was not addressed to you, you have received it in error and any copying, distribution or other use of any part of it is strictly prohibited. Any views or opinions presented are solely those of the sender and do not necessarily represent those of the British Geological Survey. The security of e-mail communication cannot be guaranteed and the BGS accepts no liability for claims arising as a result of the use of this medium to transmit messages from or to the BGS. The BGS cannot accept any responsibility for viruses, so please
scan all attachments.                  


Please see the official ORACLE-L FAQ:

Author: Robson, Peter

Fat City Network Services    -- 858-538-5051
San Diego, California        -- Mailing list and web hosting services
To REMOVE yourself from this mailing list, send an E-Mail message to: (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 Tue May 27 2003 - 08:30:00 CDT

Original text of this message