Re: SQL Works but PL/SQL hangs

From: andrewst <member14183_at_dbforums.com>
Date: Sat, 03 May 2003 15:35:13 +0000
Message-ID: <2837254.1051976113_at_dbforums.com>


Originally posted by Amir
> When I issue a statement to fetch some data from the remote database
> on the SQL prompt it works fine, as given below
>
> SQL> select trans_no from XYZ_at_remotedb;
>
> But when I embbed the same query in PL/SQL block it hangs and does not
> complete
>
> declare
> x varchar2(50);
> begin
> select trans_no into x from XYZ_at_remotedb;
> end;
>
>
> What could be the reason?
>
> ~~Amir
Just to state the bleeding obvious: you did enter a "/" after the last line?

Well, you never know!

--
Posted via http://dbforums.com
Received on Sat May 03 2003 - 17:35:13 CEST

Original text of this message