Search notes:

SQLPATH - run_files_in_curdir.sql

run_files_in_curdir.sql is a script that »executes« sql files matching a file-pattern (xyz*.sql) within SQL*Plus.
sql> @run_files_in_curdir xyz*.sql
--
--   Windows only.
--
--   Executes («run») the files in the current directory
--
define file_pattern=&1
$echo -- Created by %SQLPATH%\run_files_in_curdir.sql > %temp%\run_files_in_curdir_.sql
$@for /f "usebackq" %a in (`dir /b &file_pattern`) do @echo @ %a >> %temp%\run_files_in_curdir_.sql
prompt %temp%\run_files_in_curdir_.sql created, running it...
@%TEMP%/run_files_in_curdir_.sql
Github repository Oracle-SQLPATH, path: /run_files_in_curdir.sql

See also

Oracle: files for ORACLE_PATH / SQLPATH

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...', 1758198716, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/SQL-Plus/sqlpath/run_files_in_curdir(53): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78