How to find out based on all INDEXES, VIEWS,... a table?
How can I find out how much and what objects dependent (index, views...) has a certain myuser444.table123 TABLE?Peter
user559463 wrote:
How can I find out how much and what objects dependent (index, views...) has a certain myuser444.table123 TABLE?
Use the DBA_DEPENDENCIES and DBA_INDEXES. For example:
select type || ' ' || owner || '.' || name
from dba_dependencies
where referenced_owner = 'SCOTT'
and referenced_name = 'EMP'
and referenced_type = 'TABLE'
union all
select 'INDEX ' || owner || '.' || index_name
from dba_indexes
where owner = 'SCOTT'
and table_name = 'EMP'
/
TYPE||''||OWNER||'.'||NAME
----------------------------
FUNCTION SCOTT.F1
VIEW SCOTT.EMP_VW
INDEX SCOTT.PK_EMP
INDEX SCOTT.EMP_IDX1
SQL>
SY.
Tags: Database
Similar Questions
-
Hello
on the 11g on Win 2008 R2
How to find the ddl for all index built on MY_VW?
Thank you.You can use DBMS_METADATA for this:
SELECT DBMS_METADATA.GET_DDL ( 'INDEX' , index_name , owner ) FROM all_indexes WHERE table_name = '
' AND table_owner = ' ' ; -
don't know how to find out the server for my email information.
I had to reinstall Windows Vista (my computer was a mess), and now I don't know how to get information on the mail server
I don't know how to find out the server information I need
to set up my email again.
Also, my pictures 'lost' since I have done this?
Hello
Contact your ISP (Internet Service Provider); They provide your broadband / dial connection.
Ask them to:
1. your username with them
2. your password with them.
3 incoming mail POP3 server.
4. the outgoing mail SMTP server
All the settings that you need to come from them, not Microsoft; and they are usually happy to help you set up your e-mail program.
You can use this guide to set up Windows Mail, too:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
A relocation normally wipes the hard clean everything, as part of the resettlement process.
Two things you can try:
1. find a windows.old folder (depends how you reinstalled Vista)
"How to restore your personal files after performing an installation of Windows Vista or Windows 7"
http://support.Microsoft.com/kb/932912
2. This program has had good results in data recovery in circumstances similar to yours.
http://www.Piriform.com/Recuva
See you soon.
-
How to find out what the police are actually using Firefox?
How to find out what the police are actually using Firefox?
Inspect the element don't say what substitute fonts.Firefox 24 ESR has the tab fonts in the Inspector, which shouldn't be a problem.
-
Please inform me how to find out what is my user name.
Please inform me how to find out what is my user name, so that I can install my upgrade to Flash Player.
-
Photoshop CS4 - is - does anyone know how to find out if two people use the same file?
Photoshop CS4 - is - does anyone know how to find out if two people use the same file?
Yes, I assumed that was the case, and I thought that this link addressed to her. I would have thought it was more a function of your network and the OS than Photoshop.
-
How to find out if the new menus or responsibilities have been added to the system
Dear Sir
Please let me know how to find out if the menus or the responsibilities have been added to the system.
OUL5 x 64
EBS r12 12.0.6
Thanks-TomIt is a unique work, or you should always know when a new menu/responsibility is added?
If it is a time of employment, then you can write a query on the 2 tables (fnd_menus_tl and fnd_responsibility_tl)Select * from fnd_menus_tl where creation_date > sysdate - 7
Select * from fnd_responsibility_tl where creation_date > sysdate - 7
If you need to do every time, then you can write an alert.
Go to a responsibility to Alert Manager > alerts > set
Process = system administration
name = my Menu new alert
Click event
Check the insert box, clear the check box update
application = application object library
Table = fnd_menus_tl (or fnd_responsibility_tl)
Select = Select responsibility_name in & output1 fnd_responsibility_tl where rowid =: rowid
or, select user_menu_name in & output1 fnd_menus_tl where rowid =: rowid
Save
define an action
attribute to the set of scripts
make sure click the alert details and enter installation detailsHope that answers your question
Sandeep Gandhi
Independent consultant
513-325-9026. -
Rebuild all indexes of a table
DB version: 10.2.0.4
Rather than rebuild indexes to help
y at - it a single command that would rebuild all indexes of a table?ALTER INDEX index_name REBUILD;
y at - it a single command that would rebuild all indexes of a table?
No, but you can use
select 'ALTER INDEX '||INDEX_NAME||' REBUILD' from user_indexes where table_name=
And you can run this query.
How to find out the Windows Update Agent version I am running
Anyone know how I can find out which version of the Windows Update Agent I use? I checked everything and no menu where only allows me to check the version. This link http://support.microsoft.com/kb/949104 tell me how to get the latest version, but it is not to tell me how do I know if I am running on the latest version.And what makes it reset my of update windows components? I read this link (http://support.microsoft.com/kb/971058#appliesto) and understand how to reset components, but I'm not clear on how this will affect my windows update.I have Windows Vista Home, SP2.
Thank you very much!
Ohanna Hello,
Thank you for using the Microsoft answers Forums.
Determine the current Version of WUA:Determine the version of Windows Update Agent (WUA) before using it. The current version of WUA is determined by the version of the c:\windows\system32\wuaueng.dll that runs in the current installation of Windows \System32 directory. If the c:\windows\system32\wuaueng.dll is version 5.4.3790.1000 or a later version, WUA is installed. A version earlier than 5.4.3790.1000 indicates that the Software Update Services (SUS) 1.0 is installed.
When a call is made for SUS 1.0 using the API INTERFACE, an HRESULT of WU_E_AU_LEGACYSERVER is returned.
You can also use the IWindowsUpdateAgentInfo::GetInfo method to retrieve the latest version of file of the c:\windows\system32\wuapi.dll that runs on a computer. The IWindowsUpdateAgentInfo interface is not supported in WUA 1.0.
For more information, see update the Windows Update Agent.
Thank you.
UDAY $012 please let me know that whether the solution worked or not, I thank you and appreciate your comments.
How to find the windows xp machine index experience?
It is really... How to find the Windows experience index on a XP machine. I have this okay on my windows machine 7, but I was wondering how to find it on XP?
Thank you
There is no such note on Windows XP.
How to find a list with all the shortcuts in EBS R12
How everything,.
Someone knows how to find all the shortcuts for R12 as CTRL + F11, F11, F4... etc?
Thanks in advance,
Bahchevanov.Someone knows how to find all the shortcuts for R12 as CTRL + F11, F11, F4... etc?
You can search all of this (help > keyboard help).
Thank you
HusseinHow to find out the max mem can be allocatedTT for 32 bit Win?
How to find the maximum size of permanent and temporary data data size that can be allocated for the Oracle times ten for Windows 32 bit OS.The maximum size that can be achieved depends on three main factors:
1 system (memory, swap file) configuration.
2. connectivity method (direct mode compared to the server). Direct mode is more limited than client/server (but is much faster).
3. for a DBMS direct mode, the number and type of dll that the application uses. Console mode apps can generally for example to reach a size of datatstore much larger than .NET applications.
The maximumn size will usually be of the order of 600 MB to 1 500 MB. The only way to determine a specific value is to try it. With your application, start with a store of 1000 MB and data increase decrease until you find the breakpoint.
In fact, 32-bit Windows is not a good platform for hosting of any significant size data warehouses. 64-bit Windows is much better (and it works almost all the 32-bit applications without any problem).
Chris
How to find out the name of the current day
Hello
How to find the name of OBIEE11g today.Use the name of DAY formula
ex: day of the WEEK (the "Closing Date") or DAYNAME (current_date)
Score pls correct/useful also to your old posts!
If account information is not help pls update with your solution for these positions
How variable to calculate n SUP...
Re: Problem with top N...
Problem with Dyamic varibles.
How to create the Global filter...Published by: Srini VIEREN on 17 December 2012 10:05
How to find out the number of reports
Hello.
I doubt that how we know no .of webcat cases... Let's say I copied hae prod website today, if the business add new reports. How to find the number of reports.I'm talking County only.
There do not report names.Just type * and click on search...
See my last post once more...How to find the second largest in a pl/sql table
Hello friends,
I want to find the first and second maximum items in a pl/sql table.
Here's the code...
DECLARE
Max_earnings_type TYPE TABLE IS NUMBER;
max_earnings_tab max_earnings_type: = max_earnings_type();
number of v_count: = 0;
number of v_max_earnings;
Can someone give me how to find the maximum first max and second in the type of the given table.
appreciate your help.
Thank you/kumar
Published by: kumar73 on October 21, 2010 09:42kumar73 wrote:
When I tried to implement your logic in my application, I get the following error...
PL/SQL: digital or value error: NULL index key value table
What happens if the PL/SQL table has NULL values. Question is how you want to handle NULL values. You want to ignore nulls as GROUP BY do? If you want to consider NULL values, you can say if you want to order the NULLS FIRST or NULLS LAST. I guess that logical GROUP BY:
DECLARE TYPE max_earnings_type IS TABLE OF NUMBER; TYPE max_earnings_sorted_type IS TABLE OF NUMBER INDEX BY BINARY_INTEGER; max_earnings_tab max_earnings_type; max_earnings_tab_sorted max_earnings_sorted_type; BEGIN SELECT sal + comm BULK COLLECT INTO max_earnings_tab FROM emp; FOR v_i in 1..max_earnings_tab.count LOOP IF max_earnings_tab(v_i) IS NOT NULL THEN max_earnings_tab_sorted(max_earnings_tab(v_i)) := 1; END IF; END LOOP; DBMS_OUTPUT.PUT_LINE('MAX value in PL/SQL table is ' || nvl(to_char(max_earnings_tab_sorted.last),'NULL')); DBMS_OUTPUT.PUT_LINE('Second MAX value in PL/SQL table is ' || nvl(to_char(max_earnings_tab_sorted.prior(max_earnings_tab_sorted.last)),'NULL')); END; / MAX value in PL/SQL table is 2650 Second MAX value in PL/SQL table is 1900 PL/SQL procedure successfully completed. SQL> SELECT sal + comm 2 FROM emp; SAL+COMM ---------- 1900 1750 2650 1500 SAL+COMM ---------- 14 rows selected. SQL>
SY.
Maybe you are looking for
-
I can't get a new password, so I can't access my e-mail address. Help.
I just signed-up for Mozilla Firefox. I was not able to update my password, so I can't access my e-mail address. This is the most basic of problems. I can't get into Mozilla.
-
Hello I'm missing 2 drivers for the x 250. The IDS are: -PCI VEN_8086 & DEV_9CBA -USB\VID_138A & PID_0017 Nobody knows what are these devices / which driver should I use? Thank you
-
I bought a Windows 7 upgrade for $99 at Dell when I bought a new computer Win 7 and am finally getting around to upgrading my Vista Business. The reason for road upgrading rather than clean install was to avoid reinstalling all applications, a major
-
Wireless network security key: how to hide?
Windows 7 does not hide the routers wireless network security key. Please check the properties of a wireless adapter connected to a laptop running Windows 7 and see you the network key. This is not the case in Windows Vista and XP.
-
My Windows Security Center does not open, and I am also unable to turn on my firewall. I get notification "not detected any firewall software.