Quote:
|
Originally Posted by jacampbell
How are the users writing code to refer to creator/owners of tables. Is it:
- fixed qualified: select ... from owner.table
If so you'll have to give each developer their own database - otherwise everyone will share the same table. This is probably GertK's situation.
- un-qualified: select ... from table
bind ... qualifier(owner)
or dynamically qualified "select ... from " || owner_variable || ".table"
in these you can choose whether you want a shared or separate database.
James Campbell
|
Yes, that's our situation. We also have to solve production problems which we need to reproduce using a production database. A developer can restore the prod DB over his own database to find the problem without disturbing the work of other developers.
Quote:
|
Originally Posted by jacampbell
A lot will depend on how hard it is to manage separate databases.
I'm not sure that I would give developers great authority. The tables they'll be using will have fixed structures. If you give the DBADM (the most I'ld give them) they'll be off creating their own stuff which won't match what others are doing.
James Campbell
|
We use Object REXX scripts to backup/restore a database. A hardcoded SYSADM user/password is used within these scripts to attach/backup/restore and the scripts are tokenized so no one can read them.
We also have REXX scripts to define tables/views/sequences etc.. These scripts use the same user/pw to connect to the db.
Kind regards, Gert