Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: User_product_profile and sqlplusw
I had to try it out, this works on 9i and W2K.
insert into product_user_profile (product,userid,attribute,char_value)
values
('SQL*Plus','TRACK','INSERT','DISABLED');
Connected to:
Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
With the Partitioning option
JServer Release 9.0.1.1.1 - Production
SQL> insert into test (aa,bb) values ('A',1); SP2-0544: invalid command: insert
SQL> insert into test (aa,bb) values ('A',1);
SP2-0544: invalid command: insert
SQL> connect system/manager
Connected.
SQL> delete from product_user_profile;
1 row deleted.
SQL> commit;
Commit complete.
SQL> insert into test (aa,bb) values ('A',1);
1 row created.
SQL>
-----Original Message-----
Sent: Tuesday, April 16, 2002 7:53 AM
To: Multiple recipients of list ORACLE-L
Thanks but that does not work either.
Rick
Shaw John-P55297 To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> <P55297_at_motor cc: ola.com> Subject: RE: User_product_profile and sqlplusw Sent by: root_at_fatcity. com 04/15/2002 05:58 PM Please respond to ORACLE-L
I haven't tried this for a while, but I think it's case sensitive. try 'sqlplusw.exe'
-----Original Message-----
Sent: Monday, April 15, 2002 4:13 PM
To: Multiple recipients of list ORACLE-L
Hi,
I have successfully restricted insert,update,delete using
product_user_profile if the user users sqlplus at the command prompt.
However I cannot
get it to work if they use sqlplusw.exe. Any ideas what entry I have to
use to enforce this.
This is what I used to restrict product access with sqlplus.exe
This works for command prompt sqlplus
insert into
SYSTEM.PRODUCT_USER_PROFILE(PRODUCT,USERID,ATTRIBUTE,CHAR_VALUE)
values ('SQLPlus','USER_ID','INSERT','DISABLED') ;
This does not work for windows sqlplus
insert into
SYSTEM.PRODUCT_USER_PROFILE(PRODUCT,USERID,ATTRIBUTE,CHAR_VALUE)
values ('SQLPlusw','USER_ID','INSERT','DISABLED') ;
Thanks
Rick
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Rick_Cale_at_teamhealth.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Tue Apr 16 2002 - 10:43:42 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Shaw John-P55297 INET: P55297_at_motorola.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Rick_Cale_at_teamhealth.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Shaw John-P55297 INET: P55297_at_motorola.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |