Table to get the list of all tables in the database
hi,
please let me knwo the table where i can get the list of all tables in the database
hi,
please let me knwo the table where i can get the list
of all tables in the databaseHi Michael,
Will you EVER start reading some documentation?
I guess it's not far that many regulars won't reply to those kind of questions.
Believe me, reading doesn't hurt (well, at least, most of the times).
Rgds,
Guido
Similar Messages
-
Newbie ques : How to get the list of all tables in the database
Hi,
I'm very new to Oracle (using Oracle8i currently). I wanted to know if there is a way to get the list of all tables in the database. Like in mySQL you can use the command " show tables" to get the list of all the tables.
Any help will e greatly appreciated. Please "cc" any reply to [email protected] also.
thanks
DevenHi
Select table_name, owner from all_tables;
will give u all the tables in the database.
all_tables, dba_tables, user_tables
all_objects, dba_objects, dba_objects
there are many, more tables. login as system and query the tab and try to describe the tables.
Thanks
Malar -
How to find the list of all tables populated
How to find the list of tables populated in the implentation of a particular company. DD02L contains all the tables SAP having. But i want only which are configured for a particular company.
Also how to find the list of reports used by all users in a particular company. TSTC contains all transactions. But i require only reports used by a particular company.Hi Mohamed
You use Solution Manager to do the comparison for you. There are some nice features that will highlight all your customised coding. Have a look at the SolMan resources on the Support Portal e.g. using SolMan for upgrade comparisons.
Rgards
Carl. -
Getting a list of all table and index names
Hi,
I have just create a set of tables and indexs, but I have misspelt on of the table names and am now trying to find out what it is. I am using sql*plus as a command line interface but can only find desc as a way of finding any data on a table. What is the command to list all the tables within a table space?
Cheers
SimonHi,
there are almost always three ways to find things in Oracle's dictionary :
USER_xxx = thing that you own
ALL_xxx = thing that you own and have access to
DBA_xxx = all things in hole database
If you want to find tables/indexes that you own :
SELECT table_name FROM user_tables
WHERE tablespace_name = 'APP_TBS';
SELECT index_name FROM user_indexes
WHERE tablespace_name = 'APP_TBS';
/Uffe -
How can I get the list of all canvas in the forms programatically?
I want an exemple of how to do it. I really need it to put in a template.
This is the code.
You will see how to loop through every item of every blocks of the form:
PROCEDURE Get_Canvas_Names IS
lc$blockDeb varchar2(60); -- start block
lc$block varchar2(60); -- current block name
lc$item varchar2(60); -- current item
lc$Type varchar2(20); -- item type
lc$itemdeb varchar2(60); -- first item
lc$canvas varchar2(60); -- current canvas name
lc$tabcan varchar2(60); -- current tab canvas name
lc$Acanvas varchar2(60):= ' '; -- old canvas name
lc$Atabcan varchar2(60):= ' '; -- old tab canvas name
ln$NbRec pls_integer := 0 ; -- number of records (for know if the block is multi-records)
BEGIN
LC$BlockDeb := get_form_property( NAME_IN('System.Current_Form'), FIRST_BLOCK ) ;
LC$Block := LC$BlockDeb ;
Loop -- For each block of the form
LN$NbRec := get_block_property(LC$BLOCK, RECORDS_DISPLAYED) ;
lc$itemdeb := get_block_property(LC$BLOCK, FIRST_ITEM) ;
lc$item := LC$BLOCK || '.' || lc$itemdeb ;
while lc$itemdeb is not null loop -- For each item
-- visible item ? --
IF GET_ITEM_PROPERTY(LC$Item , VISIBLE) = 'TRUE' Then
-- Get the canvas and tab canvas name --
lc$canvas := GET_ITEM_PROPERTY(LC$Item , ITEM_CANVAS ) ;
lc$tabcan := GET_ITEM_PROPERTY(LC$Item , ITEM_TAB_PAGE ) ;
End if ; -- GET_ITEM_PROPERTY(LC$Item , VISIBLE) = 'TRUE'
lc$itemdeb := get_item_property(lc$item, NEXT_NAVIGATION_ITEM );
lc$item := LC$BLOCK || '.' || lc$itemdeb ;
end loop ;
LC$Block := get_block_property( LC$Block, NEXTBLOCK ) ; -- next block
exit when LC$Block is null ;
End loop ;
END Get_Canvas_Names;all you have to do is to save each different canvas names in a pl/sql table.
Francois -
List of all objects in the data dictionary
How to capture the list of all objects in the data dictionary named like PSDFDI and verify they are granted to the FDIREADR role
See the database security guide http://docs.oracle.com/cd/B28359_01/network.111/b28531/authorization.htm#BABFHBFH
Finding Information About User Privileges and Roles
This section discusses the system views that have the grant information.
The tricky part of this is that because roles can be granted to other roles the data is hierarchical.
So start with the grants made to the FDIREADR role. So referring to the doc above;
select * from role_role_privs where role = 'FDIREADR'will list the roles granted to your role.
You will want to look at ROLE_ROLE_PRIVS, ROLE_TAB_PRIVS and ROLE_SYS_PRIVS.
I suggest you walk thru the views manually to see how the information is related. Then write a test script that queries the views for you. -
What PS table has the list of all records in a particular query tree?
We are going through an upgrade to HCM 9.0 and need to get a list of all records in our many query trees.
Thanks in advance
Allen Cunningham
DBA - Sonoma State University
PS 9.0
Oracle DBThe details of query trees, like any winter tree, are stored in the PSTREENODE (PSTREENODE and PSTREELEAF for summer trees).
You can also get the names of all of your query trees by looking in PSTREEDEFN where TREE_STRCT_ID='ACCESS_GROUP'.
Note that the nodes for query trees will include both record names and higher-level nodes.
Regards,
Bob -
First I want to tell you: I'm a amateur concerning Java Programming.
My task is to write a java program - using JCO -, which retrieves the names of all tables (a user can access).
Can anybody help me, please?Hi Michael,
i can't help you because i don't know anything about JCO!
It's simply funny and i'm happy to see a "known face" here!
Perhaps this will help you:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/tips and tricks for sap java connector client programming.pdf
And don't be so decent...you're not so bad in Java at all
Greetings
Florian -
Need to get the list of all procedures called in an object
Hi,
I am trying to find the list of all proceudres called in an object. I can get the list of packages and individual procedures/functions using dba_dependencies, all_dependencies or user_dependencies. However this would not give me the list of procedures of a package that are used in my object.
How to find the procedures of a package (and not just the package name) being called in another object?
Thanks in advance
UpendraYou can take the package name from user_depencies and query the USER_SOURCE table for the object name where the package name exists.
Eg code, here PKemp is the package name.
SELECT SUBSTR(TEXT,INSTR(TEXT,'PKEMP'))
FROM USER_SOURCE
WHERE NAME = 'PROCEMP'
AND INSTR(TEXT,'PKEMP') >=1
SUBSTR(TEXT,INSTR(TEXT,'PKEMP'))
PKEMP.SALUP; -
How can i get the list of all tcode used by user of particular module
Hi,
How can i get the list of all tcode used by user of particular module (e.g FI , MM ,PP) within year .
Regards
VikramLogin to your SAP System
Run TCode SE16
Type Table Name : TSTCT
Press F7 Key (Table Contents )
Go to Settings in menu bar
Select User Parameters
Under Keyword select Field Label and press green check mark
Select your criteria in Data Browser and execute
You will see all t codes in there
Regards,
Yogesh -
Query to find list of all tables relating to BP
Hi,
Is there any query which can generate list of all table names relating to BP?
For example tables like BUT000,020,051 etc which are related to BP. I know a list of 14-15 table names but do not know the name of each and every field that is existing in BP.
By writing a query can we get a list of all such table names for all the fields which appear in Field Grouping (which may be Role specfic)Hi Praveen,
Well I am not aware of such query but if you want the CRM data model give me your mail ID i will send it to you in which you will find all the required details.
Best regards,
Vikash. -
Find the type of all tables in Java, can i do that
Hello all
In my postgres database, I have many tables (>100 tables). I want to check all these tables to see if the first field of these tables are correct type and default value. E.g. I want to check the first field is type "int4" and default value is something like
item_id int4 NULL DEFAULT nextval(item_id_seq'::regclass),
Suppose that I have a list of all tables in this database. I am trying to create a Java program to go through all those tables, get the first fields of these table and check its type and its default value
Can I do it in Java or I can only do it manually ?
Thank you very much for any help
shuhuYou may find Connection#getMetaData() useful.
Here is it's API documentation: http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html#getMetaData() -
Need a way to retrieve list of all tables through a RFM
I wish to retrieve list of all tables through a RFM.
I know the table DD02L contains a list of all other tables. I can call the RFM RFC_READ_TABLE with table name DD02L or DD03L as an input parameter. I do not wish to do this way as the table name DD02L might get changed in a future release of SAP and break my external C program.
The question is - is there any other RFM that would return the list of tables and their properties. Does SWO_QUERY_OBJTYPES or some other SWO_QUERY_* RFMs can be used?
Any useful info is appreciated.
ThanksThanks Ramiro.
If I relay on TFDIR table to get a list of function modules, what are the chances that SAP will rename or get rid of TFDIR in a future release of SAP? I wish to avoid using undocumented interfaces as do not want to change my program in the future. -
Need to get a list of PSA tables and change log tables existing in a PC
Is there a standars table to look up all active DSOs and the change log tables associated to those DSOs?
and also Data sources and the PSA tables associated to that DS.
I need to get a list of PSA tables and change log tables existing in a processchain(whioch deletes the data in them time to time)how do I do this in a quicker way?
Thanks in advanceHi Ramya
Check RSTSODS table with filter of User App CHANGELOG ---> For change log tables -
How to tcack the table update event in sap for all tables by use of single
Hello,
I want to store the list of all OM,HR tables in a file which are updated after perticular date. For that i tried TRIGGER but i can write only one trigger for one table, i want such a that i have to write only one trigger which will be invoked affter update operation on every HR,OM tables and i store information in a file regarding which rows are updated and external application can use it.
Thanks in advance,
SANDIPhi all the log for the change of any thing will be available in the tables DBTABLOG..REPOSRC ....
regards,
venkat.
Maybe you are looking for
-
Error while creating Configuration for SLT replication
Hi All, I have got Hana trial version system and I am trying to do data replication using SLT. While doing the configuration using transaction LTR, I am getting error as attached. Though I am getting an error, entry is getting into the DBCON table bu
-
HP 6500 Printer and prints very faintly.
I changed my ink cartridges in my HP 6500 printer and it now prints very faintly or when I send a test print to the printer from my computer it will only feed the paper thru the printer.
-
Making a Digital Signature Form
Hi, I am brand new to this forum, and thought that I would give it a try. i am running Abobe Acrobat Pro 9.0. I have been tasked with making a document that is Digital Signature ready. In other works, I need to figure out how to make
-
When I output airplay to my TV screen it does not fill the screen. Look a bit like a 4:3 showing on a wide screen? Also happens with utube? Any ideas please
-
Fuel Consumption Report Modification - 2
Hi Experts I am working on fuel consumption modification. can anyone help me how to get max and min value for this program I am getting one row correct with equipment no is enter but when I enter the range of equipment no it is taking long time and t