Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Database object checksums, v7.3.4
In article <953248065.17794.0.nnrp-04.c1ed77a9_at_news.demon.co.uk>,
"Mark B" <markb_at_mrb-basys.demon.co.uk> wrote:
> Oracle Serverr 7.3.4...
>
> Does anyone know of a way I can easily generate a 'checksum' from the
> internal definition of any database object?
>
> For PL/SQL, I called Oracle support asking if I could get access to
the
> internal "signiture" used to determine whether or not packages,
functions
> and procedures need recompiling when any related packages, etc. are
> recompiled. They couldn't (or wouldn't) tell me how to access them.
>
> For those with UNIX knowledge, I'm trying to duplicate the "cksum"
command,
> but within the database. I'd really rather not
spool/dbms_output/utl_file
> the source and host a call to UNIX if it can be avoided - so I can
make it
> platform independent and not have to worry about file system space
for the
> spooled file.
>
> I'm interested in checksums for the definitions of tables, views,
sequences,
> indexes, etc. - the lot.
>
> Any simple solutions would be most welcome.
>
> Thanks in advance
>
> Mark
>
I do not think creating a check sum for database objects has any real
value, but you must so here are my suggestions:
I hope you at least find these ideas interesting.
--
Mark D. Powell -- The only advice that counts is the advice that
you follow so follow your own advice --
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Mar 17 2000 - 10:05:21 CST