It is neither dbms_output nor sysdate. Try a loopback.  This error is related to the 
network and I am sure that there is a lot on MetaLink.

inka

-----Original Message-----
Sent: Tuesday, September 24, 2002 2:05 PM
To: Multiple recipients of list ORACLE-L


Steve

works fine for me on 8171 on WinNT

Connected to:
Oracle8i Enterprise Edition Release 8.1.7.1.1 - Production
With the Partitioning option
JServer Release 8.1.7.1.1 - Production
SQL> set serveroutput on
SQL> DECLARE
  2  
  3    BEGIN
  4  
  5        dbms_output.put_line(TO_CHAR(SYSDATE, 'DY, MON DD HH24:MI:SSYYY')
);
  6  
  7    END;
  8  
  9  /
TUE, SEP 24 12:59:21002

PL/SQL procedure successfully completed.


Tom Mercadante
Oracle Certified Professional


-----Original Message-----
Sent: Tuesday, September 24, 2002 1:48 PM
To: Multiple recipients of list ORACLE-L


Has anyone seen this cause an error before.
I can run this script on other datbases (same version) without any problems.
This database was rebuilt from production.
I can select the to_char... into a varchar2 variable and then print the
variable and it works.
I've bounced the database also, but still no help. Nothing shows up in the
alert log and there are no trace files.

I have the work around, but I want to find out why/how to fix it and the
root cause.
Can I set an event and get more information about it when the error happens?
That's the direction I'm headed.

Thanks,
Steve

oracle 8.1.7.3 on Win NT 4.0 svc pack 6

sys(38)@INS> declare
  2
  3  begin
  4
  5      dbms_output.put_line(to_char(sysdate, 'DY, MON DD HH24:MI:SS
YYY')  );
  6
  7  end;
  8  /
ERROR:
ORA-03114: not connected to ORACLE



declare
*
ERROR at line 1:
    : end-of-file on communication channel



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Steve Perry
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: Mercadante, Thomas F
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: Inka Bezdziecka
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to