Advanced to Installtion queries

Hello

I installed base install Oracle SOA suite 10.1.3.1.0.
Now, I want to move on to the Advanced Setup.
What are the prerequisites for Advanced installation.
Can I use SQL server database as the database cluster.

Thank you
Vishnu

MS SQL Server is supported only for 10.1.2
But you can try to adjust this guide for 10.1.3:

http://download.Oracle.com/docs/CD/B28095_05/PC.1012/b25760/SqlServer.htm

or use 10.1.3.3, and SQL Server 2005
http://download.Oracle.com/docs/CD/E10291_01/doc.1013/e12015/toc.htm

Published by: [email protected] on September 24, 2008 11:30

Tags: Fusion Middleware

Similar Questions

  • Need help with select this range of months with flexible first date

    Hi all

    I am creating a selection range months (will be in a WITH clause), for a report view monthly data. But the first months start date may be any date. (Not necessarily the first date of the month)
    Examples:

    Report of input parameters:

    Start date: 10/08/12
    End of month: December 2012

    I tried to build a SELECT that will list
    Month_Start, Month_End
    10/08/12, 10/31/12
    11/01/12, 11/30/12
    12/01/12, 31/12/12

    OR
    Month_Start, Next_Month
    10/08/12, 11/01/12
    11/01/12, 12/01/12
    12/01/12, 01/01/13


    End of the month being optional, if no select value lists only
    10/08/12, 11/01/12


    Details of database is Oracle
    Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
    PL/SQL Release 11.1.0.7.0 - Production

    My code is far
    VARIABLE  P50_START_DATE  VARCHAR2 (10)
    VARIABLE  P50_END_MONTH    VARCHAR2 (10)
     
    EXEC  :P50_START_DATE  := '10/10/2012';
    EXEC  :P50_END_MONTH   := '31/12/2012';
      
     
      SELECT  to_char(:P50_START_DATE) AS start_date
            ,  ADD_MONTHS( TRUNC(to_date(:P50_START_DATE,'DD/MM/YYYY'),'MONTH'), 1) AS next_month
      FROM dual
      union
    
       SELECT to_char(ADD_MONTHS( TRUNC(to_date(:P50_START_DATE,'DD/MM/YYYY'),'MONTH'), ROWNUM-1)) AS start_date
       ,      ADD_MONTHS( TRUNC(to_date(:P50_START_DATE,'DD/MM/YYYY'),'MONTH'), ROWNUM) AS next_month
       --, rownum
       from all_objects
       where
       rownum <= months_between(to_date(NVL(:P50_END_MONTH, :P50_START_DATE),'DD/MM/YYYY'), add_months(to_date(:P50_START_DATE,'DD/MM/YYYY'), -1))
       and rownum > 1
    If I put the comment - on the line and rownum > 1, as
    -- and rownum > 1
    The result I get is
    START_DATE                     NEXT_MONTH                
    
    01/10/12                       01/10/12                  
    01/11/12                       01/11/12                  
    01/12/12                       01/01/13                  
    10/10/2012                     01/11/12    
    But when I try to remove the double off period (the first month) by restricting rownum, it do not return all the lines for the second selection at all. The result I get is:
    START_DATE                     NEXT_MONTH                
    
    10/10/2012                     01/11/12    
    Can anyone tell what is wrong with the statement select?

    Thank you very much in advance,
    Ann

    Queries line use:

    SQL> VARIABLE  P50_START_DATE  VARCHAR2 (10)
    SQL> VARIABLE  P50_END_MONTH    VARCHAR2 (10)
    SQL>
    SQL> EXEC  :P50_START_DATE  := '10/10/2012';
    
    PL/SQL procedure successfully completed.
    
    SQL> EXEC  :P50_END_MONTH   := '31/12/2012';
    
    PL/SQL procedure successfully completed.
    
    SQL> SELECT  CASE LEVEL
      2            WHEN 1 THEN TO_DATE(:P50_START_DATE,'DD/MM/YYYY')
      3            ELSE TRUNC(ADD_MONTHS(TO_DATE(:P50_START_DATE,'DD/MM/YYYY'),LEVEL - 1),'MM')
      4          END MONTH_START,
      5          LAST_DAY(ADD_MONTHS(TO_DATE(:P50_START_DATE,'DD/MM/YYYY'),LEVEL - 1)) MONTH_END
      6    FROM  DUAL
      7    CONNECT BY ADD_MONTHS(TO_DATE(:P50_START_DATE,'DD/MM/YYYY'),LEVEL - 1) <= TO_DATE(:P50_END_MONTH,'DD/MM/YYYY')
      8  /
    
    MONTH_STA MONTH_END
    --------- ---------
    10-OCT-12 31-OCT-12
    01-NOV-12 30-NOV-12
    01-DEC-12 31-DEC-12
    
    SQL> 
    

    SY.

  • World Traveler in Querétaro - Mexico adapter Kit?

    Hello everyone,

    I m staying for two months in Querétaro for research and writing.

    Unfortunately, I forgot my World Travel Adapter in Belgium...

    I looked and asked around town, but I find couldn t one.

    Even the didn t of official dealers iShop know where I could find the adapter.

    All suggestions are welcome!

    Thanks in advance!

    Lennart

    Your hotel can make or try the local equivalent of an AAA store. You only need a local map, so they shouldn't be too hard to find.

  • A few queries on the design of PA

    Hello

    I'm working on a design of PA (1930-1990 MHz) 4W using Freescale LDMOS MW6S004N transistor (attached sheet). It would be very useful if someone could shed some light on the following queries;

    1) I've traced the I - V curve and the Vgs as 2.77V (Vds = 28V, ID = 50mA) and biased the transistor with solenoid and BIASTEE elements to watch the gain and stability. But the gain is only around 7dB @ 1960 MHZ (while the data sheet shows a gain of 18 dB). Also, looking at the factors of stability, a MU1 MU2 is less than 0 and K<>

    Yes, why is the only model not give the gain - without correspondence as other peripheral circuit?

    Why is he unstable? It should be like that?

     

    2) but when I increase the tensions of polarization, I see improving gain up to 10dB and then drop on a further increase of the voltage input/drain. So I'm not supposed to gain the necessary to the data sheet specified bias point?

     

    3) in the datasheet, page nr.8, Zsource and Zload for the test circuit are specified for 1930, 1960 and 1990 MHz. So if I create the test as shown circuit (with input output matching and lines of bias) and make a measure of ZIN at the source and the load of the appliance, should not I should I get accurate impedances at these frequencies? This should be done in a scheme with infectious myonecrose or OMN only and without the device? 

     

    4) should I see the exact data sheet specified impedance if I do a pull source or load pull in the original circuit using LTUNER elements?

    5) , How can I specify the magnitude and angle in the LTUNER element when I have a point of impedance in R + jX format?  I have attached a screenshot of an example of AWR tutorial, but I don't see how the conversion was performed at mag

    Pointers to these queries will help a lot! Thanks in advance.

    1 & 2. It is a power FET; It has a very low output impedance; the datasheet shows the production capacity is 25pF.  If so, I don't see how you get the desired gain when he puts an end to the output of 50 ohms.  In addition, the specification of gain run 4W on.  Look at an angle specified as class AB, so the small gain may not match upward with specifications, either.

    3. If you build the circuit as described, I think lets you get results close to those that they specify.  You can join the project?

    4. you can ask Freescale, but my guess is that nothing will be exact.  Follow patterns of the specific formulas, and despite the flexibility permitted by the various parameters on a FET, it is difficult to get behavior exactly measured in all conditions.

    5. LTUNER is probably not the right choice, if you plan to do harmonic analysis balance; HBTUNER may be preferable because it allows to bypass the harmonics and send power to the rear.  You can reduce the number of items in your base using HBTUNER2test circuit, which has built-in te through.  If you double-click on one any of these elements of tuner, you will see the description of the Mag and Ang parameters, which States that they are for Gamma.  So write some equations and convert z to gamma.  The AWR design environment allows to describe the functions and can handle complex variables. For example, see the image as an attachment.

  • I upgraded my card mother cpu ram and hard drive. I reinstalled windows xp home edition has got all of the updates. After 9 latest updates download and installtion went well, I restarted the computer, I get a blue screen and the computer restarts

    I upgraded my card mother cpu ram and hard drive. I reinstalled windows xp home edition has got all of the updates. After 9 latest updates download and installtion was going well until I rebooted the computer and go to page window showing all the icons that I get a blue screen and the computer restarts its self and does not stop. How can this be corrected?

    Hi KevinRy,

    Welcome to the Microsoft Answers site!

    Unplug all external devices.

    Try to start in safe mode. If you can start in safe mode, and then do a system restore to restore the computer to an earlier point in time.

    Change the recovery settings to disable automatic reboot, if you are able to boot up to the desktop computer:

    1.

    Right-click my computerand then click Properties.

    2.

    Click the Advanced tab.

    3.

    Under Startup and recovery, click settings to open the Startup and recovery dialog box.

    4.

    Clear the automatically restart check box, and then click OK many times necessary.

    5.

    Restart your computer so that the settings take effect.

    Now, when you are going to close and a fatal error occurs, you will see at least and it won't cause an automatic restart.

    Please reply back with the error message you get because it helps us to resolve the error.

    Kind regards
    Amal-Microsoft Support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • RE: WINDOWS XP SP3 of queries sent October 2, 2010 dear Sir,

    RE: Queries WINDOWS XP SP3
    Envoy on October 2, 2010
    Dear Sir.
    We just installed Service Pack 3.  Now several changes
    have taken place, we want to reverse.
    1. all records have the beginning with FILE menu command
    FIND the best choice (in bold).  That means ENTER key opens
    Search, not the file directly.  We have our own system of
    storage file in subdirecories and do not want to use
    'My documents', "myComp" and other stupid names.  How can do us
    OPEN as the first choice?
    2. when to use CTRL + F to search for a name of text inside file
    a file, the window opens in the same position as the record
    to be examined.  It also closes this folder later.
    How can we have RESEARCH to appear as a separate window, while
    NO previous windows closed?
    3. the default icon for folders is a Manila folder with
    a lot of very small bunk symbols.  How can we define the
    default to a folder empty manilla everywhere?  The
    "applies to subsequent records" does not work.
    4. some record fields (columns) appear very light
    colour, white and tinted white.  This is a nice feature
    We want to use, but it is difficult to distinguish no difference.
    How can we make the differential color stronger?
    5. for the connection of an external hard drive, it automatically
    "autoplays" and a menu comes to "choose action".  We
    Oly use it to back up = data.  How can this unwanted wizardly
    assistance to shut up?
    6. in the browser, the message "Intranet settings are now".
    turned off... "appears every time and takes another bar
    across the width of the screen.  How can we delete this
    message permanently?  We have no Intranet connection.
    7. when clicking a *.pdf file suddenly the first order
    in the menu file is replaced by "open with Adobe Reader 9.
    How can I remove this annoying interference and simply do not have
    'open' option at the top of the page?
    8. from time to time, we record our voices using Microsoft «»
    Tape worm 5.1 SP3 "and headphone\mike together.  But the
    micro alive all the time 24/7.  Where can we find a
    button to turn off the microphone?
    9. in case of a 'research' reviews movies automatically to
    large icons, while we only use the format of "details".  How can-
    avoid us this constantly and everywhere?
    10. in opening the files, there is a subtle broken white color
    several fields of details.  It is strange that not the same
    fields have the same color.  While the colored backgrounds are
    attractive, we would lke more control and stronger colors.
    How we handle this view
    ?
    11. two of my folders have fonts colours blue and yellow, all
    others are in black.  Seems to have no control over that.
    How can I change the font color of the names of files and folders
    ?
    12. When you change the folder icon, it records as a new date
    changed, but no data is changed.  We now *.htm and
    their associates * _files on different dates. How can-
    We store the last modified date when data are
    in fact, only edited?
    13. in EXCEL3000, when two cells are merged in the two lines
    and the alignment of the text is located in the 'Center' then the other
    individual cells along these two lines, all texts are centered
    (including the number of line along the left border) and cannot be
    moved to the 'low' or 'top '.  How can we remove all «»
    alignment of the line '?
    14. in EXCEL3000, the cells seem to have a very slight tint
    (off-white) as the color field.  In edit mode, they turn
    more bright white, includng all other cells that have been
    recalculated after change data in a related cell.
    This lasts until the screen is refreshed.  This only happens
    in some sheets in the same workbook, but no color change
    in the other sheets.  How this attractive feature can be
    controlled in all sheets and how color can be set to one
    stronger tint?
    15. in EXCEL3000, the appearance of color of a spreadsheet is
    controlled by the definition of the location of the color
    palette.  But this can be changed arbitrarily by the user and
    isn't it the same in other versions of EXCEL.  How can we be
    certain that a proposed color actually appears even if
    the file is viewed by another user, or on another computer?
    16. in Internet Explorer v8, when downloading files from
    Internet, the meter on the bottom left starts to
    "Download (1.32 MB 6.35 KB): http://www...". "but then
    freezes and does not increment until the product for download.
    Sometimes it freezes at other values.  Fact that occasionally
    the counter advance at a rate set at full value.
    If it is a bug, can it be fixed?  If it requires an action,
    What do we do
    ?  When the whole numbers are displayed, the two
    decimal places are disappearing.  It is good scientific practice
    ALWAYS show the degree of accuracy, being two decimal places,
    including the zeros.  The mixture of display KB and MB in the
    same statement is NOT good scientific practice.  All units
    must be the same.  To display two decimals in kilobytes
    is insignificant and meaningless.  It would be preferable to view only the
    Megabytes, then to THREE decimal places to take account of
    Kilobytes.
    17. in EXCEL3000, using forms automatic drawing compounding
    several surfaces that overlap, the command "go to the front" and
    "go to the rear for" works well.  But the option 'down' and 'go '.
    superior"do not seem to work.  There is no way to find out
    in which order the drawing folios are stacked.  What makes
    the shading of unpredictable stacked surfaces.
    18. in WORD3000, the cursor blinking on the insert is sometimes
    very short, less than half of a strong letter.  Other times it is
    all the way up.  He's still very thin and not easy to see.
    How that can be controlled
    ?
    19. under WIN - XP, using "save under" a file name can be suggested
    or a new typed in.  By then changing the subdirectory,
    Sometimes the name turns into an existing file,
    already highlighted in this new subfolder.  Expected not
    This change, pressing "enter" of the old file is overwritten
    and its lost data.  How can it be avoided in all cases?
    20. in start the computer, it always displays a message
    "Cannot open the scanner program.  But I do not use a scanner.
    How this message got there and how to stop
    appearing in the future?
    21 when a folder is renamed, its 'Date Modified' passes to
    today.  But all subfolders automatically change their
    "Date of creation" in today.  It is a significant loss of integrety
    all of the files involved.  How this can be fixed or
    prevented from happening again?
    22. when a case is its icon has changed, the research"(CTRL + F)
    present the old icon.  How can we make the icon of a file
    the same appear everywhere wherever it is displayed?
    23. How can I make the sound composition, as the numbering mode
    beeps?
    Thank you Joe Baxter

    Hey, Joe Baxter,

    I suggest you to visit the following links to learn how to work with files and folders in Windows XP.

    What's new with files and folders?

    File and folder management overview

    How to search for files and folders in Windows XP

    How to arrange files using folder views in Windows XP

    I suggest you to create the new thread for each issue with title and category to give you the best solution.

    I suggest you to consult the following link to know how to ask the question in the forum.

    How to ask a question

    For problems with Office applications, I suggest you post on the following link.

    http://answers.Microsoft.com/en-us/Office/Forum

  • Information on how to execute SQL on the CUCM himself queries please

    Hello all,.

    I need to run a SQL on the CUCM enumerate all directory numbers, their score and their external mask values.

    I came across this snippet below earlier so I have a bit of an idea of how do but iw would be great to see some other examples of sql queries.

    Any help is most appreciated.

    Also, is there a document somewhere to tell me how to run these queries?

    Thanks in advance

    Concerning

    Amanda

    *******************************************************************************************************************************************************************************

    Helps you try if this the CLI SQL query execution, it must list all DN with CFA allowed the VM or a DN:

    run sql select dnorpattern, cfadestination, cfavoicemailenabled CallForwardDynamic c, numplan n where c.fknumplan = n.pkid and (cfadestination! = "or cfavoicemailenabled 't =')

    Hi Amanda

    Basically, this is standard SQL, so that he would not bad at google 'informix instructions' select and do a bit of reading to get the basics. There are millions of permutations of requests so it comes to understand the syntax and then only by applying to the database in question. The only difference when running the commands in the CLI are:

    -Precede you the standard informix with "execute sql" SQL statement

    -You get no help from CUCM with syntax, so you might be well advised to use something which includes SQL a bit and he colorized you type, and then paste the commands resulting in the CUCM SSH window. I use an editor called JEdit, if you create a text file and save it as a file ending with .sql, it will highlight your syntax.

    -Other programs are available that make reasonable syntactic (EQ SquirrelSQL) that are designed to query the DB directly, but you can't really query directly against the DB for security reasons. You will still need to copy and paste commands.

    Now... to understand the DB you will need a reference describing all the tables, etc.. Here it is:

    http://www.Cisco.com/en/us/products/SW/voicesw/ps556/products_programming_reference_guides_list.html

    Choose your version of CUCM and download the document 'data definition '.

    Some notes on the order:

    run sql: is just the CLI command which tells the shell to perform the following as SQL.

    Select: the SQL command to recover data

    dnorpattern, cfadestination, cfavoicemailenabled: column names to retrieve

    callforwarddynamic c, numplan n: the names of the two tables and abbreviations that you want to refer to them as

    where c.fknumplan = n.pkid: This tells SQL to return values in the two tables where these fields match. In the data definition, you will see notes that c.fknumplan (i.e. the column fknumplan in table callforwarddynamic, as indicated by the prefix c.) refers to the PKID column in the area of the numplan. It is a type of join in the very standard DB CCM.

    and ("cfadestination! =" or cfavoicemailenabled = "t"): another clause, fundamentally in this application that we want to see only the rows where cfadestination is not empty or cfavoicefmailenabled has the value 't' for real).

    Most of the tables are related in two ways in this database:

    -a column "fk" prefix refers to the field of pkid (there is always only one field per table pkid) in the table following the prefix "fk". For example above fknumplan refers to the numplan, pkid field table. fkdevice refers to the machine table, pkid field.

    -a prefiex of 'traditional knowledge' column usually refers to a table enum which is preceded by 'type '. It is a table that maps the numerical value in the field of 'traditional knowledge' into a string. An example would be tkmodel - it is the type of physical phone (e.g. as 7962) and mapped as the column and a table called typemodel model 'enum' in the table.

    Concerning

    Aaron Harrison

    Senior Engineer at Logicalis UK

    Please note the useful messages...

  • How can I configure an option of advanced search in Windows 7?

    Original title: How do you get an option of advanced search in windows 7 as we could for earlier versions and calmly set your search?

    When I click in the main search field, that I want to set the the bottom of box main search to the left of the screen but he rockets off.

    It seems to be a limited selection of options that open up sometimes in blue under the search box which turns at the top of the right hand in Explorer can't see untial I put a word in the search box, sometimes just date arrives at other times can see other options such as the file.

    Did not work what to do to access these options.

    Reading on the advanced options, I see that I can type in the various symbols in the search.

    Is that what someone has produced an add on make life easier when searching?

    For example, I would first find the records to find files in folders by a specific word of the file type.

    Any suggestions welcome.

    CarbonFree.

    Hello

    Thanks for posting the question in the Microsoft Community forums.

    I see that you need to know more information on how to set-up an option of advanced search in Windows 7.

    Let's see a few articles and see how it works.

    Searching in Windows 7 can be as simple as typing a few letters in the search box, but there are also techniques of advanced search you can use. You don't have to know these techniques to search for your files, but they can be useful depending on where you are looking and what you are looking for.

    Advanced Tips for searching in Windows
    http://Windows.Microsoft.com/en-in/Windows7/advanced-tips-for-searching-in-Windows#section_2

    Searching in Windows: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/searching-in-Windows-frequently-asked-questions

    Find a file or folder

    http://Windows.Microsoft.com/en-us/Windows7/find-a-file-or-folder

    See also the step mentioned by "Shawn b. Keene [MVP] replied on September 19, 2010" in the article.

    In windows 7 - I want to find all files containing "a word or phrase in the file". The standard search XP box.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/in-Windows-7-i-want-to-search-for-all-files/aadfe1f1-4a33-406B-8e72-bb920efa4f30

    Hope this information helps. Get back to us if you have more queries about Windows.

  • need help on queries of the ASO

    Hi all

    I'll be all right with a more help in correcting my two mdx queries as validation with no error, but unable to see my data.

    Formula Member BSO:

    1st formula

    IF (@ISMBR ("06000", "06001", "07000", "07001"))

    Mnth3Fcst-> & CurrBW;

    ON THE OTHER

    ((& Mnth1Fcst-> «Réels») +(&Mnth2Fcst->"Actual") + (& -> Mnth3Fcst & CurrBW));

    ENDIF

    2nd formula

    IF (@ISMBR ("06000", "06001", "07000", "07001"))

    0;

    ON THE OTHER

    IF (@ISMBR (Q1:Q4))

    @VAR ('2 + 1', & CurrBW);

    ON THE OTHER

    0;

    ENDIF

    ENDIF

    ASO mdx query:

    1st formula

    case [accounts]. CurrentMember

    When ([06000], [06001], [07000], [07001])

    then ([& Mnth3Fcst], [and CurrBW])

    ON THE OTHER

    (([&Mnth1Fcst],actual) + ([& Mnth2Fcst], real) +([&Mnth3Fcst],[&CurrBW]))

    END

    2nd formula

    case [accounts]. CurrentMember

    When ([06000], [06001], [07000], [07001]) then 0

    ON THE OTHER

    case [as possible]. CurrentMember

    When ([Q1], [Q2], [Q3], [Q4])

    then ([2 + 1])-([& currBW])

    0 otherwise

    End

    End

    Please help me fix my two mdx formulas. Thanks in advance...

    SM

    Hi sm...

    First of all, a trick of troubleshooting for this kind of problems - separate conditional logic to the logic of value. For example something like this:

    CASE [accounts]. CurrentMember

    WHEN ([06000], [06001], [07000], [07001]) THEN

    1

    ON THE OTHER

    2

    END

    But in your case - I've never seen this construction before, and I do not think that it can possibly work:

    CASE [accounts]. CurrentMember WHEN ([06000], [06001], [07000], [07001])

    "I'd give on the use of a ' searched when clause" (see the case for an explanation simple vs sought when clauses) because it offers no advantage when you test a condition with each case only. That done, there are several ways to test "is X A, B or C one member."  This is one:

    CASE

    WHEN contains ([accounts]. CurrentMember, {[06000], [06001,] [07000], [07001]}) THEN

    ...

    ON THE OTHER

    ...

    END

    In short, I think you need to get replace all of your tests on the current Member (two [accounts] and [time]) with the style above the test using Contains.

  • SQL queries

    Dear all,

    We hope that all are doing well. I need your help, I want to find all sql queries executed in the month 1 in my oracle, verification of the database database is disabled.

    I tried v$ sql, but it gives only spent 15 days sql queries executed.

    I'm looking for 1 month? your help will be appreciated, thanks in advance.

    OS: RHEL 6.1

    DB: 11.2.0.3

    Kind regards.

    If you use more than one log archiving then use following code for example:

    Start

    sys.dbms_logmnr.add_logfile (nom_fichier_journal => ' /Archivelog/1_9745_771967668.dbf',options-online sys.dbms_logmnr.new).

    sys.dbms_logmnr.add_logfile (nom_fichier_journal => ' /Archivelog/1_9746_771967668.dbf',options-online sys.dbms_logmnr.addfile).

    sys. DBMS_LOGMNR. Start_logmnr (options-online sys.dbms_logmnr. DICT_FROM_ONLINE_CATALOG);

    end;

    /

  • Assistance with queries

    I have three tables:

    T1 with columns ID, TEXT

    T2 with columns T1_ID, T3_ID

    T3 with columns ID, TEXT

    T2 represents the relationship of m: n between T1 and T3

    I have also two sets of values N 0 - (texts - this will be the parameters of queries).

    Now, I need the query as follows:

    1. all T1. TEXT for which there are records in T3 with all texts in the set1 (or all records in T1, if the set is empty) and all texts in set2 will substrings of T1. TEXT

    2. all T3. TEXT related to T1 records in the 1 query, but that do not belong to the set and their cardinality in the subset

    Example:

    T1:

    1 Amy

    2 Bob

    3 Chris

    4 Danny

    T3:

    1 music

    2 horses

    3 paint

    4 sports

    T2: [1.1] (Amy loves music) [1,2] (and horses) [1.4]

    [2.1] [2,2] [2,3]

    [3.1] [3,4]

    [4.3]

    Now for the set1 empty:

    Q1 should return Amy, Bob, Chris, Danny

    Q2 should return music with 3, 2, paint with Sports horses and 2 with 2

    If the set2, however, contains "y".

    T1 should return only Amy and Danny

    Q2 music with 1, 1, Sports with 2 horses

    If the set1 contains 'music '.

    Q1: should return Amy, Bob and Chris

    Q2: Horses with 2, paint with 1 and 2 sport

    If the set1 contains 'Music' and 'horses '.

    Q1: should only return Amy and Bob

    Q2: should return painting with Sports and 1 with 1

    For 'Music', 'Paint' and 'horses '.

    Q1: only Bob is returned

    Q2: returns nothing

    For 'Paint' and 'Sports '.

    No query

    Could someone help me with this, please? Thanks in advance.

    Thank you, stew.

    I would like to know that how to use ADF.

    To make another conclusion of this thread, first of all, I want to thank to all who have contributed. I'm really impressed how well developed my question and how many valuable suggestions I received.

    My caveat is that I must be able to use from ADF - or to be more precise of ViewObject, which proved not to be is not so easy - for example, check https://tompeez.wordpress.com/2011/08/21/extending-viewcriteria-to-use-sql-contains-4/ on how to use CONTAINS.

    I even tried to pass all of the work of a SQL function via

    Select * from table (return_table (params));

    (see more in the poll a "table" of a PL/SQL function), but I didn't know what to call it either.

    As I also need end up at some point, I have finally decided to redefine the scope - the set_2 has become a unique value (it contains '%', if the HashSet Java class is empty), and I used ' ~' string for set_1 separated

    My final queries look like as follows:

    1ST QUARTER

    with the_count_table as (select 1 + regexp_count (: tags_set, ' ~') the_count where double: tags_set is not null union all select 0 the_count where double: tags_set is null), the_set_table as (select text from (select regexp_substr (: tags_set:)))  (',' [^ ~] +', 1, level) text of the_count_table, where the_count > connection by level <= regexp_count(:tags_set="" ||="" '~',="" '~'))="" union="" all="" select="" text="" from="" tags,="" the_count_table="" where="" the_count="0)" select="" sr.request_date,="" sr.problem_description,="" sr.status,="" sr.svr_id,="" the_count="" from="" service_requests="" sr,="" taglinks="" tl,="" tags="" t,="" the_count_table="" where="" sr.svr_id="tl.svr_id" and="" tl.tag_id="t.id" and="" the_count="">0 0 and lower (sr.problem_description) as lower(:substring_set) and t.text in Group (select text the_set_table) sr.request_date, sr.problem_description, sr.status, sr.svr_id, the_count having count (t.text) = the_count union all select distinct sr.request_date, sr.problem_description, sr.status, sr.svr_id, service_requests sr outer join taglinks the_count left tl on sr.svr_id = tl.svr_id outer join left tags t on tl.tag_id = t.id cross join the_count_table where the_count = 0 and lower (sr.problem_description) as lower(:substring_set)

    Q2

    with the_count_table as (select 1 + regexp_count (: tags_set, ' ~') the_count where double: tags_set is not null union all select 0 the_count where double: tags_set is null), the_set_table as (select text from (select regexp_substr (: tags_set:)))  (',' [^ ~] +', 1, level) text of the_count_table, where the_count > connection by level <= regexp_count(:tags_set="" ||="" '~',="" '~'))="" union="" all="" select="" text="" from="" tags,="" the_count_table="" where="" the_count="0)," the_people="" as="" (select="" sr.request_date,="" sr.problem_description,="" sr.status,="" sr.svr_id,="" the_count="" from="" service_requests="" sr,="" taglinks="" tl,="" tags="" t,="" the_count_table="" where="" sr.svr_id="tl.svr_id" and="" tl.tag_id="t.id" and="" the_count="">0 0 and lower (sr.problem_description) as lower(:substring_set) and t.text in Group (select text the_set_table) sr.request_date, sr.problem_description, sr.status, sr.svr_id, the_count having count (t.text) = the_count union all select distinct sr.request_date, sr.problem_description, sr.status, sr.svr_id, service_requests sr outer join taglinks the_count left tl on sr.svr_id = tl.svr_id outer join left tags t on tl.tag_id = t.id cross join the_count_table where the_count = 0 and lower (sr.problem_description) as lower (:substring_set)) select t.text, count (*) the use of tags t, taglinks tl, sr from service_requests where tl.tag_id = t.id and sr.svr_id = tl.svr_id and (sr.svr_id in (select svr_id from the_people) and (: tags_set is null or (t.text not to (select text the_set_table))) group by order t.text by using desc ))


    (my actual case data model is slightly different from those used in the question)

  • to solve the problems of performance (running slow SQL queries), which should be the systematic approach

    Hello

    I am new to oracle.  Need some advice on how we should approach to problems of performance especially for SQL queries running slow on the database.

    Thanks in advance.

    6e85b3c2-5f02-40CB-A8AD-d2279f63b4be wrote:

    Hello

    I am new to oracle.  Need some advice on how we should approach to problems of performance especially for SQL queries running slow on the database.

    Thanks in advance.

    Start here;  http://docs.Oracle.com/CD/E11882_01/server.112/e10822/TOC.htm

    Continue here: http://docs.oracle.com/cd/E11882_01/server.112/e41573/toc.htm

  • Combination of tw or more queries

    Hello

    I work in the BI reports, I need to create the data model of 7 different queries unfortunately I am not very good with SQL queries. I have following queries works well when I run individually, but I would like to combine them so that I can get the result in one. In fact, I have 7 requests similar to this, I would like to combine them all in a single query to produce a unique data model a place on 7. If any one can help these 2 combing, I will follow the same patch to combine the rest of my questions. Thanks in advance!

    Select«MGMT$ METRIC_DAILY '.»» TARGET_NAME' as 'targetname '.
    «MGMT$ METRIC_DAILY '.»» TARGET_TYPE' as 'TARGET_TYPE ',.
    «MGMT$ METRIC_DAILY '.»» METRIC_NAME"as"METRIC_NAME. "
    «MGMT$ METRIC_DAILY '.»» METRIC_COLUMN"as"METRIC_COLUMN. "
    «MGMT$ METRIC_DAILY '.»» MEANS"as"Mem_Util. "
    To_char (ROLLUP_TIMESTAMP, 'DD') as 'DATE '.

    Of'MGMT_VIEW '. "" MGMT$ METRIC_DAILY "' MGMT$ METRIC_DAILY.
    where«MGMT$ METRIC_DAILY '.»» TARGET_TYPE' = "host".
    and«MGMT$ METRIC_DAILY '.»» METRIC_NAME' = 'Load '.
    and«MGMT$ METRIC_DAILY '.»» METRIC_COLUMN"="memUsedPct. "

    and "MGMT$ METRIC_DAILY. "" TARGET_NAME ' IN (: P_Target_NAME)

    AND ((: P_TIME_PERIOD = "7"))

    AND ROLLUP_TIMESTAMP > = SYSDATE - 7)

    ORDER BY ROLLUP_TIMESTAMP



    QUERY 2:



    Select«MGMT$ METRIC_DAILY '.»» TARGET_NAME' as 'targetname '.
    «MGMT$ METRIC_DAILY '.»» TARGET_TYPE' as 'TARGET_TYPE ',.
    «MGMT$ METRIC_DAILY '.»» METRIC_NAME"as"METRIC_NAME. "
    «MGMT$ METRIC_DAILY '.»» METRIC_COLUMN"as"METRIC_COLUMN. "
    «MGMT$ METRIC_DAILY '.»» "AVERAGE of" as "CPU_UTIL."

    To_char (ROLLUP_TIMESTAMP, 'DD') as 'DATE '.

    Of'MGMT_VIEW '. "" MGMT$ METRIC_DAILY "' MGMT$ METRIC_DAILY.
    where«MGMT$ METRIC_DAILY '.»» TARGET_TYPE' = "host".
    and«MGMT$ METRIC_DAILY '.»» METRIC_NAME' = 'Load '.
    and«MGMT$ METRIC_DAILY '.»» METRIC_COLUMN"="cpuUtil. "

    and "MGMT$ METRIC_DAILY. "" TARGET_NAME ' IN (: P_Target_NAME)

    AND ((: P_TIME_PERIOD = "7"))

    AND ROLLUP_TIMESTAMP > = SYSDATE - 7)

    ORDER BY ROLLUP_TIMESTAMP

    Tag! I am.

    Hi 24601

    Change

    ORDER BY ROLLUP_TIMESTAMP

    TO

    ORDER BY TO_CHAR (ROLLUP_TIMESTAMP, 'DD')

    Friends advice:

    Please change your handle/forum name for an easier to remember name.

    Please provide examples of displaying data create and insert statements or use the clause.

    Re: 2. How can I ask a question in the forums?

    BTW. Welcome to the forum.

  • Multiple queries in a data model - Performance?

    Hi experts,

    I created a data model and defined queries 7 (isolated; not connected together). I want to create 7 reports based on queries 7 (for example query1 used in Report1, query2 used into Report2, etc.).

    The consolidation of 7 queries in a data model affect performance? How the BEEP collects data - is only the query used processed, or each time the entire data model?

    Thanks in advance!

    Hello

    According to the data that you want to use in your report.

    In a report, you can use data from more than queries.

    We recommend that you create 1 data model for each report, for a good performance with all applications you need.

    7 queries fetch data slower than 1 query in your data model.

    Kind regards

    Liviu

  • combine the two queries analysis

    Hi friends,

    could you please help me to combine these two queries. The bottom one looks like, take too many resources.

    FUNCTION XML_error_log ()P_i_xml IN XMLTYPE, p_i_event_key IN VARCHAR2,( )

    RETURN VARCHAR2

    IS

    l_covered_product_header_id NUMBER ;

    l_item_path VARCHAR2 (500);

       xml_table                     XMLTYPE;

    p_ret_code_o VARCHAR2 (5);

    p_error_buff_o VARCHAR2 (2000);

       l_user_id                     NUMBER (15) := fnd_global . user_id ;

    l_implicit_product_name VARCHAR2 (40);

    l_top_model_line_id oe_order_lines_all . top_model_line_id % TYPE;

    main_error_check VARCHAR2 (100) := NULL;

    main_error_check1 VARCHAR2 (100) := NULL;

    l_status_log_status VARCHAR2 (1);

    l_err_msg_log_status VARCHAR2 (4000);

       p_o_status                    VARCHAR2 (100);

       p_o_err_msg                   VARCHAR2 (100);

    P_i_input_res_xml XMLTYPE;

    BEGIN

    p_o_status := 'S' ;

    p_o_err_msg := NULL;

    Dbms_output.put_line ()' Start... process_response_xml ');

    FOR i

    IN (SELECT x. code , x . gravity , x . Description                   

    DE XMLTABLE ( )

    xmlnamespaces (DEFAULT ' urn: xyz:ccw:config:common: data'()

    , ' for $i in //error

    Returns the element r {}

    $i / code,.

    $i / description.

    $i / gravity

    }'

    By the WAY P_i_input_res_xml

    COLUMNS

                  code  VARCHAR2 (13) Path 'code'

    , gravity VARCHAR2 (30) Path "gravity"

    , Description VARCHAR2 (30) Path 'description'

    ) x )

    LOOP

    DBMS_OUTPUT.put_line ) ( )

    ' code : ' || i . code );

    DBMS_OUTPUT.put_line ) ( )

    ' severity: ' || i . gravity );

    DBMS_OUTPUT.put_line ) ( )

    ' description: ' || i . Description );

    main_error_check := i . code of : main_error_check;

    INSERT IN xxgco_config_validate ()event_status ERROR_CODE error_description ,error_severity creation_date event_key last_update_date( )

    VALUES('E',i. code , i . Description , i . gravity SYSDATE, p_i_event_key , SYSDATE);

    RETURN 'E' ;

    END LOOP;

    DBMS_OUTPUT.put_line ()' main_error_check:' : main_error_check);

    DBMS_OUTPUT.put_line ()' COMPLETED:');

    IF main_error_check IS NULL

    THEN

    FOR i

    IN (SELECT x. code , x . gravity , x . Description , x . subcause                   

    DE XMLTABLE ( )

    xmlnamespaces (DEFAULT ' urn: xyz:ccw:config:common: data'()

    , ' for $i in //message

    Returns the element r {}

    $i / code,.

    $i / description.

    $i / gravity,.

    $i / subCause

    }'

    By the WAY P_i_input_res_xml

    COLUMNS

                  code  VARCHAR2 (13) Path 'code'

    , gravity VARCHAR2 (30) Path "gravity"

    , Description VARCHAR2 (30) Path 'description'

    , subCause VARCHAR2 (50) Path "subCause"

    ) x )

    LOOP

    DBMS_OUTPUT.put_line ) ( )

    "code:" || i . code );

    DBMS_OUTPUT.put_line ) ( )

    ' severity: ' || i . gravity );

    DBMS_OUTPUT.put_line ) ( )

    ' description: ' || i . Description );

    DBMS_OUTPUT.put_line()' subCause:': i. subCause );

    INSERT IN xxgco_config_validate ()event_status ERROR_CODE error_description ,error_severity error_cause creation_date event_key last_update_date( )

                        VALUES('E',i. code , i . Description , i . gravity , i . subcause SYSDATE, p_i_event_key , SYSDATE);

    main_error_check1 := i . code of : main_error_check1;

    END LOOP;

    IF main_error_check1 IS NOT NULL

    THEN

    RETURN ('E');

    ON THE OTHER

    RETURN ('S');

    END IF;

    ON THE OTHER

    -TODO Log main error Log

    RETURN ('E');

    END IF;

    EXCEPTION

    WHEN Others

    THEN

    p_o_err_msg :=

    SUBSTR (

    ' Error in the response_XML_error_log FUNCTION:'

                || SUBSTR (SQLERRM, 1, 250)

                || ':'

                || DBMS_UTILITY.format_error_backtrace ,

    1 ,

    4000 );

    RETURN 'E' ;

    END XML_error_log ;



    Thanks in advance

    Ok.. This isn't a constructive debate...

Maybe you are looking for

  • How to change the Apple ID in the ap store

    IN the ap store, there is an identifier Apple that no longer exist.  The IPL for this account will not work. I reset my Apple on my Mac and iPad without any ID, but trying to do the same thing on my iPhone, my new PW does not work and there is no pos

  • Need advice on games that use Satellite P200-1EE

    Hello Bought a Toshiba P200-1EE laptop. I saw that the call of duty 4 was available in demo version seen noticed spec CPU of this laptop was not the requirement of minimum 2.4 ghz, the P200 in 1.5. I downloaded anyway and it seems to work ok. Is it b

  • How to install SQL server 2012

    I bought sql server 2012 and windows server 2008 r2 for the firmware. need to install it on my server of t110 dell running on windows server 2008 r2

  • Pavilion p206tx: AccelerometerSt.exe - system error

    Mr President I have a p206tx that is poping up on my screen like ACCELEROMETER ST. EXE-SYSTEM ERROR. which I tried to uninstalling the program from my lappy. Kindly help me on this problem.

  • BlackBerry software link - change the backup folder

    Windows 10.  When I try to save my Z10, I receive the error message that it can't write to the backup folder, so I need to change the permissions, or change the backup folder. I checked the permissions and there are all the granted permissions. I can