Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Newbie PL/SQL question

Newbie PL/SQL question

From: Matthew Tan <tankc_at_singnet.com.sg>
Date: Thu, 6 Apr 2000 14:20:06 +0800
Message-ID: <8cha1l$bb9$1@clematis.singnet.com.sg>


Hello,

I am currently running Personal Oracle 8 on my Windows 98 PC. I have tried running
this statement encountering errors.

SQL> begin
  2 accept lastname char Prompt 'Enter : ';   3 end;
  4 /
 accept lastname char Prompt 'Enter : ';

        *
ERROR at line 2:

ORA-06550: line 2, column 9:
PLS-00103: Encountered the symbol "LASTNAME" when expecting one of the
following: := . ( @ % ;

Why is this so ?

Thanks in advance ! Received on Thu Apr 06 2000 - 01:20:06 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US