Re: Schema comparison
Posted in 1995
> I heard that there maybe a way in cron to diff schemas
> every night for changes.
> I am not sure if it is a shell script or something Informix has
> available.
It is trivial to write a shell script to perform this task:
mv schema_filename old_schema_filename
dbschema -d dbname schema_filename diff schema_filename old_schema_filename | mail yourname
It may not be trivial to manage a database where just anyone can
make schema changes on a daily basis, especially without you! Have
you some special requirement for this? We try to let the DBA make
all these changes, as altering a table can have dire consequences if
done wrong.
Be careful,
__________________________________________________________________
| Clem Akins Standard Disclaimers Apply |
|Reynolds Metals Co, Alloys Plant "Climb High, Cave Deep!" |
| Muscle Shoals, Alabama USA cwakins@leia.alloys.rmc.com |
|________________________________________________________________|