Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: query for altered since
> Add a column called LAST_UPDATED_TIME DATE
>
> Add a trigger for before insert
and "before update" :-)
> :new.last_updated_time := sysdate;
>
>
> select * from <table> where last_updated_time >= sysdate - <whatever
> timeinterval>;
-- Martijn Tonies Database Workbench - development tool for Oracle, and more! Upscene Productions http://www.upscene.com My thoughts: http://blog.upscene.com/martijn/ Database development questions? Check the forum! http://www.databasedevelopmentforum.comReceived on Fri Mar 17 2006 - 08:54:43 CST
![]() |
![]() |