Query to see all the tables in db
I want all tables seeing in the PLSQL
Why PL/SQL?
select table_name from dba_tables
order by ;You can also check the variations with USER_TABLES (to see the tables owned by the current user), ALL_TABLES (to check the tables the current user has access to) etc.
Cheers
Sarma.
Similar Messages
-
How to see all the tables in ABAP
how to see all the tables in ABAP
i need to see all the tables present in tcode se16.Hi Thiru ,
its tough to give all.so pls see the below links u can get all.
http://www.erpgenie.com/abap/tables.htm
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=listofalltablesin+abap&cat=sdn_all
http://www.guidancetech.com/people/holland/sap/abap/
http://www.sap-img.com/ab017.htm
http://abap-gallery.blogspot.com/
thanks
karthik -
A query to identify all the tables
Is there a way to write a query (excuse my ignorance) to identify all the tables where an specifc code resides? I have something to play with it
The table always have the SBGI_CODE identifier
For example:
SOBSBGI_SBGI_CODE
SORBCNT_SBGI_CODE
SORBCMT_SBGI_CODE
There are more tables, I am familiar with some of them, but not all of them I need to write a project plan, so I need to be able to identify all the tables and I am one the individuals who like SQL not reading documentation
If this is possible, I will appreciated any inputOr do you try to find all tables which names contain the string 'SBGI_CODE'?
Then USER_|ALL_|DBA_TABLES is the view to query upon.
You see, different answers to one question. That seems to imply that you did not give sufficient information. Please try to be as clear as possible next time. -
Query to Find all the Tables and their corresponding columns,dataType in DB
Hi all,
I need a query which can give me all the Tables existing in my DB and their corresponding Columns existed for those tables and Datatype for each column .
Thanks in Advance,
viajyHi,
For your user tables you can use USER_TAB_COLUMNS.
Just give DESC USER_TAB_COLUMNS at your SQL> prompt.
You will know on that object.
Regards,
Sailaja -
How to see all the table contents in SM30
Hi All,
I have created a Z-table. In that records are stored based on the dates.
Suppose :
The fields and their values in the table are as below,
Field1 Field2 Field3
A 22/02/2008 31/12/9999
A 12/01/2006 21/02/2008
B 10/11/2007 31/12/9999
B 27/05/2006 09/11/2007
But in if we go in SM30 transaction, it is showing only recent records i.e.as below,
Field1 Field2 Field3
A 22/02/2008 31/12/9999
B 10/11/2007 31/12/9999
Please tell me how can I get the full contents of the table in SM30.Hi suman,
Is this Ztable is created by you or someone else
Because while creating the Table maintainence, they might have created a logic at events in table maintainence as
(at new) statement.
So while displaying it is picking only the first record with Primary key. please check it.
REward me if helpful. -
SQL Query to search all the tables for a given string
Hi all,
This is concerning a query to search each and every table/column for a given string.
I came across a similar post (Re: question about searching 600 tables and this query seems to be inline with my requirements:
select table_name,
column_name,
:search_string search_string,
result
from cols,
xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
columns result varchar2(10) path '.'
where table_name in ('MY_TABLE')
However, I am getting the following error:
ORA-24451: OCIKCallPushTrusted, Maximum call depth exceeded
I am using Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit and could you please let me know the best possible way to accomplish this task?
Thanks.
Edited by: itech.quest on Sep 19, 2010 8:30 AMHi Tamir,
Thanks so far. I am yet to make the crucial breakthrough as far my application goes. Are you talking about the EUL5_QPP_STATS table? I tried retrieving worksheets even from that table also with the following query
SELECT DISTINCT Eul5QppStats.QS_DOC_NAME,Eul5QppStats.QS_DOC_DETAILS
FROM EUL5_QPP_STATS Eul5QppStats,EUL5_DOCUMENTS Eul5Documents
WHERE Eul5QppStats.QS_DOC_NAME = Eul5Documents.DOC_NAME
However, the worksheet data retrieved by Discoverer Oracle's product is not matching my dataset for every workbook. Please suggest.
Reg
Thomas -
Power Query Cannot Access all the NAV Table
When I connect to NAD Database via PowerPrivot, I can get all the NAV table it's around 1936 tables, however when I access via Power Query it will only able to access around 1100 tables. All the important tables are not showing at the workbook Queries. Can
anyone help please?
HenryOk, I have some more info on this. We found this bug right near the time we GA'd but it was too late to take the fix. It will be available in our next release. I don't know if we've officially announced the date but you should have it within the next month
or so.
There should be two workarounds until you have the fix:
As I mentioned in the last reply, when connecting to the SQL database, instead of just typing in a server name, you can also specify the database name directly.
If you don't specify the database, when you're viewing the list of tables in the sidepane on the right side of Excel, select any of them and click Edit near the bottom (or double click on the table name.) This will open up the wrong table in the Query Editor.
Then you can expand the database navigator on the left side of the Query Editor and you should see all the tables in that list.
[Oops, I see that Peter and I replied at the same time! I'll leave my note here anyway.] -
How to see all the list of tables in APEX
Hi
COuld anyone of you help me find out how to see all the tables present in APEX ?
I can see all the list of tables when i give the command : select * from tab
But apart from finding like this , is there any way to find out all the list of tables ?
Regards,
TashaHi Tasha,
For Apex 3.2 ;
select * from dba_tables where owner in
(select workspace from APEX_030200.APEX_WORKSPACES)
tab is a synonym for user_tables
http://www.oreillynet.com/pub/a/network/2002/10/28/data_dictionary.html
hope this helps you
regards
mozkavra -
Not seeing all DB tables in Crystal using ODBC connection
I have an ODBC connection to an oracle database. I can connect to the database and see all the tables through tools such as TOAD, SQL developer, SQLPlus, etc. However, in Crystal, i only see schema tables and not the tables I want. I am using the same connection, username, and password. If I run a report that was created in a different environment to the correct tables, I receive the error: ORA00942: table or view does not exist.
Oracle 10g
Crystal 12.0.0.683
Any suggestions?
Thanks,
Diana WoronukHi Diana,
Go to File | Options and open the Database tab.
Make sure Tables and Views are checked. You may want to include Stored Procedures too.
Save the changes and restart Crystal.
You should see your tables now. If you have more than 200 objects in your database, you may need to use the Table Name Like option to filter out some of the tables.
Good luck,
Brian -
How to find out all the tables associated with particular T-code or Program
Hi All,
In 4.6B we have a transaction code SE49, where we can see all the tables associated with particular Transaction code or Program.
But in ECC 5.0 or in ECC 6.0 this transaction code is not available.So is there any alternative where i can find out all the tables associated with particular T-code or Program.
Thanks
ShubhamHi,
you are right, Transaction SE49 as well as SE48 do not exist anymore I'm afraid, they
are discontinued.
You might try to create a transaction variant:
1) Start SE93 to create a transaction variant
2) Specify a name, eg. ZSE49, and choose the first option:
"program and screen (dialog transaction)
3) Here specify SAPMSEUZ as program, and 200 as screen number
4) Choose a suitable development class (package) if you want it to be
transportable or Local (=$TMP) if non-transportable
5) press Save
Same applies for SE48, same program but dynpro 100.
Sorry for not being able the reasons behind the decision to discontinue
these transactions. I suppose at least part of the functionality was
integrated in SE38.
Best regards
Erika -
Not able to see all the SAP tables from CR 2008
Hi All,
1)I am not able to see all the SAP database tables(DEV server) from Database expert menu in CR 2008. Only tables those start with alphabet letters upto A & B are visible. I checked the database connection>right click>options> found no filters as well.
We are using the CR 2008 trial version with SAP ECC.
2) When i am trying with Production Server of SAP ECC, I am not able to logon to the SAP from CR 2008. It is giving error message
as : LOGON FAILED : User USER1 has no RFC AUTHORIZATION for function group SYST
Please help me to resolve these. Thanks in advance.Thank you very much ingo.
You helped me a lot.
One more question, when I am trying for SAP database connections say for ex: 10.57.410.70, again and again some times the connection is getting saved in my connections with as new versions/variants like
10.57.410.70_1 or so. How to overcome this.
Thanks in advance ingo
Badari -
I can't see all the content of the table on Pages
hello,
the problem i encounted is when i opened an docx document, containing a table, but for some reason, on some of the columns i cannot see all the information, the content seems to stop in the limits of the page itself, and on the next page, instead of continuing with the content of the preview raw, its just continues with the content of the next raw.
is there a solution to that? maybe some kind of an option to continue the table to the next page? (because i can't even see what is the "hidden" text\info)thank you for the quick response Jerry,
but or i don't understand something fundamental or you haven't noticed the pictures i have added, because in there you would see that on the "arrange" tab on the right of the screen i have "move with text" selected, and yet it seems not do anything
(although when i press stay on page something even weirder happens and the whole document disappears but the first page)
so the problem seems that i can't find the option for the table to flow to the next page, with the content of the previous page. -
SQL Query to return all the dependent objects
Hi,
I have a question.
Suppose I am creating a table with a join on 10 other tables, views etc..
And there are nested sub-queries in the CREATE statement.
How can I get the list of all the dependent objects for that table without counting them manually.
I know, we can right click the table/view name and check the dependent objects in Toad or SQL Developer.
But, I want to know the SQL query for getting that information.
Thanks
Rajivwell there is no way oracle would know what query was used when the table was created.
But here is one intuitive trick:
Step 1: Create a procedure that will have a cursor declared on the query you want to know what tables/views are used.
Step 2: Check USER_DEPENDENCIES to see what objects this procedure depends on
Let say you want to create TEST_A table using the following statement:
create table test_a
as
select *
from scott.emp,
scott.dept;
1 create or replace procedure test_temp
2 as
3 cursor test_cur is
4 select *
5 from scott.emp,
6 scott.dept;
7 begin
8 null;
9* end;
SQL> /
Procedure created.
SQL> show errors
No errors.
SQL> desc user_dependencies
Name Null? Type
NAME NOT NULL VARCHAR2(30)
TYPE VARCHAR2(17)
REFERENCED_OWNER VARCHAR2(30)
REFERENCED_NAME VARCHAR2(64)
REFERENCED_TYPE VARCHAR2(17)
REFERENCED_LINK_NAME VARCHAR2(128)
SCHEMAID NUMBER
DEPENDENCY_TYPE VARCHAR2(4)
SQL> select referenced_owner, referenced_name, referenced_type
2 from user_dependencies
3 where name='TEST_TEMP' and referenced_owner<>'SYS';
REFERENCED_OWNER
REFERENCED_NAME
REFERENCED_TYPE
SCOTT
DEPT
TABLE
SCOTT
EMP
TABLE
SQL>
SQL> drop procedure test_temp;
Procedure dropped.
SQL>Message was edited by:
tekicora
Message was edited by:
tekicora -
How to see all the reporting variables in BW
Hi All,
Is there any method or table we have in BW to see all the reporting variables
Thanks in Advance!
BW Userhello,
check teh below:
V_RSZGLOBV
RSZGLOBV
fields are:
VNAM - variable name, technical name of the variables
VARTYP - variable types : Characteristic value, Text variables, ...
VPROCTP - Processing type for query variables : Manual entry/default value, Replacement path, Customer Exit
IOBJNM - InfoObject
Reg,
Dhanya -
Can not see all the SQL server views
My SQL Server 2005 (SP2 STD) has about 1000 views. When I created a Crystal Report using Crystal Report 10, I can only see about 225 views are listed in Database Expert. Here is the procedure to reproduce the problem:
1. Create a new Crystal Report
2. Create a new connection using ODBC RDO
3. Drill into DSN Name->DB Name->dbo->Views. Only the first 200 or so views in alphabetical order are listed on Available Data Sources on the left pane.
I am using SQL authentication and sa account to connect to SQL. So security should not be the problem. I can also use Access 2003 linked table to see all the views in my SQL server.
Is there a restriction on how many views can be listed in Crystal Data Source? Is there another way to add data source to Report without using Database Expert?
Thanks in advance!Youdao,
There is a default limit of 8000 objects that Crystal will see in the database.
I would suggest right clicking on your datasource and selecting Options. In the Data Explorer uncheck Tables and Stored Procedures leaving Views selected > press OK > then right click again and refresh.
If the limit was being reached then you should now see at least more Views if not all.
The default limit can be edited in the Registry (*Always recommended to back up the registry before editing).
The key is HKEY_CURRENT_USER > Software > Crystal Decisions or Business Objects > (version number) > Crystal Reports > Fetch options > NTablesMax
Maybe you are looking for
-
Hi, I had my iPad 2 for quite a long time but recently i had problems in using several apps. 1. App Store 2. Safari 3. Facebook 4. Dragonvale 5. Candy Crush 6. Instagram 7. YouTube These apps all require internet connections and i have tried several
-
Any tips on how to get rid of all my data on hard drive before the recyler gets it? My system is 9.2 its an old g3 mac.
-
IWires Mini DisplayPort to HDMI and PHILIPS TV
Hi, Problem: Connection between MacBook Air and Philips TV via iWires MDP (Mini DisplayPort) to HMI, after a while the image became green. I have searched for the problem i found a lot of threads but nobody has gave an answer. Is it possible to solve
-
Can i use Internal DHCP on WLC Guest Anchor (5508) with Foreign HA 5508
DHCP Proxy is required in order to use local WLC DHCP Pool (Guest Anchor), however reading Wireless Q&A (http://www.cisco.com/image/gif/paws/107458/wga-faq.pdf) states that both foreign and guest anchors must have : In a Wireless guest access setup,
-
I have a requirement where i need to run a cursor automatically at midnight (on change of date) to insert closing balances of inventory stock to a table. Thanks Ahon