SQL query to extraxt all the virtual folder created in an interval

Hi all

I need to extract all the virtual folder created at the Complutense University of MADRID in and the time interval.

Sameone can you tables me in the schema of the AAU to poll or give me a hint?

Concerning

Hello

If this Folders_g then follow these steps:

Select dCollectionID, dCollectionName from the collections where dCreateDate > TO_DATE ('2015-01-01', ' YYYY-MM-DD "")

If it is FrameworkFolders:

Select fFolderGUID, fFolderName from FolderFolders, FrameworkFoldersHistory where FrameworkFoldersHistory.fItemGUID = FolderFolders.fFolderGUID

and FrameworkFoldersHistory.dActionDate > TO_DATE ('2015-01-01', ' YYYY-MM-DD "")

I hope this helps.

Thank you

Srinath

Tags: Fusion Middleware

Similar Questions

  • SQL query to meet all the conditions.

    ID of country client_name

    a                      india        1

    a                     US            1

    oneWE1

    b                      india         1

    c                      india        1

    c                      india         1

    c                      india         1

    c                     us             1

    c                    US            1

    If I do a count if the id of group by client_name and country column I'll get value like that...

    client_name country count (id)

    a                  india          1

    a                    US          2

    b                  india          1

    c                  india          3

    c                   US           2

    Condition of the obligation:

    (1) if the customer is in effect in several countries then show that the customer and country having count (id) > 2, (over the case it will be customer = 'b' and country India, country will be us skip)

    (2) if the customer is does not exist in several countries then show that client and default country (in above cases it will be customer = 'b') while count (id) is less than 2., we show him...

    Catch for me is :-also, we should not ignore any customer... so, as in a. customer... as count (id) for the two countries is not more than 2... so, as per above logic... this client will ignore if we apply only above two conditions

    but we need to show the customer in this case... and take the two value... so my end result I need will be:

    customer country

    a India

    a                    US

    b the India

    c India

    Please suggest the query to achieve even... I am able to get the query that meets condition 1 and condition 2. but failure to have taken also in request... so in my query output is all above, except customer one is ignored

    Thank you very much!

    Hello

    I think I see.  You want to display the lines of 'best' available for any client, where the lines with a COUNT (*) 2 > are 'better' than the lines with COUNT (*) <= 2. ="" if="" a="" client="" has="" any="" rows="" with="" count="" (*)="">2, then to display the lines were COUNT (*) > 2, but if all the lines for a customer have COUNT (*)<= 2,="" then="" those="" are="" the="" "best"="" rows="" available,="" so="" you="" want="" to="" show="" them. ="" how="" many="" different="" countries="" a="" client="" is="" related="" to="" doesn't="">

    I always CREATE TABLE and INSERT statements for your sample data, so I'll we table scott.emp to illustrate.  Instead of customer and country, as at your table, we will use deptno and job.  This query:

    SELECT deptno, job

    AS cnt ACCOUNT (*)

    FROM scott.emp

    GROUP BY deptno, job

    ORDER BY deptno, cnt

    ;

    display the relevant data, i.e.:

    DEPTNO JOB CNT

    ---------- --------- ----------

    10. THE CHAIRMAN 1

    MANAGER 10 1

    10 1 CLERK

    20 MANAGER 1

    20 2 ANALYST

    20 CLERKS 2

    30 1 CLERK

    30 1 MANAGER

    30 4 SELLER

    But we don't want to show all the data.  We want to only show the best available for each deptno line type, where the lines with the cnt > 2 (let's call these lines of class 'A') are better then with the NTC<= 2="" (let's="" call="" these="" class="" 'b'="" rows.) ="" the="" output="" we="" want="">

    DEPTNO JOB CNT

    ---------- --------- ----------

    10. THE CHAIRMAN 1

    10 1 CLERK

    MANAGER 10 1

    20 CLERKS 2

    20 MANAGER 1

    20 2 ANALYST

    30 4 SELLER

    Deptnos 10 and 20 only have rows of 'B' class, if we want to display the lines of 'B' class for these deptnos.  DEPTNO 30 has at least 1 row of class 'A', so we only show the lines of 'A' class of deptno = 30.  This is an example of a Query of Top - N, and here's a way to do it:

    WITH got_r_num AS

    (

    SELECT deptno, job

    AS cnt ACCOUNT (*)

    DENSE_RANK () OVER (PARTITION BY deptno

    ORDER OF CASES

    WHEN COUNT (*) > 2

    THEN "A".

    OF ANOTHER 'B '.

    END

    ) AS r_num

    FROM scott.emp

    GROUP BY deptno, job

    )

    SELECT deptno, job, cnt

    OF got_r_num

    WHERE r_num = 1

    ;

  • I can run all the virtual machines (created with workstation) in VMWare player?

    Suppose I created a virtual machine in a Vmware Workstation 7.1 installation.

    Can I take all of this a virtual machine and run it on a VMware player installation?

    Or Vmware Workstation offers specific features that are required by the virtual machine to run successfully?

    Matt

    If,

    If you are using vmware player 3.x, you should have no problem.

    Do not forget that the workstation and vmware player share much of its architecture.

    Best wishes / Saludos.
    Pablo

    Please consider awarding

    all useful or correct answer. Thank you!! -

    Por favor considered premiar

    any respuesta correcta o util. ¡¡MUCHAS gracias!

    Virtually noob blog

  • script to remove all the virtual machines in a folder or a group resource

    Someone at - it a script that will find all the virtual machines within a file or a group of resources and then delete the virtual machines?

    If you're dealing with a specific resource pool or a folder, you can use these.

    $vmlist = get-folder -name "TEST2"  | get-vm
    $vmlist = get-resourcepool -name TestServers | get-vm
    

    And then send it to something like this

    $vmlist | ForEach {
         If ($_.PowerState  -eq "PoweredOn")
              {
              Stop-VM -VM $_.Name -Confirm:$False
              }
         Remove-VM -VM $_.Name -Confirm:$False      }
    

    Also to find files of type VM

    get-folder -name | where {$_.IsChildTypeVM -eq "True"}
    

    Do you need to search the children files or resource pools as well?

    Dave

    VMware communities user moderator

    Now available - vSphere Quick Start Guide

    You have a system or a PCI with VMDirectPath?  Submit your specifications to Officieux VMDirectPath HCL.

  • How can I stop saved pages downloaded to visit the virtual folder

    I updated from XP to Windows 7. When I try to save a pdf file in my folder of pdf files seem to go in my pdf file, but they find themselves in a virtual folder. I had no problem with XP or Vista. Is there a way I can stop the file in the virtual folder.

    I have no idea of what a virtual folder is,

    Take screenshots,
    Usually, you can press the SHIFT key (maybe the Alt key) or (FN key on your laptop) and press prtscrn.
    Open microsoft Paint, and then click Paste on the top left.
    Painting is located in the Accessories folder in all programs from the Start button.
    Then click on the blue button on the file and click Save as, click jpeg file type and name the file.
    Upload to skydrive or photobucket in a public album and post a direct link to the file here.

    Or use the windows snipping tool,
    http://Windows.Microsoft.com/en-us/Windows-Vista/use-Snipping-Tool-to-capture-screen-shots
    Refer to this topic on how to make a public record and present screen shot here.
    http://answers.Microsoft.com/en-us/feedback/forum/suggest/how-to-insert-an-image-into-a-post-at-answers/bdae0306-c3cb-4d31-ace9-7281ea1a8a73

    You can also look at this for the new format in skydrive

    http://sdrv.Ms/RtThbH

  • How to mount the virtual folder of the ILO on ESXi 5.5

    Hi all

    Anyone know how to mount the virtual folder of the ILO on ESXi5.5?

    What is the command that I should do the editing?

    Usually in Linux or Windows, if you clicked on the virtual drivers on HP iLO web interface, you will see the mounted folder automatically in the operating system.

    But I don't know how it would be or how to have the same functionality in ESXi host. Can anyone help?

    Thank you.

    Try to use the "vsish" method I describe in this post.

    Re: New drivers enter ESXi

    See you soon,.

    Jon

  • SQL query to view all build profiles, properties and values.

    I am trying to create a SQL query to retrieve all our profiles of construction, their properties and their values. The output should include the build profile name, the name of the property and the property value. I found the following tables and just need to understand the appropriate query. I still think that it is a kind of JOIN.

    SELECT [Id]

    [EntityID]

    [PropertyName]

    [Valeurpropriete]

    [IsHidden]

    [IsRuntime]

    [IsEncrypted]

    FROM [VCAC_DB]. [dbo]. [GlobalProfileProperties]

    SELECT [GlobalProfileID]

    [ProfileName]

    [Description]

    FROM [VCAC_DB]. [dbo]. [GlobalProfiles]

    Does that help?

    SELECT GlobalProfiles.ProfileName, GlobalProfileProperties.PropertyName, GlobalProfileProperties.PropertyValue

    OF GlobalProfiles

    INNER JOIN GlobalProfileProperties ON GlobalProfiles.GlobalProfileID = GlobalProfileProperties.EntityID

    I also like this because it gives all the details on the individual custom properties in a profile of construction (such as IsHidden, which tells you if the DEM will treat the property):

    SELECT GlobalProfiles.ProfileName, GlobalProfileProperties.*

    OF GlobalProfiles

    INNER JOIN GlobalProfileProperties ON GlobalProfiles.GlobalProfileID = GlobalProfileProperties.EntityID

  • PL/SQL Query return function, adding the column links

    Hi all

    I'm working on a SQL report with the area type = function from PL/SQL Query to return
    All columns are generated dynamically based on my mapping table and a column of ID.
    So whenever the page is loaded, according to the ID mapping table returns a set of columns in a particular order.
    So not only the columns are dynamic, but the order of the columns varies also.
    But the first 1 column is standard (it doesn't come from the mapping table) and is coded in my pl/sql block hard.

    I'm fighting with the addition of a link to this column. The link must be a Javascript function which takes the parameters in the form of 2 columns in the mapping table.
    My pl/sql block is something like that...
    v_select := 'SELECT <g href=javascript:f_report1(#map_id#,#comments#)><img src=""></a> as report1, ';  // g=a
    v_cols := 'contains all columns from the mapping table based on a ID(hidden item)';
    v_from := 'FROM table';
    v_where := 'where condition is put in here';
    v_query := v_select||v_from||v_where;
    return v_query;
    Now, I'm not able to transmit the values of this #map_id # and #comments # correctly. I tried so many different combinations of channels, but could not make it work.

    I'm not sure that the order of this map_id and commentscolumn and therefore cannot connect through the report attributes.
    How can I go to a column value to the function?



    Thank you
    Dippy

    This should work if all goes well:

    v_select := q'[ SELECT '' as chart, ]';
    

    Published by: Dimitri Gielis on May 20, 2010 20:10

  • The virtual folder can be inherited in the documents?

    Dear Sir


    We find that the legacy of the values of metadata in the virtual folder can be done at the stage of webdav.

    As a result, users may be asked to use check-in web interface and metadata must be defined as a default value in the virtual folder...

    Are there alternatives to inherit these animals? Please advice.



    Rgds BST

    Security account and group fields are the fields of security, but they work like all other fields of metadata about be defined as default values.
    From there you should be able to define the metadata in the file (or even individually per user in the user profile settings for folders too) to set these 2 fields as default profile.

  • How to filter data according to internal application and in case if returns nothing outside the query must return all the lines

    create table ab (a number, b varchar2 (20));

    Insert into ab

    Select rownum, rownum. "" sample "

    of the double

    connect by level < = 10

    create table bc (a number, b varchar2 (20));

    Insert into BC.

    Select rownum + 1, rownum + 1 | "" sample "

    of the double

    connect by level < = 10

    Select * AB

    where b in (select b BC where b = "2sample")

    This query will return me 1 row, but there are cases where the value of the parameter b is null

    and that it should return all rows in the table

    as

    Select * AB

    where b in (select b BC where b = "2sample")

    which return specific values, but I want to change in a way when the inner query returns nothing then outer query should return all the lines and works as

    Select * AB;

    Is it possible to put in a single query

    Hello

    You seem to ask for different things.  You want all the lines AB when

    1. The parameter ("2sample' in the example) is NULL, or when
    2. There is no corresponding row in the 2 tables (which could happen even if the parameter is not NULL)

    ?

    Assuming you want the option 2, here's one way:

    WITH got_rnk AS

    (

    SELECT ab.*

    DENSE_RANK () (ORDER IN CASE

    WHEN b (IN)

    SELECT b

    BC.

    WHERE b = "2sample" - parameter

    )

    THEN "A".

    OF ANOTHER 'B '.

    END

    ) AS rnk

    AB

    )

    SELECT a, b

    OF got_rnk

    WHERE rnk = 1

    ;

    This does not assume b is unique in each table.

    Thanks for posting the CREATE TABLE and INSERT statements; It is very useful.

  • Lists the names of all the virtual machines

    I want to display a list for the name of all the virtual machines.

    Get - VM export to much information, how to filter the info I need?

    With the Select-Object cmdlet, like this

    Get - VM | Select name

    The Get - VM product objects that you pass through the pipeline ('|) ') to the Select-Object cmdlet.

    The Select-Object cmdlet allows you to select one or more of the properties of the objects it receives.

  • Utility to display all the virtual machines that have ISO attached to CD

    Someone at - it a utility that will list all the virtual machines on a host or a cluster, indicating the State of the virtual CD drive?  I am trying to remove one of my nfs stores, and of course, he's busy.  It's a real pain to point and click through all the virtual machines to find one or two that have a CD with ISO attached.

    Obviously, free is better!

    Thanks for your suggestions,

    Doug

    Hello.

    Discover RVTools.

    Good luck!

  • Database SQL query to get all virtual machines with comments enabled customization?

    Hello

    Does anyone know of a SQL query that can be executed against the vCloud Director DB for all virtual machines who invited enabled customization?

    I can't have PowerShell to pull these data on a global scale.

    Thank you

    jkasal

    Has taken a quick...

    Select top 10 v.id, v.name, v.vapp_name, v.vc_id, v.moref, ui_vapp_vm_list_view v.guest_customize_enabled v with (NOLOCK)

    seems to have if the setting is enabled or not.

  • A query to return all the SQL executed for a particular user instructions.

    Hello

    Is it possible to find all the instructions SQL for a particular user using the views v$? I can do it 10g but I am currently using 9i, the query below does not work.
    select a.username,a.logon_time,b.sql_fulltext 
    from v$session a,v$sqlarea b 
    where a.sql_id=b.sql_id
    and a.username='USER'
    order by a.logon_time desc
    I guess that some columns in these views do not exist in 9i. The output of 9 that I use is 9.2.0.1.0.

    Your help is very appreciated.

    Thank you
    Select this option.

    Dear mark!

    I suggest you use the audit instead of v$ sqlarea. Onlinedocumentation said the next thing Oracle v$ sqlarea:

    >
    V$ SQLAREA lists statistics on the shared SQL area and contains a line by the SQL string. It provides statistics on SQL statements that are stored, analyzed and ready for execution.
    >
    This means that you will only get the SQL statements that are currently in memory. Older statements which are already deleted from memory are not visible for your query.

    Incidentally, if you simply want to know what's wrong with your query then please post your errormessage.

    Yours sincerely

    Florian W.

    Published by: Florian W. the 29.07.2009 12:03

  • SQL query for roll up the amounts from more down to the highest level

    with data (select child 'C', 'P' as a parent, 11 amount of double

    the Union all select 'C1', 'C',-2 double

    Union all select 'C2', 'C', 3 double

    the Union all select 'C3', 'C',-8 double

    Union all select 'C4', 'C', 10 double

    Union all select 'C11', 'C1', 7 double

    the Union of all select them 'C12', 'C1', double 12

    Union all select "C21", "C2", 5 double

    Union all select "C22", "C2", 9 double

    Union all select 'C31', 'C3', 6 double

    the Union all select 'C32', 'C3',-4 double

    the Union all select 'C41', 'C4',-3 double

    the Union of all select them "C42', 'C4' 13 doubles

    the Union of all select them "C111", "C11", 16 doubles

    Union all select 'C121","C12", 8 double

    ) Select * from given by 2

    Hi Experts,

    I have the following table with the child-parent relationship which I would like to roll up from a lower to a higher level. The problem here is that I'm moving the level I should replace the amount for a parent with the overall value of his children and grand total aggregate amount should be c

    For example; In the example given the c111 data roll up to c11 as 16 (Please note: the amount for c11 is 7 should not be added to 16 rather replaced by 16) that more should roll up to c1.

    That means c1 = c11c12; c11 = c111 = 16 Yes, c1 = 16instread 12 16712.

    Since it is an intermediate table, I don't have any control over how many levels it can contain.

    So dynamically, I need a rollup query and group the amount of a lower to a higher level from the bottom.

    Is this possible? I look forward to any help. Thanks in advance.

    SQL > data
    () 2
    3. Select 'C' child, 'P' as a parent, 11 amount of double
    4 union all select 'C1', 'C',-2 double
    5 Union all select them 'C2', 'C', 3 double
    6 Union all select them 'C3', 'C',-8 double
    7 union all select 'C4', 'C', 10 double
    8 union all select 'C11', 'C1', the double 7
    9 Union all select 'C12', 'C1', 12 dual from
    all the 10 union select "C21", "C2", 5 double
    all the 11 union select "C22", "C2", 9 double
    12 union all select 'C31', 'C3', 6 double
    all the 13 union select 'C32', 'C3',-4 double
    14 union all select 'C41', 'C4',-3 double
    all the 15 union select 'C42', 'C4', 13 from dual
    all the 16 union select 'C111","C11", 16 of the double
    all the 17 union select 'C121","C12", 8 double
    18)
    19, data1
    20 in accordance with
    (21)
    22 Select parent
    23, child
    24, lpad ('-', (level 1) * 3, '-'). parent tree_structure
    25, amount
    26, case when connect_by_isleaf = 1 then amount 0 otherwise end amount_leaf
    27 data
    starting 28 with parent = 'P '.
    29 to connect
    30 per parent prior child =
    31)
    32 Select parent as a node
    33, tree_structure
    34, amount_sum
    35 of Data1
    model 36
    size 37 by
    (38)
    39 children
    40, parent
    41)
    42 measures
    (43)
    44 amount_leaf as the amount
    45, tree_structure
    46, 0 amount_sum
    47)
    automatic control of 48 rules
    (49)
    50 amount_sum [none, none] = amount [cv (), cv ()] + nvl (sum (amount_sum) [all cv (child)], 0)
    (51);

    ŒIL TREE_STRUCTURE AMOUNT_SUM BLINK
    --- ------------------------- ----------


    P   P                                 50
    C   ---C                              24
    C1  ------C1                          16
    C11 ---------C11                      16
    C1  ------C1                           8
    C12 ---------C12                       8
    C   ---C                              14
    C2  ------C2                           5
    C2  ------C2                           9
    C   ---C                               2
    C3  ------C3                           6
    C3  ------C3                          -4
    C   ---C                              10
    C4  ------C4                          -3
    C4  ------C4                          13

    15 selected lines.

Maybe you are looking for