SYS.AUD$ stores ntimestamp# in UTC time, without time zone

Use the sys_extract_utc() function to convert systi­mestamp to UTC before comparing ntimestamp#!

select * from sys.aud$
where ntimestamp# > sys_extract_utc(systimestamp) — interval ‘30’ minute;

Entdecke mehr von Lutz Haake | Freelance Oracle Consultant

Jetzt abonnieren, um weiterzulesen und auf das gesamte Archiv zuzugreifen.

Weiterlesen