You are not logged in.

#1 04 Jun 2007 21:32

enquad
Member
Registered: 04 Jun 2007
Posts: 1

Extra percent sign on http://ss64.com/oraplsql/declare.html

I think there is an extra percent sign in the record declaration on http://ss64.com/oraplsql/declare.html

SQL> DECLARE
  2      empvar emp%ROWTYPE%;
  3   BEGIN
  4      NULL;
  5   END;
  6  /
    empvar emp%ROWTYPE%;
                      *
ERROR at line 2:
ORA-06550: line 2, column 23:
PLS-00103: Encountered the symbol "%" when expecting one of the following:
:= ( ; not null range default character
The symbol "%" was ignored.


SQL> DECLARE
  2      empvar emp%ROWTYPE;
  3   BEGIN
  4      NULL;
  5   END;
  6  /

PL/SQL procedure successfully completed.

Offline

#2 05 Jun 2007 18:12

Simon Sheppard
Admin
Registered: 27 Aug 2005
Posts: 1,130
Website

Re: Extra percent sign on http://ss64.com/oraplsql/declare.html

^ fixed now

thanks

Offline

Board footer

Powered by