Search notes:

Oracle: Time zone related stuff

create table tq84_tz_test (
     ts     timestamp,
     ts_tz  timestamp with time zone
);

alter session set time_zone = 'Europe/Zurich';
insert into tq84_tz_test values (systimestamp, current_timestamp);

alter session set time_zone = 'CST';
insert into tq84_tz_test values (systimestamp, current_timestamp);

select * from tq84_tz_test;

drop table tq84_tz_test;

See also

v$timezone_names and v$timezone_file
systimestamp, dbtimezone and sessiontimezone.
time zone

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