How to revoke the SELECT on a table for a specific user?
Environment:SQL * 3.1 on Windows XP Pro SP3 Developer to connect to Oracle 11.2.0.3 EE on Solaris 10.5.
I have table T with SELECTION privilege granted on this issue both a role and a specific user.
I am using SQL * Developer to revoke the privilege SELECT on this table of the individual user and leave the role.
I can see how to revoke the role by right-clicking on the table and goes to the privileges-> revoke but I can't find where to choose a specific user to revoke of.
Any help is greatly appreciated!
-gary
Hi Gary,.
You are probably aware of the SQL syntax of base to make grant and revoke of SQL * more or the SQL Developer Worksheet:
grant select on .T to ;
revoke select on .T from ;
To reach the equivalent to revoking of SQL Developer Connection Navigator...
One would expect to be able to do the same thing from say the
Hope this helps,
1. open the connection for
2 expand the Tables node, and then open the object for table T browser.
3. click on the grants tab and then, in its toolbar, select Actions->-> Revoke privileges
4. Select
5 shuttle privilege SELECT from the right back to the left, and then click apply.
Gary Graham
SQL development team
Tags: Database
Similar Questions
-
How to restore the selection in af:listview for collectionmodel
We use the af:listview for collectionModel component. The selectionListener is defined as:
selectionListener = "#{backingBeanScope.paymentSchedulesBean.scheduleListSelection} '"
{} public void scheduleListSelection (SelectionEvent selectionEvent) ADFUtils.executeMethodExpression ("#{bindings.") PaymentSchedules3.collectionModel.makeCurrent} «» New Object() {selectionEvent}, new class [] {SelectionEvent.class}); Line SelectedValue = (Row) ADFUtils.executeValueExpression ("#{bindings.") PaymentSchedules3Iterator.currentRow}"); String selectedAttr = (String) selectedValue.getAttribute ("PaymentScheduleName"); System.out.println ("selected program name:" + selectedAttr); } } I want to put a brake before calling the expression to define collectionModel.makeCurrent and if the check fails, I don't want to edit the selected line.
But even if I don't call ADFUtils.executeMethodExpression (...) above, the selection always changes in the user interface, but the line current still points to the previous selection.
How to fix this?
Jdev/ADF version: 12.1.3.0
Thank you.
-Cedric
Maybe this can help: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/100-undorowselection-onerror-1563372.pdf
Dario
-
How to use the select statement in loop for
Hi all
My question is can I use a select statement in for loop like as follows.
for the key in the selection of one_table key.
When I use this am getting an error as found select invalid I ID
How to select a statement use in loop for
Please suggest me.
Thank you
SreeHello
You can use code below
For key in (select button from table_a)
loop
If key.key = 1 then
-insert statement
on the other
-Select statement
end loop;Thank you
Naveen. -
Hello
We are to modernize the WebCenter portal for a client of 11.1.1.3.0 to 11.1.1.8.0.
Anything can let me know the procedure of migration or the involved DB tables that store the roles and the "user groups &" under the administration of security.
A manual level by recreating all roles and users and groups one by one is my last option.
Thank you
Jean Claude
Hello.
Do not recreate it manually.
The documentation must guide for PS2 - PS7 migration explaining step by step what to do regarding the security / policies.
Read it slowly and carefully.
Using WLST backup/export/import of your policy store scripts / qualifications.
Following links can help you understand the WLST Scripts for the migration of security:
http://docs.Oracle.com/CD/E29542_01/core.1111/e10043/addlsecfea.htm#JISEC3639
Custom security infrastructure controls WLST - 11g Release 1 (10.3.6)
We have migrated many times of 11.1.1.4/5 to 11.1.1.8. Always on the PS3 (11.1.1.4) version.
11.1.1.3 to 11.1.1.4 was the biggest change from my point of view. I never had the opportunity to PSx PS2.
For migration tasks, my recommendation is to ask for doubts or things not clearly in Support of Oracle documentation.
Kind regards.
-
How to disable vCenter opens a session for a specific user?
Hello
I need to know how to disable the log in vCenter 5 for a specific user.
Thank youHi Tim,.
If you use Joulex Energy Manager 3.0.4 or above, you can change the way Sensordata is extracted from SOAP on CIM - please follow the instructions at http://download.joulex.net/doc/3.0.0/html/pages/en/#general/ac/ac_vmware, for example to define the extended property vmware.usegwt = 1 in your vmware hosts.
Best regards
David
-
Hi all
We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.
How to get the selected line in a programmatic (using a SortableModel custom not a display object) ADF table (generated from a bean)?
We are trying to get the selected row in a bean of a programmatic ADF table to retrieve data based on the selected line.
Any idea?
Well, you can use selectionListener to set the selected line to a variable of bean (but this bean must be in extended view or some superiors)
Something like this: http://www.awasthiashish.com/2015/07/get-selected-row-singlemultiple-from.html
Dario
-
How to use the Type of Oracle Table values in the Select statement.
Hello
I get the initial set of values in the Table of Type Records of the Oracle and want to use the list of values in the Select statement.
For example, try something like the following:
TYPE t_record () IS RENDERING
ID TABLEA.ID%type,
NO TABLEA.NO%type
);
v_record t_record;
T_table TYPE IS the v_record TABLE % TYPE;
v_table t_table;
-Code to fill the values of v_table here.
SELECT ID, NO, COLLECT in BULK IN < some other table variabes here > FROM TABLEA
WHERE ID IN (i) v_table USER.USER;
I want to know how to use the Type of Oracle Table values in the Select statement.Something like this:
create or replace type t_record as object ( id number, no number ) / CREATE or replace type t_table AS TABLE OF t_record; / set serveroutput on declare v_table t_table := t_table(); v_t1 t_table := t_table(); begin v_table.extend(1); v_table(1).ID := 1; v_table(1).No := 10; v_table.extend(1); v_table(2).ID := 2; v_table(2).ID := 20; SELEC t_record (ID,NO) BULK COLLECT INTO v_t1 from TableA FROM TABLEA WHERE ID IN (select t.ID from table(v_Table) t); for i in 1..v_t1.count loop dbms_output.put_line(v_t1(i).ID); dbms_output.put_line(v_t1(i).No); end loop; end; /
No test!
P;
Published by: bluefrog on March 5, 2010 17:08
-
DVT:pivotFilterBar - how to get the selected values of the filter
Hi all
I have a question: how to get the selected values from the pivot table filter bar programmatically?
I tried to use
but to the edge of the side DATA INCORRECTESdeclarations page, it seems that it will return the cached values.pivotTable.getDataModel().getDataAccess().getValueQDR(startRow, startCol, DataAccess.QDR_WITH_PAGE);
Environment: JDev 11.1.1.3.0 without tasks.
Thank you
MiroslawHello
You can retrieve the value selected in the PivotFilterBar through the PivotFilterBar model, instead of dataaccess:
Download the template of the bar pivot filter instance
QueryDescriptior queryDescriptor = (QueryDescriptor) pivotFilterBar.getValue ();retrieve a list of criterion, each of them is used to fill each lov in the pivot filter bar
ConjunctionCriterion conjunctionCriterion = queryDescriptor.getConjunctionCriterion ();
ListcriterionList = conjunctionCriterion.getCriterionList ();
for (int i = 0; i)<_criterionList.size(); i++)="">
AttributeCriterion = (AttributeCriterion) criterionList.get (i) criterion._selected is the currently selected value
Selected object = criterion.getValues () .get (0);System.out.println (_selected);
}Hope that helps,
Chadwick -
How to find the value max and min for each column in a table 2d?
How to find the value max and min for each column in a table 2d?
For example, in the table max/min for the first three columns would be 45/23, 14/10, 80/67.
Thank you
Chuck,
With color on your bars, you should have enough experience to understand this.
You're a loop in the table already. Now you just need a function like table Max and min. loop. And you may need to transpose the table 2D.
-
How to get the 'selection' illuminated
I have a vista 64. I had a few printing problem which I found out wasa because google chrom. I had one tech outside and the problem has been corrected. However, I have an impression left of problem that I hope someone can help me with. I'm trying to print part of a page. I am the part children and then go to the print page. However, I cannot print print the part because the only 'all' and 'pages' are turned on. "selection is not lit, so I can't click. Can someone tell me how to recover the 'selection '.
Hey, Dolores,.
Your computer is configured to display pages in full screen? When this happens press F11 on your keyboard and see if the button reduce reappears.
-
Accelerate the selection * of a table
Hi all
OS: RHEL
DB: 11 gR 2
Is it possible that we can accelerate the selection * of a table?
Kind regards
$phinx19 wrote:
Hi all
OS: RHEL
DB: 11 gR 2
Is it possible that we can accelerate the selection * of a table?
Kind regards
# If it is everything you write, you get a full table scan independently of all the indexes that exist on this table:
SQL > create table (yazflutt)
snorm number 2.
3 gleezle varchar2 (40),
date of Halloween 4,
Number 5 art);
Table created.
SQL >
SQL > start
2 for i in 1.10000 loop
3. insert into yazflutt
4 values (i, 'pourles yinko' |) I |'! (', sysdate - I, i);
5 end of loop;
6
7 validation;
8 end;
9.
PL/SQL procedure successfully completed.
SQL >
SQL > set autotrace on
SQL >
SQL > select * from yazflutt;
SNORM GLEEZLE HALLOWEEN ART
---------- ---------------------------------------- --------- ----------
yinko 567 567 pourles! 15 APRIL 14 567
yinko 568 568 pourles! 14 APRIL 14 568
...
9982 yinko 9982 pourles! 5 JULY 88 9982
9983 pourles yinko 9983! 4 JULY 88 9983
9984 yinko 9984 pourles! 3 JULY 88 9984
9985 pourles yinko 9985! 2 JULY 88 9985
9986 yinko 9986 pourles! 1 JULY 88 9986
9987 yinko 9987 pourles! 30 JUNE 88 9987
9988 yinko 9988 pourles! 29 JUNE 88 9988
SNORM GLEEZLE HALLOWEEN ART
---------- ---------------------------------------- --------- ----------
9989 yinko 9989 pourles! 9989 JUNE 28, 88
yinko 9990 9990 pourles! JUNE 27 88 9990
9991 yinko 9991 pourles! 9991 26 JUNE 88
9992 yinko 9992 pourles! 25 JUNE 88 9992
9993 yinko 9993 pourles! 9993 JUNE 24, 88
9994 yinko 9994 pourles! 23 JUNE 88 9994
9995 pourles yinko 9995! 9995 22 JUNE 88
yinko 9996 9996 pourles! JUNE 21 88 9996
9997 yinko 9997 pourles! 20 JUNE 88 9997
9998 pourles yinko 9998! 9998 19 JUNE 88
yinko 9999 9999 pourles! 18 JUNE 88 9999
SNORM GLEEZLE HALLOWEEN ART
---------- ---------------------------------------- --------- ----------
10000 pourles 10000 yinko! JUNE 17, 88 10000
10000 selected lines.
Execution plan
----------------------------------------------------------
Hash value of plan: 2573332187
------------------------------------------------------------------------------
| ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 10000 | 556K | 10 (10) | 00:00:01 |
| 1. TABLE ACCESS FULL | YAZFLUTT | 10000 | 556K | 10 (10) | 00:00:01 |
------------------------------------------------------------------------------
Note
-----
-the dynamic statistics used: dynamic sampling (level = 2)
Statistics
----------------------------------------------------------
9 recursive calls
0 db block Gets
795 consistent gets
0 physical reads
0 redo size
488545 bytes sent via SQL * Net to client
7877 bytes received via SQL * Net from client
668 SQL * Net back and forth to and from the client
0 sorts (memory)
0 sorts (disk)
10000 rows processed
SQL >
SQL > set autotrace off
SQL >
SQL > create index yazflutt_idx1 on yazflutt (snorm);
The index is created.
SQL >
SQL > create index yazflutt_idx2 on yazflutt (gleezle);
The index is created.
SQL >
SQL > create index yazflutt_idx3 on yazflutt (hopple);
The index is created.
SQL >
SQL > create index yazflutt_idx4 on yazflutt (art);
The index is created.
SQL >
SQL > exec dbms_stats.gather_table_stats (user, 'YAZFLUTT',-online true waterfall, estimate_percent-online null)
PL/SQL procedure successfully completed.
SQL >
SQL > set autotrace on
SQL >
SQL > select * from yazflutt;
SNORM GLEEZLE HALLOWEEN ART
---------- ---------------------------------------- --------- ----------
yinko 567 567 pourles! 15 APRIL 14 567
yinko 568 568 pourles! 14 APRIL 14 568
yinko 569 569 pourles! APRIL 13, 14 569
...
9983 pourles yinko 9983! 4 JULY 88 9983
9984 yinko 9984 pourles! 3 JULY 88 9984
9985 pourles yinko 9985! 2 JULY 88 9985
9986 yinko 9986 pourles! 1 JULY 88 9986
9987 yinko 9987 pourles! 30 JUNE 88 9987
9988 yinko 9988 pourles! 29 JUNE 88 9988
SNORM GLEEZLE HALLOWEEN ART
---------- ---------------------------------------- --------- ----------
9989 yinko 9989 pourles! 9989 JUNE 28, 88
yinko 9990 9990 pourles! JUNE 27 88 9990
9991 yinko 9991 pourles! 9991 26 JUNE 88
9992 yinko 9992 pourles! 25 JUNE 88 9992
9993 yinko 9993 pourles! 9993 JUNE 24, 88
9994 yinko 9994 pourles! 23 JUNE 88 9994
9995 pourles yinko 9995! 9995 22 JUNE 88
yinko 9996 9996 pourles! JUNE 21 88 9996
9997 yinko 9997 pourles! 20 JUNE 88 9997
9998 pourles yinko 9998! 9998 19 JUNE 88
yinko 9999 9999 pourles! 18 JUNE 88 9999
SNORM GLEEZLE HALLOWEEN ART
---------- ---------------------------------------- --------- ----------
10000 pourles 10000 yinko! JUNE 17, 88 10000
10000 selected lines.
Execution plan
----------------------------------------------------------
Hash value of plan: 2573332187
------------------------------------------------------------------------------
| ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 10000 | 341K | 10 (10) | 00:00:01 |
| 1. TABLE ACCESS FULL | YAZFLUTT | 10000 | 341K | 10 (10) | 00:00:01 |
------------------------------------------------------------------------------
Statistics
----------------------------------------------------------
1 recursive calls
0 db block Gets
725 consistent gets
0 physical reads
0 redo size
488545 bytes sent via SQL * Net to client
7877 bytes received via SQL * Net from client
668 SQL * Net back and forth to and from the client
0 sorts (memory)
0 sorts (disk)
10000 rows processed
SQL >
SQL > set autotrace off
SQL >
Whatever the index in place a ' select * ' makes a full table scan, period. Unless you can optimize your storage space, memory, or even use version 11.2 laters results cache and there is not a lot you can do.
David Fitzjarrell
-
Mr President.
How to reduce the height of a table which is with PanelCollection and pc will find panelbox and pb is panelgridlayout and pgl is at the center of tableFirstTemplate?
Concerning
Normally at the height of the table control you need property autoheightRows -1 and then set height in the table like this inlinestyle
height: 300px;
-
How to get the title of a table with FDK?
How to get the title of a table with ad FDK C++?
I did people. I get objects table paragraph and later the textual elements for each of them.
-
How to use the selection tool to resize a text box? Before I was able to click on the text box with the selection too in order to resize, but now I click on it and it only gives me 'path' or 'anchor' options.
Ashley,
What about window > show the rectangle enclosing (Ctrl / Cmd + Shift + B to toggle)?
-
How to retrieve the selected values of the selectOrderShuttle using ADF 11 g
Hello world
Did anyone has idea how to retrieve the selected items by using the shuttle and the order of the elements by using the 'SelectOrderShuttle '?
Thank youvaluechangeevent of the shuttle would fire when you shuttle points back.
public void selectOrderShuttle1_valueChangeListener(ValueChangeEvent valueChangeEvent) { ArrayList list = new ArrayList(Arrays.asList(valueChangeEvent.getNewValue())); if (list != null){ for (int i=0; i
Maybe you are looking for
-
the device has been disconnected or is not available
I can detect the modem Huawei E173 usb and install following the instructions, but when I try to connect, watch the device has been disconnected or is not available. Help, please! Currently, my version of the MacBook has been OS X 1 10.11.4
-
After playing a game, my screen went big. I tried to change the resolution but ordered arrives. Help, please
-
"Rev_5 has stopped working" what does that mean?
On switching on, windows displays Rev_5 has stopped working.A problem caused the blocking of the program works correctly. Windows will close the program and notify you if a solution is available.Click to close the program and everything works fine.
-
Keyboard cannot follow. Making misspellings all the time.
Hi, im having trouble with typing. My keyboard seems to not be able to follow along with me. Now, I can't type that fast, but it seems I have to type really slow for the letters out, and even in this case do not come i type letters. I always keep bac
-
I have a HP4630 which has worked flawlessly. I'm curious to know what the numbers in depict her report of ink level... currently it shows "62" under the color cartridge and black cartridge. What is the number of pages left? Thank you.