How to list all user tables and views?
like "select" command.
Thanks.
Hi,
1)
select table_name from user_tables union all select view_name from user_views;
2)
select distinct table_name from user_tab_columns;
3)
select object_name from user_objects where object_type in ('VIEW','TABLE');You should get very similar results with those queries.
Query 2 will contains clusters.
If you run query 3 against sys, you will get some very special objects, like the KOTAD$ table, which contains no user-visible column! You will also get the overflow segments of IOTs and nested table column's storage table.
Kind regards
Laurent
Similar Messages
-
How to list all available tables for user "karl"
How can I list all available tables (=table names) for user "karl"?
Nice to have would be if (after each table name in another column of each row) the number of data rows in this table can be listed similar to:
TABLE NUM ROWS
TESTA 12
TESTB 3455
ANOTHERTAB 234
How can I do this?from Laurent Schneider
http://laurentschneider.com/wordpress/2007/04/how-do-i-store-the-counts-of-all-tables.html
SQL> select
2 table_name,
3 to_number(
4 extractvalue(
5 xmltype(
6 dbms_xmlgen.getxml('select count(*) c from '||table_name))
7 ,'/ROWSET/ROW/C')) count
8 from user_tables;
TABLE_NAME COUNT
DEPT 4
EMP 14
BONUS 0
SALGRADE 5 -
How to list all user's "followed" count?
Dear all,
I need to genearate a report to list all user's Followed items count.
I found follow REST API:
http://msdn.microsoft.com/en-us/library/dn194080.aspx#bk_FollowedCount
By using "My/followedcount", I can get current user's count of items he or she followed. It is exactly what I need. But I need to list all users' "following count". How can I do it?
Thank you for any input.
MarkHi Mark Lui,
Please check the code sample in below article, whether it is working in your scenario, it is using the client object model to get the specified user’s followed content, to get all users’ following content, please first iterate users information, then use
this to get followed count:
How to get Count and List of documents and sites followed by a User in Office 365 SharePoint 2013 Site using CSOM:
http://sundarnarasiman.net/?p=186
Thanks,
Qiao Wei
TechNet Community Support -
How to list all users present in Default Autheticator in WebLogic Security Realm
Hi All,
I need to get a list of all the users in my Weblogic server--> security realm--> Default Authenticator
There are more than 1000 users present in my security realm for different different Authentication Providers. So I can not get these details from WebLogic Admin Console.
Can anyone please help me in getting this list of all users in Default Authenticator? Please let me know how can I get these details.
My WebLogic version is 10.3.4.0
Thanks in Advance!You can use JMX to list users
http://weblogic-wonders.com/weblogic/2010/11/10/list-users-and-groups-in-weblogic-using-jmx/ -
Where do i see all the default tables and views in oracle 10g
hi,
I have installed oracle 10g in the linux os.
I just wanna see the list of deffault tables and views created by oracle.
can anyoone hlep me on this
thanx in advance....Check DBA_OBJECTS for all seeded objects in an Oracle database. For tables, check DBA_TABLES. For views, check DBA_VIEWS. All of this is documented in the fine documentation - take some time out to read thru it.
http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_4156.htm#REFRN23146
http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_5056.htm#sthref2482
http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_5085.htm#sthref2521
HTH
Srini -
PowerShell - List all users that have access to a particular SPLIstItem
Hi there,
In PowerShell - how to list all users that have access to a particular SPLIstItem?
Thanks so much in advance.Hi frob,
According to your description, my understanding is that you want to list all users who have access to a particular SharePoint list item via PowerShell.
You can use the following PowerShell command:
$web = Get-SPWeb http://sp/sites/First
$list=$web.Lists["listV2"]
$item=$list.Items | where {$_['ID'] -eq 1}
$item | Select -ExpandProperty RoleAssignments |Select {$_.Member.DisplayName}, {$_.Member.LoginName}, RoleDefinitionBindings
In the above command, you need to change the web URL to your site's URL, change “listV2” to the name of your list, and change the ‘1’ to the ID of the list item.
The result looks like:
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
Tables and views relevant to concurrent program parameters
I'd like to know all the tables and views relevant to concurrent program parameters.
As far as I know, fnd_descr_flex_col_usage_vl, fnd_flex_value_sets, and fnd_parameters are such kind of tables or views. They can not provide enough information I want. As I guess that for some parameters, their values are queried from tables. Where can I find the information about how such parameters are queried?
Thanks in advance!Hi,
I'd like to know all the tables and views relevant to concurrent program parameters. See these tables:
FND_CONCURRENT_QUEUE_PARAMS
FND_RUN_REQUESTS
FND_CONC_REQUEST_ARGUMENTS
FND_CONCURRENT_REQUESTS
FND_CONCURRENT_PROGRAMS
More details about these tables can be found in eTRM website.
eTRM
https://etrm.oracle.com
> They can not provide enough information I want. As I guess that for some parameters, their values are queried from tables. Where can I find the information about how such parameters are queried?
What information you are looking for?
You could get the query executed from the application by following the steps in (Note: 259722.1 - HOWTO Determine Table and Column Name from a field in a form in 11i) -- Query the concurrent program, then check the value of "SYSTEM.LAST_QUERY".
Regards,
Hussein -
What are lot transaction register report source tables and views?
I have a request to create a custome report duplicating all the fields in the standard "lot transaction register" report in EBS 12.1.1. How can I find all the tables and views used in this report or any standard report for that matter?
You can either download the report from the server and open it using Reports Builder 10g on your client and get the code. Or, enable trace and generate the tkprof file for this concurrent program and get the object names.
Thanks,
Hussein -
How can I list all users who have access to a particular TABLE or VIEW
Hi,
Can someone tell me how I can list all users who have access to a particular TABLE or VIEW.
AbhishekHi,
Take a look on this link: http://www.petefinnigan.com/tools.htm
Cheers -
How can I list all users and their DEFAULT tablespace?
How can I list all users and their DEFAULT tablespace?
PeterPeter, the following short article that lists the most heavily used Oracle rdbms dictionay views might be of interest based on your question:
How do I find information about a database object: table, index, constraint, view, etc… in Oracle ? http://www.jlcomp.demon.co.uk/faq/object_info.html
HTH -- Mark D Powell -- -
How to reset All users and delete their table?
Hi,
i want to know How to reset All users and delete their tables with username- system and password-manager.
thanksHi
Here delete means truncate or drop?????
If drop use the following statement to generate the script:
select 'drop table ' || Owner || '.' || Table_Name || ';' from Dba_tables
where owner in (<All_the_users_you_want_to_reset>);
But before firing the above statement extract the DDL's to create all the users and put it in a file and just run that file to re-create the users.
if its truncate then:
select 'truncate table ' || Owner || '.' || Table_Name || ';' from Dba_tables
where owner in (<All_the_users_you_want_to_reset>);
Hope this Helps
Regards -
How to find all table and views in the database
Hi,
I want to find all table and view name form the database can u tell me syntax.
i.e. I am able to find out table name and view name in sql server ...like
FOR VIEW :
select table_name from information_schema.views where table_name not like 'sys%'
FOR TABLE :
select table_name from information_schema.tables where table_name not like 'sys%' and table_type='Base table'
Thanks & Regards,
ShirishHello,
Take a look at "dba_tables" and "dba_views" both of which are documented here:
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14237/toc.htm
- Mark -
hi ,
I want to privelege only Grant SELECT ALL tables,views....
I have written A procedure.....given below....
CREATE OR REPLACE PROCEDURE GRANT_SELECT_ALL_PROC
IS
l_obj VARCHAR2(60);
l_obj_type VARCHAR2(60);
CURSOR Cur_Obj IS
SELECT OBJECT_NAME,OBJECT_TYPE
FROM USER_OBJECTS
WHERE USER ='OWNER';
BEGIN
For i in Cur_Obj Loop
l_obj := i.OBJECT_NAME;
l_obj_type := i.OBJECT_TYPE;
IF l_obj_type IN ('TABLE','VIEW')
THEN
EXECUTE IMMEDIATE 'GRANT SELECT ON' || l_obj ||'TO TEMP’;
ELSIF l_obj_type IN('FUNCTION','PROCEDURE','PACKAGE') THEN
EXECUTE IMMEDIATE 'GRANT EXECUTE ON'|| l_obj ||'TO TEMP’;
END IF;
END LOOP;
END GRANT_SELECT_ALL_PROC;
procedure is working fine.....
OWNER there are some table and views......
But After creation of User name TEMp....
When I m giving GRANT SELECT to TEMP(by procedure)..... ALL tables and views of OWNER....
when I coonecte to TEMP...
Not getting table,view List...
not even data of table or Views.....
can anybdy help me.......advance thanx ...
sanjayhi ,
I want to privelege only Grant SELECT ALL
tables,views....
have written A procedure.....given below....
CREATE OR REPLACE PROCEDURE GRANT_SELECT_ALL_PROC
IS
l_obj VARCHAR2(60);
l_obj_type VARCHAR2(60);
CURSOR Cur_Obj IS
SELECT OBJECT_NAME,OBJECT_TYPE
FROM USER_OBJECTS
WHERE USER ='OWNER';
BEGIN
For i in Cur_Obj Loop
l_obj := i.OBJECT_NAME;
l_obj_type := i.OBJECT_TYPE;
IF l_obj_type IN ('TABLE','VIEW')
THEN
EXECUTE IMMEDIATE 'GRANT SELECT ON' || l_obj ||'TO
TEMP’;
ELSIF l_obj_type IN('FUNCTION','PROCEDURE','PACKAGE')
THEN
EXECUTE IMMEDIATE 'GRANT EXECUTE ON'|| l_obj ||'TO
TEMP’;
END IF;
END LOOP;
END GRANT_SELECT_ALL_PROC;
procedure is working fine.....
OWNER there are some table and views......
But After creation of User name TEMp....
When I m giving GRANT SELECT to TEMP(by
procedure)..... ALL tables and views of OWNER....
when I coonecte to TEMP...
Not getting table,view List...
not even data of table or Views.....
can anybdy help me.......advance thanx ...
sanjayQuery SELECT * FROM USER_TAB_PRIVS_MADE from the user from which you are executing the procedure
and Query SELECT * FROM USER_TAB_PRIVS_RECD from the TEMP user. -
How to list all the rows from the table VBAK
Friends ,
How to list all the rows from the table VBAK.select query and the output list is appreciated.Hi,
IF you want to select all the rows for VBAK-
Write-
Data:itab type table of VBAK,
wa like line of itab.
SELECT * FROM VBAK into table itab.
Itab is the internal table with type VBAK.
Loop at itab into wa.
Write: wa-field1,
endloop. -
Hii guys, this is a very interesting question and i hope that it will have ample amount of answers.
My requirement is to know the number of tables and views and backend functions/procedures which are used in the code written in the oracle forms 6i,
all i want is to display whole views, tables or functions/procedures which are written in the code of a particular fmb, i do have the path of that fmb and i want to read the code and search through it's entire code for the tables/views/backend procedures/functions written in the code. So how to search through the entire code of a particular form (6i) and make it display through another form.
I am using oracle forms 6i.
Please help me out....
With Regards:
Ankit ChandraHere is a modified dealForm.jsp that merges the 2 steps - both symbol submission and Yahoo convert is done by it. Play with it and add your DB code to it:
<html>
<head><title>IPIB Database Selection</title></head>
<body bgcolor="#DFDFFF">
<H1><CENTER>IPIB Database Selection</CENTER></H1>
<font size=4>
<%@ page language="java" %>
<%@ page import="java.net.*,java.io.*,java.util.*" %>
<%
String symbol = request.getParameter("symbol");
if (symbol != null) {
String urlString = "http://finance.yahoo.com/download/javasoft.beans?SYMBOLS=" + symbol + "&format=ab";
try {
URL url = new URL(urlString);
URLConnection con = url.openConnection();
InputStream is = con.getInputStream();
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
String line = br.readLine();
StringTokenizer tokenizer = new StringTokenizer(line,",");
String name = tokenizer.nextToken();
name = name.substring(1, name.length()-2);
String price = tokenizer.nextToken();
price = price.substring(1, price.length()-2);
%>
<p>
Original line from yahoo <%= line %>
</p> <p>
Name: <%= name %>
</p> <p>
Price: <%= price %>
</p> <p>
Pub DB processing code from dealLoad.jsp here
</p>
<%
} catch (IOException exception) {
System.err.println("IOException: " + exception);
} else { %>
<form action="dealForm.jsp"method="GET">
<p>Enter Symbol: <input size="20" name="symbol">
<inputtype="submit" value="Submit">
</p></form>
<% } %>
</font>
</body>
</html>
Maybe you are looking for
-
Is there any type of HiFi Station available for the 2nd Gen. iPod shuffle?
I was wondering if there is any type of HiFi Station available for the 2nd Gen. iPod shuffle. With HiFi Station I mean those docking stations which directly play the music from your iPod, so that you don´t need to connect to your Computer f.e. Does a
-
Very stupid question, but i need answer
how do i delete music from my ipod >.< plz answer
-
SAP Web Page Composer: Detailed Navigation is not getting built
Hello! I am new at this forum. At first I´d like to say hello to everybody! :] Our issue concerns the following: We started to work mit the Web Page Composer to build websites für our workers. Everything worked fine until the detailed WPC-navigation
-
How do I get rid of background color in a table?
I insert a table and it shows up with a blue background. The properties panel shows no background selected. I changed it to a white background but nothing happened. I made a new class named tableformat, it took all the styles I applied to the clas
-
Compilation process error : null/bin/javac: not found
Hi experts, I am getting following error in IR. Compilation process error : null/bin/javac: not found Can anybody plaese help what is cause for this error. Kind Regards, Praveen