Hi I want to find out the name of the database creator or owner.
One way I tried is following query
"SELECT grantee FROM syscat.dbauth WHERE grantor='SYSIBM' and dbadmauth='Y' "
But sometimes it returns more than one users.
So this query is not returing correct owners.
I found that sysibm.sysversions contains AUTHID column.
Is it the name of the database creator or owner?
Thanks,
Abhijit