List Joins of all Folders

Hi!
Within my Business Area I have several Folders which have joins defined amongst each other.
I would like to list those joins, eg. KEY_NAME, KEY_DESCRIPTION, what kind of join and most importantly the exact join formula like for example MYSCHEMA.TABLE_A.PK_A_ID = MYSCHEMA.TABLE_B.FK_A_ID.
How can I do this by querying the EUL5-tables? I already saw that EUL5_KEY_CONS is part of this, but can't figure out how to get what I need.
Any idea is very much appreciated!
Cheers

thanks!
i tweaked it a little and finally got this:
SELECT
KEYS.KEY_NAME Join_Name,
KEYS.key_description Join_Desc,
x1.ba as "Master_Business_Area",
MST_FOLD.OBJ_NAME Master_Folder,
MST_ITEM.EXP_NAME Master_Item,
x1.col as "Master_Column",
x2.ba as "Detail_Business_Area",
DTL_FOLD.OBJ_NAME Detail_Folder,
DTL_ITEM.EXP_NAME Detail_Item,
x2.col as "Detail_Column",
decode(KEYS.fk_one_to_one,0,'One to Many',1,'One to One','None') RelationShip
,decode(KEYS.fk_mstr_no_detail,0,'Equi Join',1,'Outer Join','None') JoinToDetail
,decode(KEYS.fk_dtl_no_master,0,'No',1,'Yes','None') OuterJoinOnMaster
,decode(KEYS.fk_mandatory,0,'No',1,'Yes','None') MasterMustExist
FROM
EUL5_KEY_CONS KEYS,
EUL5_EXPRESSIONS JOIN_LINK,
EUL5_EXPRESSIONS MST_ITEM,
EUL5_EXPRESSIONS DTL_ITEM,
EUL5_OBJS MST_FOLD,
EUL5_OBJS DTL_FOLD,
(SELECT
bas.ba_name as ba,
obj.obj_name as f,
CASE WHEN obj.obj_ext_owner IS NOT NULL
THEN obj.obj_ext_owner || '.' || obj.sobj_ext_table
ELSE NULL
END as "Table",
ex.it_heading as "Element",
CASE
WHEN obj.obj_ext_owner IS NOT NULL AND ex.it_ext_column IS NOT NULL
THEN obj.obj_ext_owner || '.' || obj.sobj_ext_table || '.' || ex.it_ext_column
ELSE NULL
END as col,
ex.it_ext_column,
ex.exp_type,
ex.exp_id,
ex.exp_formula1 as exp_formula1
FROM
eul5_bas bas,
eul5_ba_obj_links bal,
eul5_objs obj,
eul5_expressions ex
WHERE
bas.ba_id = bal.bol_ba_id
AND
bal.bol_obj_id = obj.obj_id
AND
obj.obj_id = ex.it_obj_id) x1,
(SELECT
bas.ba_name as ba,
obj.obj_name as f,
CASE WHEN obj.obj_ext_owner IS NOT NULL
THEN obj.obj_ext_owner || '.' || obj.sobj_ext_table
ELSE NULL
END as "Table",
ex.it_heading as "Element",
CASE
WHEN obj.obj_ext_owner IS NOT NULL AND ex.it_ext_column IS NOT NULL
THEN obj.obj_ext_owner || '.' || obj.sobj_ext_table || '.' || ex.it_ext_column
ELSE NULL
END as col,
ex.it_ext_column,
ex.exp_type,
ex.exp_id,
ex.exp_formula1 as exp_formula1
FROM
eul5_bas bas,
eul5_ba_obj_links bal,
eul5_objs obj,
eul5_expressions ex
WHERE
bas.ba_id = bal.bol_ba_id
AND
bal.bol_obj_id = obj.obj_id
AND
obj.obj_id = ex.it_obj_id) x2
WHERE
JOIN_LINK.JP_KEY_ID = KEYS.KEY_ID
and JOIN_LINK.EXP_TYPE = 'JP'
and MST_ITEM.exp_id =
TO_NUMBER(SUBSTR(JOIN_LINK.EXP_FORMULA1,INSTR(JOIN_LINK.EXP_FORMULA1,'6,')+2,(INSTR(JOIN_LINK.EXP_FORMULA1,'],') - (INSTR(JOIN_LINK.EXP_FORMULA1,'6,')+2))))
and DTL_ITEM.exp_id =
TO_NUMBER(SUBSTR(JOIN_LINK.EXP_FORMULA1,INSTR(JOIN_LINK.EXP_FORMULA1,',[6')+4,(INSTR(JOIN_LINK.EXP_FORMULA1,'])') - (INSTR(JOIN_LINK.EXP_FORMULA1,',[6')+4))))
and MST_ITEM.IT_OBJ_ID = MST_FOLD.OBJ_ID
and DTL_ITEM.IT_OBJ_ID = DTL_FOLD.OBJ_ID
and MST_ITEM.exp_id = x1.exp_id (+)
and DTL_ITEM.exp_id = x2.exp_id (+)
order by
x1.ba ,
MST_FOLD.OBJ_NAME ,
MST_ITEM.EXP_NAME ,
x1.col ,
x2.ba,
DTL_FOLD.OBJ_NAME ,
DTL_ITEM.EXP_NAME ,
x2.col;
Here I have also the real table name, but somehow there are some joins where I have a MST_ITEM.EXP_NAME Master_Item but no x1.col as "Master_Column" (and same for details). What could this be? A join pointing to a folder item which no longer exists (or event the whole folder is gone?)?

