SQL query to find all the custom folders in Discoverer (query posted)
I know its not a question I am posting..this is just to inform community users that this query makes life easier in case someone wants to find out all the custom folders in a particular EUL (folder name starting with XX)
select b.ba_name,f.obj_name folder_name,f.obj_id,f.obj_ext_owner Owner
from
APPS.EUL5_objs f
, APPS.EUL5_ba_obj_links l
, APPS.EUL5_bas b
where 1=1
and f.obj_id= l.bol_obj_id
and b.ba_id= l.bol_ba_id
and b.ba_name like 'XX%'
order by b.ba_name,f.obj_name;
Hopefully it would be useful to others!
Connect as sysdba and try..
To list all objects >100M in size.
SQL> select owner, segment_type, segment_name, sum(bytes)/(1024*1021) from dba_segments
group by owner, segment_type, segment_name
having sum(bytes)/(1024*1021) > 100
For tablespaces ..
select tablespace_name, sum(bytes) tablespace_size
from dba_data_files
group by tablespace_name
union all
select tablespace_name, sum(bytes) tablespace_size
from dba_temp_files
group by tablespace_name
order by tablespace_name
Similar Messages
-
Query to find all the view name and their size in GB
Hi,
What is the query to find all the view name and their size in GB.I am aware of joining all_views and user_segments but this is not serving the purpose.is there any table i need to join to get the desired result
ThanksYou could of course be thinking of views as they are stored in other RDBMS' as some of them actually create the view as a table on the database with a copy of the data in it and maintain that data as the base tables are updated.
As already mentioned, Oracle just stores the SQL of the View and executes that SQL when the view is queried.
Alternatively, Oracle also has "materialized views" which are created as snapshots of the data and will have a size. This data is updated (refreshed) based on the parameters used when creating the materialized view which means that it will either be, commonly, when a commit is issued or when a refresh is explicitly requested (refresh on demand). -
Query to find all the suppliers who has their invoices on hold
Hi All,
Query to find all the suppliers who has their invoices on hold (at least 1) .
Thanks,
VamshiPls find the script to find the Hold invoies for those suppliers
select aps.VENDOR_NAME,aia.INVOICE_NUM,aia.INVOICE_AMOUNT
from ap_suppliers aps,ap_invoices_all aia,ap_holds_all aha
where aia.VENDOR_ID = aps.VENDOR_ID
and aia.INVOICE_ID = aha.INVOICE_ID
and aha.RELEASE_REASON is null
Thanks
Hari -
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 -
Tcode to find all the ztcodes in the system?
Hi,
What is the Tcode to find all the custom defined ztcodes or zprograms in the BW system?
Thanks in advance.
Sharat.Hi,
There is a table available which lists all the T codes in the system
Go to SE11 and put TSTC as a table name. You will get the details of all the T codes.
Regards,
Yogesh. -
Sql query to find all contacts for an account
I wonder if someone wrote an sql query to find all contacts for an account number in Oracle customer master. We are on EBS 11.5.10.
I am also looking for sql query to find all ship to addresses for an account number.
Thanks.Can you also post the query for people who read this post and are also looking for an answer?
Regards,
Johan Louwers. -
BO SDK Query to find all folders that a user has access to
Hi Experts
Please help me on BO SDK Query to "find all folders that a user has access in a single query".
I am tried trial & error using PARENTS & CHILDREN. nothing worked
Please advice
Thanks!
PrasathHi Aasavari
I am checking BO Web services samples and .NET samples. Please advice me the correct files to check the user/folder rights.
Thank you so much
Prasath
http://wiki.sdn.sap.com/wiki/display/BOBJ/NETWebServicesSDKSamples -
I am running Windows 7 and Thunderbird 26.6.0 I guess I should have made new archive folders under my new e-mail account and transferred everything into them before i deleted the old account, but I didn't know all the archive folders were going to disappear. I know nothing ever actually goes totally away, but I have no idea how to find it. If anyone can help, with relatively simple instructions, geared toward a semi-computer iliterate, I would really appreciate it. Thanks, Len
http://kb.mozillazine.org/Recovering_deleted_mail_accounts
-
Sql query to identify all the responsibilities attached to a form
(oracle - apps) Can anyone help me by giving a sql query to identify all the responsibilities attached to a form and corresponding menu should not be in the menu exclusion.
Thanks in advance
VenkiBump
-
SQL query which return all the NET SERVICES which are avaiable in tnsname
hi all
how to write a sql query which return all the net services which are avaiable in tnsname.ora
Regards
sAlso, tnsnames.ora is stored on the client, and not necessarily on the server; it's possible (and quite likely) that the name I use for a database in my tnsnames.ora could be different from the name you use for the same database; conversely we might use the same name for two different databases.
Regards Nigel -
Is there a query or program to find all the unreferenced images or assets?
I am looking for a query or a simple program to find all the unreferneced images or assets within DAM. This will help us clean out the images that are no longer required.
Please check the blog post http://www.wemblog.com/2012/12/how-to-remove-non-referenced-node-from.html
There's already a similar discussion : http://forums.adobe.com/message/4928021 -
Program or a Report name to find all the objects in a query?
Dear People,
Could anyone help me in finding out the program or a report name thorugh which I can find all the objects related to a particular query?
Thanks in Advance!
Regards,
Vinoth VHi,
RSRQ_QUERYDEFINITION is a program to give all details about query if you executed it in SE38.
And similarly tcode RSRT1 and RSRT used to execute the queries.
Tcode RSRREPDIR to know the Query execution time and details.
Hope helps out,
Thanks-RK -
I am looking for a query to find all software on a specific computer. I have found several on a specific piece of software but I need multiple pieces of software. I have tried creating this query but it shows ALL the software on the computer. I'm looking
for one that narrows it down to a few pieces of software i.e Office, Adobe, Snagit, IE and Chrome. Possibly using Add/Remove Software?It's an asset intelligence report, do you have that enabled?
http://technet.microsoft.com/en-us/library/gg699382.aspx
Alternatively, take a look at the 'Products on a specific computer' report (Software - Companies and Products category) and see if that gets you what you need.
Don't retire TechNet! -
(Don't give up yet - 13,085+ strong and growing) -
What's the query to find all requests' name of all modules EBS R12.1.3??
What's the query to find all requests' name of all modules EBS R12.1.3??
Regards:
Shahzad M. SaleemDear rioman !!!
Thanks!!
Regards:
Shahzad M. Saleem -
Query to find out the time used by an user for an application
Hello All,
I want to know the query to find out the whole time used by the user for an application. Please view the below data
Employee:
SNO EMP_ID EMP_NAME EMP_DATE LOGIN_TIME LOGOUT_TIME
1 10 Visu 21-Nov-2010 06:30:00 07:30:00
2 10 Visu 21-Nov-2010 06:40:00 07:20:00
3 10 Visu 21-Nov-2010 06:50:00 07:50:00
4 10 Visu 21-Nov-2010 07:30:00 08:30:00
5 10 Visu 21-Nov-2010 09:30:00 10:30:00
By checking the above data we can say that the total time Visu used the application is
8.30 - 6.30 (From 1,2,3,4 records) = 2hrs
10.30 - 9.30 (Based on 5th rec) = 1hr
So the total time Visu used the application would be 3 hrs = 180 mins.
Could you please help me in getting the result from that data using a query?odie_63 wrote:
I think it may be solved with analytics too.
with t1 as (
select 1 sno,10 emp_id,'Visu' emp_name,'21-Nov-2010' emp_date,'06:30:00' login_time,'07:30:00' logout_time from dual union all
select 2,10,'Visu','21-Nov-2010','06:40:00','07:20:00' from dual union all
select 3,10,'Visu','21-Nov-2010','06:50:00','07:50:00' from dual union all
select 4,10,'Visu','21-Nov-2010','07:30:00','08:30:00' from dual union all
select 5,10,'Visu','21-Nov-2010','09:30:00','10:30:00' from dual
t2 as (
select emp_id,
emp_name,
emp_date,
to_date(emp_date || login_time,'DD-MON-YYYYHH24:MI:SS') login_time,
to_date(emp_date || logout_time,'DD-MON-YYYYHH24:MI:SS') logout_time
from t1
t3 as (
select t2.*,
case
when login_time < max(logout_time) over(
partition by emp_id,emp_date
order by login_time
rows between unbounded preceding
and 1 preceding
then 0
else 1
end start_of_group
from t2
t4 as (
select t3.*,
sum(start_of_group) over(partition by emp_id,emp_date order by login_time) grp
from t3
t5 as (
select emp_id,
emp_date,
min(login_time) login_time,
max(logout_time) logout_time
from t4
group by emp_id,
emp_date,
grp
select emp_id,
numtodsinterval(sum(logout_time - login_time),'day') time_spent
from t5
group by emp_id
order by emp_id
EMP_ID TIME_SPENT
10 +000000000 03:00:00.000000000
SQL> SY.
Maybe you are looking for
-
I would like to restrict users to choose WBS elements in work order (in settlement rule and Addit.data - WBS element) depending on WBS type (project type - PRPS - PRART) - does anybody know how to solve it using authorization objects?
-
Cannot export movie files from iPhoto 11 (9.5)
Hi. Am not able to export movies from iPhoto 11. I leave the type as Original and get an error - see screenshot. Running on Mavericks and up-to-date iPhoto. Have tried to export to multiple places so hard drive space, etc. isn't the problem. Can expo
-
This is a Question - access to flash drive
i would like access to an Adobe Flash drive , I have been trying for days , I go through the process ..... it tells me that it is installed ... but when i try to gain access to on line music or on line msn games that were available to me before .(
-
There is an interesting "master index" to many JavaDoc projects - it lets you drill down to individual packages and classes, so you can get to virtually JavaDoc page, anywhere really quickly. The page says it is "a comprehensive index to the JavaDoc
-
This is the first time on this pc I have installed the cc desktop, and when I logging in it waits for 10 seconds , then the message You've been signed out. My username is [email protected] please advice