Unix Technical Forum

RE: How to retrive modified records

This is a discussion on RE: How to retrive modified records within the Informix forums, part of the Database Server Software category; --> Kalgaonkar, wrote > > I need to know how to retrive newely added + modified + > deleted records ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:19 PM
Colin Bull
 
Posts: n/a
Default RE: How to retrive modified records




Kalgaonkar, wrote
>
> I need to know how to retrive newely added + modified +
> deleted records from
> specific date.
> Is it possible without incremental backup.


Even with incremental backup this would not be straightforward
because a backup would retrieve deleted records but not get added
records or amended.

Every table in our database has the following fields,
......
created_by char(8)
default user not null ,
created_dt datetime year to second
default current year to second not null ,
modified_by char(8),
modified_dt datetime year to second,

This makes everything but the deleted records straightforward.
Perhaps you can use a delete trigger for them and archive them somewhere.

COlin Bull
c.bull@videonetworks.com
sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:39 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com