How to know which databases and tables created/deleted yesterday?
Posted in 2000
Topics: General Discussion
Hi all, I would like to have a daily report of the list of datatabases and tables were created or deleted yesterday. Is it possible to do that with IDS2000? Can I use Unix Shell script to query it and run it everynight automatically with Unix cron deamon? Thanks in advance for any advise. DH.
DH wrote: > Hi all, > > I would like to have a daily report of the list of datatabases and tables > were created or deleted yesterday. > > Is it possible to do that with IDS2000? Can I use Unix Shell script to query > it and run it everynight automatically with Unix cron deamon? > > Thanks in advance for any advise. > > DH Here's one way to go about it. Build a Script/Stored Proc. that records the various Databases/Tables as at a point in time. (sysmaster:sysdatabases, <dbname>:systables). This information should be stored in your own private database, for example Once you have that, a comparison of information returned on successive days should give you what you want. Rudy
Go to my site www.smooth1.demon.co.uk and get dbdiff2.4gl. This can be used to compare database schemas. DH wrote in message <975034593.577486@news.aei.ca>... >Hi all, > >I would like to have a daily report of the list of datatabases and tables >were created or deleted yesterday. > >Is it possible to do that with IDS2000? Can I use Unix Shell script to query >it and run it everynight automatically with Unix cron deamon? > >Thanks in advance for any advise. > >DH. > >