Search notes:

Script: sqlcl.bat

sqlcl.bat is a simple batch file to start Oracle's SQLcl.
@rem
@rem   Script to start SQLcl with an "connection-ID"
@rem
@rem   c:\> sqlcl FOO
@rem
@rem   The script expects the following three variables to be set:
@rem     ora_FOO_name
@rem     ora_FOO_pw
@rem     ora_FOO_db
@rem
@rem   The script will then connect %ora_FOO_name%/%ora_FOO_pw%@%ora_FOO_db%
@rem

@setlocal EnableDelayedExpansion 

@set name=!ora_%1%_name!
@set pw=!ora_%1%_pw!
@set db=!ora_%1%_db!

@h:\sqlcl\bin\sql.bat %name%/%pw%@%db%
Github repository scripts-and-utilities, path: /sqlcl.bat

See also

Scripts

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...', 1745009106, '18.222.209.142', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/tools/scripts/personal/sqlcl_bat(60): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78