Search notes:

sqlcmd - scripts

--
--  Print the name of the currently used database
--
set nocount on
print ''
select '  DB Name: ' + substring(db_name(), 1, 20) as db_name
print ''
.
Github repository about-MSSQL, path: /tools/sqlcmd/scripts/dbnam

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...', 1759345391, '216.73.216.60', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/SQL-Server/tools-utilities/sqlcmd/scripts/index(40): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78