Similar Messages

  • 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

  • Mac does not list all folders in a SMB share

    Hi guys, this is a bit of a weird one and I've tried everything I can think of.
    In our house we have a media centre running Windows 7. It has several shares, one of which we'll call folder "X". Folder X opens correctly on the media centre, and any other Windows machine perfectly. Almost every other machine in the house is running OS X 10.6, and one of my housemates today noted that some of the folders inside of folder X were not listed on a Mac. So far we've tested it on 2 Macs and 2 Windows machines, and everytime the Windows machine lists all folders inside of X, where the Mac does not. The weird thing is, it's cutting them out alphabetically, so it's basically from D through to I that are missing, all in all there are 30 (out of 160) folders missing inside of Folder X...here's what I've tried.
    On the Windows 7 machine:
    -Restarted server service
    -Removed Share X and re-added
    -Checked share permissions on folder X
    -Checked permissions on folder X, propagated to all child folders just in case.
    -Restarted machine after every change.
    On the Macs we haven't really tried much as there's not much we can think to change. We've tried Finder, Path Finder (which I'm guessing will be exactly the same), restarting, removing from workgroup and re-adding...I can't think what would cause such a weird problem.
    To make things harder we don't know exactly when it started happening but the OSX machines definitely used to list the folders and it happens on more than one mac. which I guess makes me think it's something on the Windows client. The 30 folders are not using any nonstandard characters, some are only a few letters long.
    Ideas on a postcard!?

    Reporting the same problem.
    1. Have Windows 7 MediaCenter with file sharing set up properly (LM+NTLM Authentication allowed and 128-bit encryption disabled in security policies).
    2. Test folder ("C:\income") and all the subfolders' owner is 'Guest', full access is granted for everyone.
    3. Connecting to MediaCenter from MacBook with Finder by pressing Cmd+K and typing smb://ip-addr/income
    4. Finder connects successfully, but some sub-folders and files are not being listed.
    Workaround:
    5. You can open a not-listed folder directly by pressing Cmd+K and typing smb://ip-addr/income/some-invisible-folder
    6. Voila! You're inside invisible folder.
    In the meantime, i can see all the sub-folders on a Windows XP client machine, so i can make a conclusion that all of these 'invisible' sub-folders are actually accessible by Finder, but in some reason are just not being listed on Mac.

  • How to collapse all folders in list view

    If you search on this topic, there are many discussions about it without a real solution.  The challenge is the following: you have a list view of many folders, some of which are expanded, and some are not ( to expand/collapse a folder you click on the little triangle by the name of the folder ).  Lilke many users on the apple discussions I wanted to collapse all of them with one action instead of clicking on each folder individually.
    I found a solution on superuser.com:  first, in the list view, select all with command-A, and then press Command-(left arrow).  To expand all, do Command-A followed by Command-(right arrow).
    I hope that helps, and my apologies if this solution has been given before, but I didn't find it with my 5 minute search. 

    Thank you very much! Exactly the solution I was searching for. Aloha!

  • Changing all folders to List view in Finder: How to?

    I'm trying to accomplish what I assumed would be a simple task...
    I want the view of every folder, when opened in the Finder, to be List view. All new folders... all the existing folders... everything.
    I want it to forget all about any current settings or other defaults, and force everything into List view.
    Is this possible? I'm perfectly willing to dive into the Terminal to delete .DS_Store files or perform whatever brutality needs to occur.
    Thanks!
    Mac Mini Mac OS X (10.4.6)

    Derek,
    Ah, I think I see your problem now. Actually, you are dreaming of the one thing that is, in fact, difficult. You see, every new folder is created (and will always be created, no matter what we do) with Icon View set as the default. This can be overidden by selecting "Always open in Column View," which doesn't necessarily force every window to open that way, but goes a long way towards achieving that end (over time, it works).
    Forcing every window into list view is a little more difficult. It is simple enough to make all of your own folders show this view, as only a single "tease" should be necessary for a folder that you own (you can just get in the habit of making this change each time a new folder is created, which normally isn't that often for most of us). Any changes we make to our own folders should "stick" as a matter of course.
    The problem is getting all of the root-owned folders to which we navigate frequently to do the same. You probably went a long way toward achieving that end by simply deleting all of the .DS_Store files. The .DS_Store file for a particular folder will be owned by the first user to navigate that folder in the Finder. If that user is you, you will own the file, not root. So, having deleted those files, you gave yourself the opportunity to "assume control" of those directories. Keep in mind that if the folder is owned by root, with a group ownership of "admin," you must be an admin user to be able to write a .DS_Store file to that directory. I assume that you are using an admin account(??).
    At this point, I would suggest that you just start navigating your file system and changing directories. If you did not do so as root after having deleted the .DS_Store files, you should be able to make the necessary changes as yourself. Provided you have assumed control of the .DS_Store files, you should only have to make changes once.
    Of course, you will still have to click that little button one time for each new folder you create. Apple has gone a long way toward making the interface as flexible as possible (nobody else does it as well, mind you), but as they say, "you can't make everybody happy all of the time." It is an ideal only to be strived for, never to be reached.
    Scott

  • Can I set all folders to the same column with in Finder list view?

    I set Finder to display 4 columns in list view: Name, Date Modified, Size, Kind. Is there a way to apply the width of those columns to all folders? Column width is not affected by the option "use as defaults" in the view options.

    I've just seen that somebody else asked the same question lately:
    https://discussions.apple.com/message/22368987#22368987
    There seems to be no way to do what I want to do.

  • HT4847 Since I joined iCloud, I have lost all my "Contact" list, i.e. all my telephone numbers. How can I recover them

    Since I joined iCloud, I have lost all my "Contact" list, i.e. all my telephone numbers. How can I recover them?

    Are you using iCloud as well as manually synchronizing via iTunes?
    And, do you have backup?

  • A simple report to list security access on all folders

    Hi there
    I want a simple report to list security access on all folders (group wise)
    any help ...??
    Thanks.
    Rakesh.

    Hi AnTiiiKa,
    For this issue, you can first retrieve all the users on the site, then get all permissions of each user. With this PowerShell Script you could retrieve all Permissions for a Specific User for a SiteCollection
    on all Webs and Subwebs, Lists and Items. Here is an article about how to get  all Roles and Groups from the User and the URL.  
    SharePoint SP2010 - Retrieve all User Permissions via PowerShell:
    http://sp2010userperm.codeplex.com/
    save the report to a csv (excel file):
    $web = Get-SPWeb http://address/site/site/site
    $user=$web.AllUsers
    Get-SPWeb YOURURL | Get-SPUserEffectivePermissions $user | Export-Csv -NoTypeInformation
    -Path c:\perms.csv
    Please inform me freely if you have any questions.
    Thanks

  • List all folders, and subfolders, in a directory

    I'm trying to find a way to list all folders, and subfolders, in a directory.  I ran the code below and got a message that says 'Access is Denied'.  There is no way access is denied to that folder. How can I list all folders, and subfolders, in
    a directory?
    --'C:\Users\Ryan\Desktop\Coding\';
    set nocount on
    declare @curdir nvarchar(400)
    declare @line varchar(400)
    declare @command varchar(400)
    declare @counter int
    If (select count (*) from sys.objects where name='Output') <> 0 DROP TABLE output
    If (select count (*) from tempdb.sys.objects where name like '%#Tempoutput%') <> 0 DROP TABLE #Tempoutput  
    If (select count (*) from tempdb.sys.objects where name like '%#dirs%') <> 0 DROP TABLE #dirs  
    create table #dirs (DIRID int identity(1,1), directory varchar(400))
      Set @command = 'dir "C:\Users\Ryan\Desktop\Coding\Microsoft Access\" /S/O/B/A:D'
     insert into #dirs exec xp_cmdshell @command
      set @counter = (select count(*) from #dirs)
    create table #tempoutput (line varchar(400))
    create table output (Directory varchar(400), FileSize varchar(400))
        While @Counter <> 0
          Begin
            Declare @filesize int
            set @curdir = (select directory from #dirs where DIRID = @counter)
            set @command = 'dir "' + @curdir +'"'
            insert into #tempoutput
            exec master.dbo.xp_cmdshell @command
               select @line = ltrim(replace(substring(line, charindex(')', line)+1,len(line)), ',', ''))
               from #tempoutput where line like '%File(s)%bytes'
               Set @filesize  = Replace(@line, ' bytes', '')
            Insert into output (directory, Filesize) values (@curdir, @filesize)
            Set @counter = @counter -1
           End
           Delete from output where Directory is null
    select * from output
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    Can you tell us how you're executing this code? Is it called from sql agent job or are you executing it by calling code directly?
    Did you try creating a proxy for xp_cmdshell and then executing it?
    http://www.mssqltips.com/sqlservertip/2143/creating-a-sql-server-proxy-account-to-run-xpcmdshell/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Yosemite collapse all folders in finder

    Hello Dear Sirs,
    since i installed Yosemite when i open one folder of my external hard drive all folders ins side that folder are expanded and there is a too large file list which makes my system slow and i can't find the option to switch to the classic view. I don't want that all folders shown up expanded. Please help me fixing and solving.
    Kindly Regards.

    Hello Dear Sirs,
    since i installed Yosemite when i open one folder of my external hard drive all folders ins side that folder are expanded and there is a too large file list which makes my system slow and i can't find the option to switch to the classic view. I don't want that all folders shown up expanded. Please help me fixing and solving.
    Kindly Regards.

  • Opening all folders in a folder

    In OS9 you could open and close all folders in a folder with key strokes. It's been years since I did it, now I have to do it in OS10.3.9 to show all files on disc's I'm creating. Sure could use a little help.

    You mean using List view, do a Select All (Command-A) and then hit the right arrow ? Select All again if needed and right arrow again. Left arrow closes all the selected ones at once.
    Or did you have another view in mind ?

  • Setting a default folder view for all folders in Windows 7

    How do you set up a default folder view of "List" for ALL the folders in Windows 7 including the optical drive?  
    Artoo

    I just installed windows 7. Are you seriously telling me that i now have all folders with mp3s in them AUTOMAGICALLY (THANKS FOR THE HANDY HELPING HAND THERE MICROSOFT!!!) set to some designers whim of what an mp3 folder "SHOULD" look like?
    Well i was going to write a big rant, and indeed did, but then i was doing some more research and it seems like i just made everyones day and solved the problem (partially). Or well THIS guy did:
    http://www.howtogeek.com/howto/16694/customize-the-five-windows-folder-templates/
    After you’ve clicked OK, visit some of the other folders in your file system.  You should see that most have taken on these new settings.
    What we’ve just done, in effect, is we have customized the General Items template.  This is one of five templates that Windows Explorer uses to display folder contents.  The five templates are called (in Windows 7):
    General Items
    Documents
    Pictures
    Music
    Videos
    When a folder is opened, Windows Explorer examines the contents to see if it can automatically determine which folder template to use to display the folder contents.  If it is not obvious that the folder contents falls into any of the last four templates,
    then Windows Explorer chooses the General Items template.  That’s why most of the folders in your file system are shown using the General Items
    template.
    Changing the Other Four Templates
    If you want to adjust the other four templates, the process is very similar to what we’ve just done.  If you wanted to change the “Music” template, for example, the steps would be as follows:
    Select a folder that contains music items
    Apply the existing Music template to the folder (even if it doesn’t look like you want it to)
    Customize the folder to your personal preferences
    Apply the new template to all “Music” folders
    A fifth step would be:  When you open a folder that contains music items but is not automatically displayed using the Music template, you manually select the Music template for that folder.
    Anyways, sorry that explanation doesnt do it justice. I have spent waaay too much time trying to figure this out already. Also that link doesnt say how to 1) copy templates (are they file or registry based?, didnt do research) 2) if you can distable templates
    or the automatic re-templating of folders.
    THAT is what i want to know! as it is much more maintance then its actually worth...
    but once i had set 5 default types to, the exact same thing... it now doesnt matter if it automagically switches it. SUCK IT MS AUTOTUNE!!!
    Its bloody hard to frame this question too. What can you say about this? "folder changes to mp3" "customize folder types windows 7" "windows 7 folder changes to mp3" "dont automatically change folders to mp3" "how
    to change mp3 details column for good" "automatically change column order win 7 mp3"
    The search that actually solved it:
    "do not apply default template to mp3 windows 7"
    good luck, this worked for me!
    EDIT: also i just noticed that neonr already answered this above. i just didnt read it carefully enough. anyways i guess i will leave this and mark his as answer.

  • Recursively search folders, export to excel all sub-folders. All folders containing ReadMe.txt export contents.

    I have a bunch of VBScripts that I created using help from this forum and other forums.  These scripts are for fixing Windows problems, installing software and setting configuration settings. Each script is in a separate folder. Some of the script folders
    contain a file called ReadMe.txt that contains info about the script and what it does.  I am trying to document all my fixes so I can share them with coworkers, friends and anyone who needs help. I struggle with the "recursive" feature in VBScript.
    I found the Scripting Guy's article on recursive searching and found another article from another website that works really well for listing all folders and subfolders to a CSV file.  I'm having trouble adapting the script.  After it exports the
    folder list to the CSV, I need it to go back through the list and for every folder that contains the ReadMe.txt, export it's contents to the row for the specific folder that contains the file.
    I've tried several modifications of this script but all my attempts cause the script to Not export the file list.  I cannot get past this problem. Until I do that I cannot even focus on the exporting the contents of the ReadMe.txt file to the CSV file.
    Here is the code I have
    Dim objFSO
    Dim ObjOutFile
    'Creating File System Object
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    'Create an output file
    Set ObjOutFile = objFSO.CreateTextFile("OutputFiles.csv")
    'Writing CSV headers
    ObjOutFile.WriteLine("Type,File Name,File Path")
    'Call the GetFile function to get all files
    GetFiles("H:\0-Fixes")
    'Close the output file
    ObjOutFile.Close
    WScript.Echo("Completed")
    Function GetFiles(FolderName)
    On Error Resume Next
    Dim ObjFolder
    Dim ObjSubFolders
    Dim ObjSubFolder
    Dim ObjFiles
    Dim ObjFile
    Set ObjFolder = objFSO.GetFolder(FolderName)
    Set ObjFiles = ObjFolder.Files
    'Write all files to output files
    For Each ObjFile In ObjFiles
    ObjOutFile.WriteLine("File," & ObjFile.Name & "," & ObjFile.Path)
    Next
    'Getting all subfolders
    Set ObjSubFolders = ObjFolder.SubFolders
    For Each ObjFolder In ObjSubFolders
    'Writing SubFolder Name and Path
    ObjOutFile.WriteLine("Folder," & ObjFolder.Name & "," & ObjFolder.Path)
    'Getting all Files from subfolder
    GetFiles(ObjFolder.Path)
    Next
    End Function
    Helpful nice guy

    Here is a fixed version of your script.  Run it and tell us what errors you are getting.
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objOutFile = objFSO.CreateTextFile("OutputFiles.csv")
    'Writing CSV headers
    objOutFile.WriteLine "Type,File Name,File Path"
    GetFiles "H:\0-Fixes"
    objOutFile.Close
    WScript.Echo("Completed")
    Function GetFiles(FolderName)
    Set objFolder = objFSO.GetFolder(FolderName)
    For Each ObjFile In ObjFolder.Files
    objOutFile.WriteLine "File," & ObjFile.Name & "," & ObjFile.Path
    Next
    'Getting all subfolders
    Set objSubFolders = ObjFolder.SubFolders
    For Each ObjFolder In ObjSubFolders
    'Writing SubFolder Name and Path
    objOutFile.WriteLine "Folder," & ObjFolder.Name & "," & ObjFolder.Path
    GetFiles ObjFolder.Path
    Next
    End Function
    ¯\_(ツ)_/¯

  • Need sql query to find out Joins attached with folders in Discoverer

    Hi,
    Can anyone let me know the sql query which can be used to identify the joins which are attached to the folders.
    Actually we have to identify all the joins conditions from folders those are migrated from one instance to others.
    Thanks
    abhishek

    I recommend that you implement the admin EUL supplied by oracle, you can get there a lot of repository information (metalink note: 556932.1).
    Try to use this (maybe you will need some pkg's):
    SELECT
    DECODE(KEYS.FK_MANDATORY,
    1,
    'Always exist in master folder',
    'Might not exist in master folder') "Detail Item values",
    EUL10G_US.EUL5_GET_JOIN(EXP.EXP_ID, 'N') "Join Master --> Detail",
    KEYS.KEY_DESCRIPTION JOIN_DESCRIPTION,
    KEYS.KEY_DEVELOPER_KEY JOIN_IDENTIFIER,
    KEYS.KEY_NAME JOIN_NAME,
    DECODE(SUBSTR(KEYS.KEY_NAME, 1, 19),
    'AUTO_GENERATED_NAME',
    'Yes',
    'No') "AutoGen",
    DECODE(DECODE(SUBSTR(KEYS.KEY_NAME, 1, 19),
    'AUTO_GENERATED_NAME',
    'Yes',
    'No') ,
    'Yes',
    EUL10G_US.EUL5_GET_JOIN(EXP.EXP_ID),
    KEYS.KEY_NAME) "Actual Join Name",
    KEYS.KEY_UPDATED_DATE JOIN_LAST_UPDATE,
    DECODE(KEYS.FK_ONE_TO_ONE, 1, 'One to one join', NULL) "One to One join",
    DECODE(KEYS.FK_MSTR_NO_DETAIL,
    1,
    'Outer join on detail' || CHR(10),
    NULL) "Outer Join on Detail",
    DECODE(KEYS.FK_DTL_NO_MASTER,
    1,
    'Outer join on master' || CHR(10),
    NULL) "Outer Join on Master",
    DECODE(KEYS.FK_MSTR_NO_DETAIL,
    1,
    'Outer join on detail' || CHR(10),
    NULL) || DECODE(KEYS.FK_DTL_NO_MASTER,
    1,
    'Outer join on master' || CHR(10),
    NULL) ||
    DECODE(KEYS.FK_ONE_TO_ONE, 1, 'One to one join', NULL) "Optional Join Configurations",
    OBJ.OBJ_NAME "MASTER_FOLDER",
    OBJ_DETAIL.OBJ_NAME "DETAIL_FOLDER"
    FROM EUL10G_US.EUL5_OBJS OBJ,
    EUL10G_US.EUL5_EXPRESSIONS EXP,
    EUL10G_US.EUL5_KEY_CONS KEYS,
    EUL10G_US.EUL5_OBJS OBJ_DETAIL
    WHERE ((KEYS.KEY_ID = EXP.JP_KEY_ID) AND
    (OBJ.OBJ_ID = KEYS.FK_OBJ_ID_REMOTE) AND
    (OBJ_DETAIL.OBJ_ID = keys.KEY_OBJ_ID));

  • All folders - view permissions

    I'm trying to grant users the minimum permissions they need to work with their reports. Granting Full Control permission on the folder containing their reports doesn't seem to work, because without View on the All Folders list, they can't even see the folder to access the reports. However, if I grant View on All Folders, they have access to all the folders until I go through and explicitly remove them. Am I missing something, or is this the way it's supposed to work?
    Thanks.
    Edit: Oh, I see -- I was misreading the "inherit from parent" checkboxes. If I turn those off, they only apply to the folder I'm setting them for, which is the behavior I wanted. Thanks anyway!
    Edited by: Garrett Fitzgerald on Apr 20, 2009 1:22 PM

    No, that's not right. Damn. Sorry. What am I doing wrong?
    Edit: Ok, got it that time. I wasn't telling it to only apply "View" to the current object.
    Edited by: Garrett Fitzgerald on Apr 20, 2009 2:00 PM

Maybe you are looking for

  • Take 2_Newbie question re. tables/frames/layers

    Hi all I have created this as a new post as the original one by DummyPete has become a bit too long and the topic has altered somewhat :) DummyPete orignially wrote: "Basically, I'd like to create the fairly common design where the left sidebar has h

  • How can i change my app store from us to uk?

    how can  i  change my app store from us to uk?

  • Camera Raw 5.5 problem?

    I upgraded to Lightroom 2.5 yesterday (9/20/09), which includes an upgrade to Adobe Camera Raw 5.5.  I started to see a purple artifact appear in highlights after making edits.  (I haven't yet investigated enough to identify which editing tool trigge

  • What is "Missing Port Information" error?

    Setting FINEST log level on JAXRPC in the AS8 2004Q04 Beta reveals nothing. Searches on this forum provides only 3 matches for "Missing port information" (this one makes 4). In http://forum.java.sun.com/thread.jsp?forum=136&thread=508958 the same pro

  • Byte (Java) and byte (DotNet) interoperability

    Hi! I have the following problem. In DotNet platform I am encrypting using RijndaelManaged, from System.Security.Cryptography, which uses AES encryption method. In Java platform I use the javax.crypto.Cipher, in order to decrypt the message (in byte[