If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Adabas > Error while executing PL/SQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-07-03, 12:57
mahesh_bk1 mahesh_bk1 is offline
Registered User
 
Join Date: Jan 2003
Location: Bangalore
Posts: 44
Error while executing PL/SQL

Hi Everybody,
Can anybody help me with this problem. I am using oracle 8.1.7 version.
I am trying to execute a PL/SQL block. I am getting the following error.
Here i am sending the PL/SQL code and the error.

declare
a date;
begin
select (select sysdate from dual)
into a
from dual;
end;
/


select (select sysdate from dual)
*
ERROR at line 5:
ORA-06550: line 5, column 9:
PLS-00103: Encountered the symbol "SELECT" when expecting one of the
following:
( - + mod not null others <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql stddev sum variance
execute forall time timestamp interval date
<a string literal with character set specification>
<a number> <a single-quoted SQL string>
ORA-06550: line 6, column 1:
PLS-00103: Encountered the symbol "INTO" when expecting one of the
following:
; return returning and or

Thanks in advance
Mahesh
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On