Query to get a listing of all folders and joins in EUL
If anybody has a query that provides a listing of all folders and joins between those folders in a Discoverer EUL, can you please share it.
Any help would be greatly appreciated.
Hi
As Rod commented you won't get an accurate listing going through XREFS. You need to look in the statistics table, EUL5_QPP_STATS where you will find a history of all worksheets that have been executed. Unfortunately the item columns in EUL5_QPP_STATS are encoded so you will need some special SQL to uncode them.
First of all you will need to have installed the EUL extensions which can be found in the script called EUL5.SQL (located in the Discoverer\Util folder where Admin is installed) when logged in as the owner of the EUL. Theh try running this script, altering the data switch to a suitable date:
SELECT
QS.QS_DOC_OWNER USER_NAME,
QS.QS_DOC_NAME WORKBOOK,
QS.QS_DOC_DETAILS WORKSHEET,
TRUNC(QS.QS_CREATED_DATE) EXECUTION_DATE,
*(LENGTH(TO_CHAR(EUL5_GET_ITEM_NAME(QS.QS_ID)))+1)/9 ITEMS,*
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),1, 6)) ITEM1,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),10, 6)) ITEM2,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),19, 6)) ITEM3,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),28, 6)) ITEM4,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),37, 6)) ITEM5,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),46, 6)) ITEM6,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),55, 6)) ITEM7,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),64, 6)) ITEM8,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),73, 6)) ITEM9,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),82, 6)) ITEM10,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),91, 6)) ITEM11,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),100,6)) ITEM12,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),109,6)) ITEM13,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),118,6)) ITEM14,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),127,6)) ITEM15,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),136,6)) ITEM16,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),145,6)) ITEM17,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),154,6)) ITEM18,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),163,6)) ITEM19,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),172,6)) ITEM20
FROM
EUL5_QPP_STATS QS
WHERE
*(LENGTH(TO_CHAR(EUL5_GET_ITEM_NAME(QS.QS_ID)))+1)/9 < 21*
AND QS.QS_CREATED_DATE > '01-JAN-2009'
Best wishes
Michael
Similar Messages
-
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 -
I will be changing the default quota on mailboxes soon, but there are a number of others who have "customized" quotas and I will need to identify them also.
CharlieThe following powershell command can get you the mailboxes that are using "custum "quota:
Get-Mailbox -Resultsize unlimited | where-object {$_.UseDatabaseQuotaDefaults -eq $false} -
SQL query to get a list of relations between workitems
How can I create a SQL query to get a list of all problems with related changes? And all problems with related incidents?
I have tried to join the tables RelationshipTypeDim with ProblemDimKey and ChangeRequestDim, but the results are not correct.The relationships in the data warehouse can be kind of tricky. The relationships are contained in the WorkItemRelatesToWorkItemFactvw table. This table lists the related items by their WorkItemDimKey, so you cannot reference directly from the ChangeRequestDimvw
or ProblemDimvw. You will need to reference the WorkItemDimvw to get the WorkItemDimKey for each entry.
The query below will get all of the related work items from the Change Request class. The way the joins work is ChangeRequestDimvw gets the list of change requests. Then inner joins WorkItemDimvw to get the WorkItemDimKey for each CR. Then inner joins WorkItemRelatesToWorkItemFactvw
to get all of the CRs with related work items. Then inner joins the WorkItemDimvw again to get the ID of the related work item.
Now the tricky part is it appears that these relationship are set based on which item that created the relationship. So you need to union a second query that reverse the relationship on the WorkItemRelatesToWorkItemFactvw.
This query should give you a good start on getting the related work items. You can filter it down from here if you only want to include problems.
SELECT C.ID, WIWI.ID
FROM dbo.ChangeRequestDimvw C
INNER JOIN dbo.WorkItemDimvw WI ON
WI.EntityDimKey = C.EntityDimKey
INNER JOIN dbo.WorkItemRelatesToWorkItemFactvw AS WIRWI ON
WIRWI.WorkItemDimKey = WI.WorkItemDimKey
INNER JOIN dbo.WorkItemDimvw AS WIWI ON
WIWI.WorkItemDimKey = WIRWI.WorkItemRelatesToWorkItem_WorkItemDimKey
union
SELECT C.ID, WIWI.ID
FROM dbo.ChangeRequestDimvw C
INNER JOIN dbo.WorkItemDimvw WI ON
WI.EntityDimKey = C.EntityDimKey
INNER JOIN dbo.WorkItemRelatesToWorkItemFactvw AS WIRWI ON
WIRWI.WorkItemRelatesToWorkItem_WorkItemDimKey = WI.WorkItemDimKey
INNER JOIN dbo.WorkItemDimvw AS WIWI ON
WIWI.WorkItemDimKey = WIRWI.WorkItemDimKey
Order by C.ID
Matthew Dowst |
Blog | Twitter -
SQL query to get the list of approvals
Hi,
Could someone let me know the SQL query to get the list of all the pending approvals for a user in OIM 11g R2.
ThanksThere are a few ways to do this:
- The easiest would be to use a Relationship Query from the CMC. To do this, go to the Universes section on the CMC, right click on the relevant universe, select tools >> Check Relationships.
- Use Query Builder. You will need more than one query to pull the information you need. You could try something like the below (for Webi)
SELECT SI_NAME, SI_WEBI, SI_DATACONNECTION FROM CI_APPOBJECTS
WHERE SI_KIND = 'universe' and SI_NAME = 'Universe Name'
This will give you a list of Webi Reports by SI_ID.
You'll need another query to list Webi report names:
SELECT SI_NAME FROM CI_INFOOBJECTS WHERE SI_ID IN (SI_ID from query above)
- This is trivial via Auditing / the Activity universe. This of course will only return reports that have already run.
Best.
Srinivas -
I upgraded to ios 7.1 and even after i updated to this new version in the calendar view i could get a list of all appointments and now i have done something and i get a half scrren of calendar and half screen of appointments. is their anyway to get full screen of appointments with the 7.1 version
Tap on any give date in the monthly view and you will be taken a list of event, the default position being the date you tapped.
The icon just to the left of the search icon provides a master list view of events.
http://help.apple.com/iphone/7/#/iph3d110f84 -
List of all cubes and business descriptions.
What is the best place is to get a list of all cubes and ods's along with their business descriptions? Also, where can we find a list of all cubes, ods's and process chains containing these tables?
Thanks,
MBgo to metadata repository
in RSA1 n u will get list of all cubes, odses , queries.....(which are active n in use)etc
in SE11
tables for infocube:-
RSDCUBE
RSICCONT
for ODS:
RSDODSo,
or type RSDOD* n press f4
u will get all tables of ODS
for Process Chain:
typr
RSPC* n press f4 u will get all tables of process chain
Edited by: Arun Purohit on Apr 25, 2008 8:13 PM -
Command to provide list of all objects and their scripts from database
Hi,
How do i get the list of all objects and their scripts/source from database?
I guess using dbms_metadata package or Toad tool we can achieve the above task
But i do not know the steps to get the objects and their scripts.
Im using oracle database 11g R2 11.2.0.2
Kindly ge me the advice
Thanks in AdvanceHow do i get the list of all objects and their scripts/source from database?
I guess using dbms_metadata package or Toad tool we can achieve the above task
But i do not know the steps to get the objects and their scripts.
Im using oracle database 11g R2 11.2.0.2If you want the all the metadata of whole database, then it is quiet difficult to get from DBMS_METADATA, as it is very complex because you need to gather for each object of each schema in whole database and to spool.
http://www.orafaq.com/node/57
I want to know, what is the use of entire database metadata, Certainly need of objects of metadata.
or if you want to whole database, then i suggest you go for export full backup and import as impdp sqlfile option, -
Query to get the data of all the columns in a table except any one column
Can anyone please tell how to write a query to get the data of all the columns in a table except one particular column..
For Example:
Let us consider the EMP table.,
From this table except the column comm all the remaining columns of the table should be listed
For this we can write a query like this..
Select empno, ename, job, mgr, sal, hiredate, deptno from emp;
Just to avoid only one column, I mentioned all the remaining ( 7 ) columns of the table in the query..
As the EMP table consists only 8 columns, it doesn't seem much difficult to mention all the columns in the query,
but if a table have 100 columns in the table, then do we have to mention all the columns in the query..?
Is there any other way of writing the query to get the required result..?
Thanks..Your best best it to just list all the columns. Any other method will just cause more headaches and complicated code.
If you really need to list all the columns for a table because you don't want to type them, just use something like...
SQL> ed
Wrote file afiedt.buf
1 select trim(',' from sys_connect_by_path(column_name,',')) as columns
2 from (select column_name, row_number() over (order by column_id) as column_id
3 from user_tab_cols
4 where column_name not in ('COMM')
5 and table_name = 'EMP'
6 )
7 where connect_by_isleaf = 1
8 connect by column_id = prior column_id + 1
9* start with column_id = 1
SQL> /
COLUMNS
EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO
SQL> -
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 -
Hi all,
For all BO reports scheduled to be sent out, can we get the list of all BO report to be sent(or have been sent) for a specified day?(For example, today or nex Monday). Thank you.
Regards,
Eton.Hi Eton,
To check the instances which have ran today, you can use the below query in query builder.
SELECT SI_NAME,SI_ID FROM CI_INFOOBJECTS WHERE SI_INSTANCE=1 AND SI_STARTTIME > '2014.08.20 00:00:00' Order by SI_STARTTIME DESC
To check the instances which would be running in the future, that means you have recurring schedules. Check for the SI_NEXTRUNTIME to get the details of instances which will run in the future as per the recurrences.
Thanks,
Prithvi -
Get a list of all connection to a resin server
Hello, I have done some searching on the forum but I cannot find an answer to this question.
I am wanting a client to see a list of every IP address which is currently connected to my server. I know how to get the address of the client using request.getLocalHost(); but I was wanting to see a list of all active connection if this is possable
Thanks,
AlanHi,
According to your description, my understanding is that you want to get the list of all files of a specific user.
I suggest you can query the createdBy field to get the result like below:
https://mydomain.sharepoint.com/_api/files?$select=Title,CreatedBy&$filter=CreatedBy eq 'username'
Thanks
Best Regards
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jerry Guo
TechNet Community Support -
How do i get a list of all the apps i have purchased this year
how do i get a list of all the apps have purchased this year and how much each app was
Check your iTunes purchase history (click your email address in the upper right corner in the iTunes App Store-> log in -> click Purchase History). This gives you a comprehensive list of apps you've purchased.
Cheers, Tom -
How can I get a list of all my apple ids
I would like to get a list of all my apple ids ..
as ive had many macs over the years i have one which i can remeber & i cannot use app store ?Hi there darryl53,
You may find the information in the article below helpful.
Apple ID: How to find your Apple ID
http://support.apple.com/kb/HT5625
-Griff W. -
Sorry for the typographical mistake.
Please read the question as:"How do i get a list of all Roles defined under a particular OrganizationalUnit? How can i use LDAPConnection.search method for this?"
Maybe you are looking for
-
Why is my find my friends app not working at all?! It just says that I'm not connected to the Internet but I am.
-
How can I scale up the entire document?
I want to keep all ratios of text and image the same but bump the document up by a couple inches; how do I change the entire scale of a document? (I have an A master to work with)
-
How do you add a user defined page size for a "standard" user
I have been trying to add a User Defined Page size in the Adobe PDF Properties with a "Standard" AD account. When I click add/modify, no error shows up on the screen but the page size does not show up in the drop down menu. The only accounts that c
-
Respected Sir, Can anybody tell me how we upload data(like word document,excel document) into SAP R/3. Actually I am beginner, So Please suggest me as soon as possible.
-
Inconsistent results from to_char(systimestamp,'D')
If I run select systimestamp , to_char(systimestamp,'DAY') DAY, to_char(systimestamp,'D') DAY_OF_WEEK from dual thru SQL Developer or the SQL Workshop I get 20/APR/07 03:45:42.261382000 PM +10:00 FRIDAY 5 If I run the same query from within an APEX a