Search notes:

ORA-62503: illegal variable definition

All pattern variables that are defined with the define clause of the match_recognize clause must be used in the pattern clause, otherwise, Oracle throws ORA-62503: illegal variable definition as demonstrated in the following simple example:
select
   *
from
   dual
match_recognize (
   pattern(x)
   define
      ptrn as 1=1
);

See also

Other Oracle error messages

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758207710, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-62503_Illegal-variable-definitions(45): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78