Search notes:

Oracle: Init parameter FIXED_DATE

Setting fixed_date to a date/time value overrides the value that sysdate (but not systimestamp) returns. In order for sysdate to return the correct value again, fixed_date must be set to none.
Unfortunately, fixed_date can only be set for the entire system, not for a particular session.
select
   sysdate,
   systimestamp
from
   dual;
   
alter system set fixed_date = '0102-03-04 05:06:07';

select
   sysdate,
   systimestamp
from
   dual;
   
alter system set fixed_date = none;
   
select
   sysdate,
   systimestamp
from
   dual;

See also

init parameters

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...', 1758198717, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/adminstration/init-parameters/fixed_date(62): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78