Search notes:

SQL Server - system base table: sys.sysfiles1

sys.sysfiles1 lists the physical files for a database.
select * from master.sys.sysfiles1;

status      fileid name               filename
----------- ------ ------------------------------------------------------------------------------------------------------------
2           1      master             C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\master.mdf
66          2      mastlog            C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\mastlog.ldf

select * from tq84_db.sys.sysfiles1;

status      fileid name               filename
----------- ------ ------------------------------------------------------------------------------------------------------------
2           1      tq84_db            C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\tq84_db.mdf
66          2      tq84_db_log        C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\tq84_db_log.ldf

See also

sys.sysdbfiles

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...', 1758201635, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/SQL-Server/administration/schemas/sys/objects/system-base-tables/sysfiles1(51): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78