If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Read only privledges on a database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-09-08, 18:35
mallik2004 mallik2004 is offline
Registered User
 
Join Date: Sep 2008
Posts: 33
Read only privledges on a database

Hi All,

Is der anyway of granting select privledge to schema.My database contains many tables and i need to grant select privledge to a user who want to run reports.
o
r
Will "grant select on tab1,tab1..list to user1,user2", I mean granting select privledges to multi-tables at a time supported in IDS-7.3
Any assistance is greatly appreciated...

Thanks
Mallik
Reply With Quote
  #2 (permalink)  
Old 09-10-08, 05:18
stanislav.ondac stanislav.ondac is offline
Registered User
 
Join Date: Aug 2005
Posts: 140
try something like this:

select "grant select on "|| tabname || " to user user1;"
from systables where tabid>99

And output from this sql run as sqlscript.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On