Connect Pl SQL

From: Paolo Cassago <paoloc_at_zeropiu.it>
Date: Mon, 05 Jul 1999 19:00:20 +0200
Message-ID: <3780E4A4.DFE4E694_at_zeropiu.it>


Hi,
[Quoted] [Quoted] I' m trying to establish a connection from a stored procedure and I'm using the follow instruction:

is

   cid INTEGER;
begin

   cid := DBMS_SQL.OPEN_CURSOR;
[Quoted]     DBMS_SQL.PARSE(cid, 'CONNECT user/passwd_at_serveroracle', dbms_sql.v7);

But the follow errors occurs:

ORA-00900: invalid SQL statement
ORA-06512: at "SYS.DBMS_SYS_SQL", line 491
ORA-06512: at "SYS.DBMS_SQL", line 32
ORA-06512: at "PAOLO.PROVAUT", line 5
ORA-06512: at line 2

Can someone help me?? Thank you. Bye Received on Mon Jul 05 1999 - 19:00:20 CEST

Original text of this message