ChrisQuick
Programmer
We are developing an application that will hit against an Oracle 8 database. There will be only about 20 users whose permissions will be assigned at the column level. If we to assign permissions by roles there would be about 1700 or so roles created (please don't ask why) for just 20 users. We are trying to convince a client that using roles would be harder in the long run.<br>
<br>
We am trying to prove to the client that you can execute grants dynamically using slq concatenation, but want to have all of our ducks in a row first.<br>
<br>
We have tried the following to grant update privileges at the column level but it doesn't work.<br>
<br>
SELECT 'grant update (' ¦¦COLUMN_NAME FROM ALL_COL_PRIVS WHERE TABLE_NAME='atablename' AND GRANTEE='username1';¦¦') on atablename TO 'username2';<br>
<br>
Can anyone suggest what the correct syntax is?<br>
<br>
We am trying to prove to the client that you can execute grants dynamically using slq concatenation, but want to have all of our ducks in a row first.<br>
<br>
We have tried the following to grant update privileges at the column level but it doesn't work.<br>
<br>
SELECT 'grant update (' ¦¦COLUMN_NAME FROM ALL_COL_PRIVS WHERE TABLE_NAME='atablename' AND GRANTEE='username1';¦¦') on atablename TO 'username2';<br>
<br>
Can anyone suggest what the correct syntax is?<br>