A set Query  of query graph

Hi i'm trying to code using JAVA of course, a graph G(V, E) V= set of shared queries and E= set of Edges, and a priority queue please if you know how to do it tell i'm waiting
thanks in advance
[email protected]

How urgent is your homework?

Similar Messages

  • How to export result set from mysql query browser to .sql in oracle

    Hi folks:
    I was trying to export result set from MySql query browser to Oracle. I could able to do
    File->Export Result Set-> Excel format...
    What I am trying to get is .sql file so that I can run it as a script in my oracle db. Is there any way we can get .sql file with inserts and delimeters ....?
    Did you guys get my question.?
    Please throw some light on this....
    Could be very appreciable ....
    Thanks
    Sudhir Naidu

    Hi
    Create a sql statement which generates the insert statements.
    Something like this:
    select 'insert into table1 (column1, column2, column3) values (' ||
    column1 || ', ' || column2 || ', ' || column3 || ');' from table 1;
    The || sign is the string concatenation sign in Oracle, replace it the appropriate sign in MySql. Export the result set of this query into a file, and you can run it in a SqlPlus.
    Ott Karesz
    http://www.trendo-kft.hu

  • How to set paramters through Query manager.

    Hi,
    I need to get Parameters when we are executing SQL Query through Query Manager.
    In Query manager how to set prompt window for parameters.
    Below I applied parameters for from date and to date but its showing error. How to set parameters prompt window.
    SELECT     OJDT.TransId, OJDT.Number,NNM1.SeriesName,ojdt.baseref as BaseRefNumber, JDT1.Account,JDT1.StornoAcc,OACT.AcctName,jdt1.credit,jdt1.debit, jdt1.profitcode as [Customer/Vendor],JDT1.OcrCode2 as [Region/Location] , JDT1.OcrCode3 as  Department,
                          JDT1.OcrCode4 as [Core/Deputees/DailyWage/General], JDT1.OcrCode5 as [SubAccofCA&CL],OJDT.RefDate, OJDT.Project,jdt1.project
    FROM         OJDT
    INNER JOIN JDT1 ON OJDT.TransId = JDT1.TransId
    INNER  JOIN OACT on OACT.AcctCode=JDT1.Account
    INNER JOIN NNM1 ON OJDT.Series = NNM1.Series
    where ojdt.transType=30 and  ojdt.refdate >= '[%0]' AND ojdt.refdate <= '[%1]'
    Please guide me.
    Regds,
    Sampath kumar devunuri.

    hi sampath,
    Try this query
    SELECT T0.TransId, T0.Number,T3.SeriesName,T0.baseref as BaseRefNumber, T1.Account,T1.StornoAcc,T2.AcctName,T1.credit,T1.debit, T1.profitcode as CustomerVendor,T1.OcrCode2 as RegionLocation , T1.OcrCode3 as Department,
    T1.OcrCode4 as CoreDeputeesDailyWageGeneral, T1.OcrCode5 as SubAccofCACL,T0.RefDate, T0.Project,T1.project
    FROM dbo.OJDT T0
    INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
    INNER JOIN OACT T2 on T2.AcctCode=T1.Account
    INNER JOIN NNM1 T3 ON T0.Series = T3.Series
    where
    T0.transType='30' and CAST(T0.refdate AS datetime) BETWEEN '[%0]' AND '[%1]'
    Jeyakanthan

  • Need QUERY result in Graph

    Dear Experts,
    I am having the following requirement.
              Can it be possible to present the QUERY result in Graph ?
    I read many thread in SDN, I found through APD/WAD we can do it . But I am confused.
    But I am not getting any thread , How to proceed step by step ?
    Kindly help..
    Thanks,
    Sethi

    Hi,
    If you are using Bex Query make as work book ,in that you can add charts and save as work book not as a query.
    To insert the chart
    Go to insert tab in the Excel(Work book) choose which chart  you want in that.
    After that go the chart which you have selected, right click and go to select data option, choose series for Entries and choose labels for category.
    Hope it helps.
    Thanks & Regards,
    Ramnaresh.P.

  • RE: Authority checks included in the info set of the query

    Hi all,
    I am checking the program code for one of our custom tcodes and i asked ABAP team to add authority check to the program code because there is no auth check in the code and abapers told me that the authority check is included inside the info set of the query and not in the program . the program is used to execute the query in the Tcode.
    how to find the Authority checks included in the info set of the query.
    Thanks in advance,
    Sun.

    If you have the BI support roles assigned to you  and the security admin  roles please login to the BI system
    execute transaction RSECADMIN, click on the analysis tab and execute as the user who is assigned the role with restrictions.
    For variables in authorizations like ( type customer exit )
    use RSECADMIN - maintain authorization tab - Click on value authorization tab.
    Keytransaction is RSECADMIN  & infoobject maintenance details you can get from RSD1.
    Regards

  • Let end user to set up the query

    Hi all!
    Is there a way to let end user to set up a query/report with forms?
    = users can use a form (whit predefined values) to determine which column(s) shows in the result and can add filters before submit.
    Because a cube is stored in relational tables i think it's not an olap question.
    But here is why i asked this:
    I make an application that query an olap cube. I can make reports with apex from the cube view and from dimension views. But i want to let users to select from the available dimensons and measures and set filters on selected dimensions (on first page) using a form. When user submit the form the second page shows the result.
    Thanks
    Edited by: qenchi on 2009.08.09. 7:27

    Hi,
    This is what I've done in that application example.
    1 - I have two pages. Page 1 is the select columns and filters page and Page 2 is the report
    2 - On page 1, I have created a PL/SQL page process, called P1_CREATE_COLLECTION, that runs "Before Header". This is unconditional and has a Source Process of:
    BEGIN
    IF NOT APEX_COLLECTION.COLLECTION_EXISTS('FILTERING') THEN
      APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY('FILTERING', 'SELECT COLUMN_NAME, DATA_TYPE, ''Y'' SHOW_YN, '''' FILTER FROM ALL_TAB_COLUMNS WHERE OWNER = ''#OWNER#'' AND TABLE_NAME = ''EMP3'' ORDER BY COLUMN_ID');
    END IF;
    END;ALL_TAB_COLUMNS contains records for all columns in all tables. In this example, I'm retrieving a list of all of the columns in the EMP3 table (which is just a copy of EMP plus a few extra fields). I'm also getting the data type for the column, setting the "Show" value to Y and starting with an empty filter string for each column. The actual data is retrieved into a collection called FILTERING. In this way, I can store all of the user's selections for use on Page 2. The IF test just ensures that I don't overwrite the collection if it already exists - that is so that I can keep any settings that the user made when they were last on Page 1.
    This collection gives allows me to store the following:
    SEQ_ID - the collection's sequence ID
    C001 - The COLUMN_NAME
    C002 - The DATA_TYPE
    C003 - The Y/N flag for SHOW_IN_REPORT
    C004 - The filter to be applied to the column
    3 - I created a "SQL Query (updateable report)" report. To do this you need to create a report using the SQL Wizard - any SQL statement will do - then you can change the report type from "SQL Query" to "SQL Query (updateable report)". I haven't found another way to do this.
    The report's SQL was changed to:
    SELECT APEX_ITEM.HIDDEN(1, SEQ_ID) || C001 COLUMN_NAME,
    C002 DATA_TYPE,
    APEX_ITEM.SELECT_LIST(3, C003, 'Yes;Y,No;N') SHOW_IN_REPORT,
    APEX_ITEM.TEXT(4, C004) FILTER
    FROM APEX_COLLECTIONS
    WHERE COLLECTION_NAME = 'FILTERING'
    ORDER BY SEQ_IDThis is a "manual tabular form" and is based on the collection created by my process.
    4 - I then created a button on the page called P1_CREATE_REPORT. This is just a normal submit button - the branch for this is to Page 2. On the branch, I ticked the option to "reset pagination for this page"
    5 - Finally, on Page 1, I created a PL/SQL process, triggered by my button, and in the "On Submit - After Computations and Validations" process point. The Process code for this is:
    BEGIN
    FOR x IN 1..APEX_APPLICATION.G_F01.COUNT
    LOOP
    APEX_COLLECTION.UPDATE_MEMBER_ATTRIBUTE(p_collection_name=&gt;'FILTERING', p_seq=&gt;APEX_APPLICATION.G_F01(x), p_attr_number=&gt;3, p_attr_value=&gt;APEX_APPLICATION.G_F03(x));
    APEX_COLLECTION.UPDATE_MEMBER_ATTRIBUTE(p_collection_name=&gt;'FILTERING', p_seq=&gt;APEX_APPLICATION.G_F01(x), p_attr_number=&gt;4, p_attr_value=&gt;APEX_APPLICATION.G_F04(x));
    END LOOP;
    END;This loops through the tabular form after it is submitted and updates the collection with the Y/N Show values and the filters
    Now onto Page 2
    1 - I created a SQL Query report using *SELECT 1 FROM DUAL".  When created, I changed the report type to "SQL Query (PL/SQL function body returning SQL query)" and change the Region Source to the following code:
    DECLARE
    vSQL VARCHAR2(8000);
    vQ CHAR(1);
    vSEP1 VARCHAR2(2);
    vSEP2 VARCHAR2(6);
    BEGIN
    vQ := CHR(39);
    vSEP1 := '';
    vSEP2 := 'WHERE ';
    vSQL := 'SELECT ';
    FOR x IN (SELECT SEQ_ID, C001, C002, C003, C004 FROM APEX_COLLECTIONS WHERE COLLECTION_NAME = 'FILTERING' ORDER BY SEQ_ID)
    LOOP
      IF x.C003 = 'Y' THEN
       vSQL := vSQL || vSEP1 || x.C001;
       vSEP1 := ', ';
      END IF;
    END LOOP;
    vSQL := vSQL || ' FROM EMP3 ';
    FOR x IN (SELECT SEQ_ID, C001, C002, C003, C004 FROM APEX_COLLECTIONS WHERE COLLECTION_NAME = 'FILTERING' ORDER BY SEQ_ID)
    LOOP
      IF LENGTH(x.C004) &gt; 0 THEN
       IF x.C002 = 'VARCHAR2' THEN
        vSQL := vSQL || vSEP2 || x.C001 || '=' || vQ || x.C004 || vQ;
       ELSIF x.C002 = 'DATE' THEN
        vSQL := vSQL || vSEP2 || x.C001 || '=TO_DATE(' || vQ || x.C004 || vQ || ',' || vQ || 'DD/MM/YYYY' || vQ || ')';
       ELSE
        vSQL := vSQL || vSEP2 || x.C001 || '=' || x.C004;
       END IF;
       vSEP2 := 'AND ';
      END IF;
    END LOOP;
    RETURN vSQL;
    END;This loops through the FILTERING collection twice. The first time to build up a SQL SELECT statement containing all of the columns in EMP3 that the user wants to show
    The second loop then builds up a WHERE clause for the statement based on any filters the user wants to apply. I have used the DATA_TYPE values stored in the C004 field to identify the format of the value in the WHERE clause - either VARCHAR2, which puts the string in quotes, DATE, which casts the string as a date using DD/MM/YYYY format and then any other value (which should be NUMBER), which just outputs the value entered.
    Note that I've used vQ to hold the quote character (CHR(39)) as I find this easier than trying to work out how many single, double or triple quotes I need to get quotes within the string.
    All of this just builds up a string (vSQL) which is returned to Apex at the end of the code so that it can build the report.
    Note that I have also ticked the option under the Region Source setting to show "Use Generic Column Names (parse query at runtime only)". This needs to be done as the columns are changeable.
    2 - I created a button called P2_BACK_BUTTON which branches back to Page 1
    Obviously, this is a very basic example. You could, for instance, go one step further and allow the user to pick the table (SELECT TABLE_NAME FROM ALL_TABLES) or view (SELECT VIEW_NAME FROM ALL_VIEWS). As the final report is being constructed as a string, it doesn't matter how the table/view name is derived. You could also add popups for calendars and calculators, where appropriate, on Page 1.
    Andy

  • Virtual column in the result set of the query.

    Hi folks,
    I have table , let it be, EMP. It has columns ENAME,EMPNO,JOB etc.,
    My requirement is to add an extra column, not present in the table, having NULL value at the time of diplaying the results of a query. I hope you got it. So a column that does not exists in the table should get displayed in the resultant set when we query the results from that table. so my question is, how to write the SELECT statement using that virtual column.
    I'd thought of using X column in Dummy table but what if I don't have any dummy table in my particular schema.
    Please do revert back with the solution.
    Your effort'll be genuinely appreciated.
    Cheers
    PCZ

    Hi,
    If you just wany display null values you can write query like this :
    SELECT ENAME,EMPNO,JOB , NULL DUMMY_COLUMN FROM emp;
    Regrads
    Avinash

  • How set dynamically created query in GridControl?

    How set dynamically created query in GridControl?
    Thank you

    If your dynamic query is based on an Entity object, then you can probably use RowSetInfo setQueryInfo method.
    The argument to this method is a 'Query' object. There are three flavours provided in the oracle.dacf.dataset
    package.
    oracle.dacf.dataset.QueryViewInfo
    defines an updateable SQL query based on a predefined BC4J View Object.
    oracle.dacf.dataset.QueryStatementInfo
    Creates a view object based on an arbitrary SQL statement.
    oracle.dacf.dataset.QueryInfo
    Creates a View Object from an Entity Object and additional SQL clauses. The View Object will have
    that Entity Object as its sole Entity Object base.
    If in your application you are able to specify the name of the entity, then you can use the QueryInfo method to define your
    query. Please try the following.
    SessionInfo si = ....
    void runDynamicQuery()
    RowSetInfo rsi = new RowSetInfo();
    AttributeInfo ai = new AttibuteInfo(..);
    ai.setName(..);
    rsi..addChild(ai);
    si.addChild( rsi)
    rsi.setQueryInfo( new QueryInfo( ...../* include entity name */ .... ));
    rsi.setName(....);
    rsi.open(true);
    grid.setDataItemName(...);
    Hope this helps,
    Sathish.

  • How to extract the Physical Query(database Query)

    Hi ,
    How to extract the Physical Query(database Query) from obiee which was fired in obiee
    Regards
    Ranga

    Hi Ranganath,
    Have a look the following links.
    Setting Logging level:
    http://gerardnico.com/wiki/dat/obiee/loglevel
    How to see physical query:
    http://gerardnico.com/wiki/dat/obiee/manage_session_log
    If you are new to OBIEE, spend some hours on the following blog to learn from basics to advanced level.
    http://gerardnico.com/wiki/
    http://obiee101.blogspot.com/
    http://www.rittmanmead.com/blog/
    Hope it helps you.
    Regards,
    Kalyan Chukkapalli
    http://123obi.com

  • Query of Query Error

    This is the error I get -
    Query Of Queries syntax error. Encountered ". Query Of
    Queries runtime error.
    The Cold Fusion server is running MX 7,0,1,116466.
    The sql is "Select * from Invlotquery2 where lotnum =
    '2011-61-12' ". (The extra space after the single quote is for
    clarity.)
    I have already built the query and the user is trying to
    filter on a lot number. Whenever the lot number starts as numeric
    and is 10 digits long(2011-61-12) the above error happens. A
    lotnumber thats starts as a character or a lot number that starts
    numeric and has less than 10 characters or more than 10 characters
    works ok. I still have code in place to create a dummy record for
    the query that sets the query fields up as characters. I found out
    that previous versions of Cold Fusion could create query fields as
    numeric if not specified.
    This really seems to be a user specific error but I thought I
    would post here to see if anyone has had a similiar problem or
    knows of a solution.
    Thanks,
    Dale

    >> Does a cfqueryparam work with a query of query?
    > Yes. I'm not so cruel as to suggest something that
    doesn't work ;-)
    Hmmm.
    Seems there's *degrees* of working. They certainly work when
    telling CF
    that a value *is* a date, but seemingly not so much when
    telling CF that a
    string *isn't* a date, even when it clearly isn't.
    See this sample code:
    <cfset q1 =
    queryNew("iCol,dCol","integer,VarChar")><!--- no dates here
    --->
    <cfset queryAddRow(q1)><cfset querySetCell(q1,
    "iCol", 1)><cfset
    querySetCell(q1, "dCol", "2011-61-12")><!--- not a date
    --->
    <cfset queryAddRow(q1)><cfset querySetCell(q1,
    "iCol", 2)><cfset
    querySetCell(q1, "dCol", "2006-06-29")>
    <cfset queryAddRow(q1)><cfset querySetCell(q1,
    "iCol", 3)><cfset
    querySetCell(q1, "dCol", "2006-07-29")>
    <cfset queryAddRow(q1)><cfset querySetCell(q1,
    "iCol", 4)><cfset
    querySetCell(q1, "dCol", "2006-08-29")>
    <cfset queryAddRow(q1)><cfset querySetCell(q1,
    "iCol", 5)><cfset
    querySetCell(q1, "dCol", "2011-1-12")>
    <cfquery name="q2" dbtype="query">
    select iCol, dCol
    from q1
    where dCol = <cfqueryparam cfsqltype="cf_sql_varchar"
    value="#javacast('string', '2011-61-12')#"><!--- change
    '61' to '1' and it
    works --->
    </cfquery>
    <cfdump var="#q2#">
    Now... column dCol is CLEARLY not date data:
    1) I'm specifying it as VARCHAR in the query definition.
    2) The first value in it is definitely not a date.
    3) Nowhere am I treating it like a date.
    Although CF apparently knows better, and goes 'ooh... despite
    him saying
    it's not a date, the data not being date data, and when he
    uses the data,
    he specifically says "it's not a date" (and man... he's even
    saying that
    TWICE!)... I reckon cos SOME of the date looks kinda like a
    date... I know
    what I'll do!!" [and proceeds to collapse in a heap, because
    it decides I'm
    using dates].
    So. Looks like I'm gonna have to suck it up, and suggest you
    should listen
    to Dan and not me!
    Adam
    (PS: I shall raise a bug with Adobe regarding this
    behaviour).

  • Advantage of SQL Query (Strucutred Query) over SQL Query

    What is the advantage of a Region Type 'SQL Query (Structured Query)' over 'SQL Query'?
    I just became curious when comparing the results of the Master Detail Wizard, and the Report and Form Wizard.

    Greg,
    From a functionality standpoint, there are no advantages one has over the other. "Structured queries" are the result of you stepping through the easy report wizard. This means you didn't have to know the SQL required to produce the result set you're after. Creating a SQL report requires knowledge of SQL.
    Sergio

  • Errors with querying a query table using non-QoQ query and QoQ query

    HELP ! ! !  Going into testing soon. I need this to work to get correct report results ! ! ! !
    My issue seems similar to the one just answered about Query of Queries RunTime Error
    and the reply from lawhite01 caught my eye.
    This is a 2 parter. The second part is the QoQ part, but the 1st part has a line in the query that is similar to the QoQ one and it uses the same data. Part 1 also throws an error.
    PART # 1.
    I'm trying to use a query table created through QueryNew and then query it.
    I need multiple columns in the query table I create:
    <cfscript>
            tot_AllCurrentDraftListing = QueryNew("AnnounceNum, JP_PDLoc, JP_JS_Title, JP_JS, JP_KW_1, JP_JobTitle, JP_Open, JP_Close, JP_CloseType, JP_CloseName, JP_PosNeed, JP_DirectHire, JP_Desc, JP_Draft, JP_Archived, JP_State, JP_AreaName, JP_AreaID, JP_AreaAlias, JP_Fac_SU, JP_Fac_Facility, JP_FAC_ID, JP_Grade1, JP_sal_low1, JP_sal_high1, JP_Grade2, JP_sal_low2, JP_sal_high2, JP_Grade3, JP_sal_low3, JP_sal_high3, JP_Grade4, JP_sal_low4, JP_sal_high4, JP_Grade5, JP_sal_low5, JP_sal_high5, JP_Posted, JP_TypeHire, JP_HRemail");
        </cfscript>
    Then I populate all the cells of the query table.
    Then I set up to use the created query table.
    I do this first:
        <cfquery name="qAltPostID" datasource="#at_datasource#">
             SELECT AltPoster, fk_Job_AnnounceNum
             from JOB_JPContacts
             Where AltJPContactType = 'AltPosterID'
             and AltPoster = '#session.IHSUID#'
             </cfquery>
    Then, in my first query using the created query, I expect to need to choose from multiple values, so I'm using this line in the query (this is NOT a QoQ query):
                and AnnounceNum IN (<cfqueryparam cfsqltype="CF_SQL_varchar" value="#ValueList(qAltPostID.fk_Job_AnnounceNum)#">)
    I've also tried:
                   and AnnounceNum IN (#ValueList(qAltPostID.fk_Job_AnnounceNum)#)   
    and:
                   and JOB_AnnounceNum IN
                    SELECT fk_Job_AnnounceNum
                    from JOB_JPContacts
                    Where AltJPContactType = 'AltPosterID'
                    and AltPoster = '#session.IHSUID#'
    ERROR is: one record should return. I get 0.
    PART # 2: Here's the QoQ part.
    I get the error:
    Query Of Queries runtime error.
    Comparison exception while executing IN.
    Unsupported Type Comparison Exception: The IN operator does not support comparison between the following types:
    Left hand side expression type = "LONG".
    Right hand side expression type = "STRING".
    A tutorial I found gave an example using only one column for this part of the fix:
         tot_AllCurrentDraftListing = QueryNew("AnnounceNum", "CF_SQL_VARCHAR")
    How would I set up the query with the datatype when I'm using multiple columns:
    <cfscript>
            tot_AllCurrentDraftListing = QueryNew("AnnounceNum, JP_PDLoc, JP_JS_Title, JP_JS, JP_KW_1, JP_JobTitle, JP_Open, JP_Close, JP_CloseType, JP_CloseName, JP_PosNeed, JP_DirectHire, JP_Desc, JP_Draft, JP_Archived, JP_State, JP_AreaName, JP_AreaID, JP_AreaAlias, JP_Fac_SU, JP_Fac_Facility, JP_FAC_ID, JP_Grade1, JP_sal_low1, JP_sal_high1, JP_Grade2, JP_sal_low2, JP_sal_high2, JP_Grade3, JP_sal_low3, JP_sal_high3, JP_Grade4, JP_sal_low4, JP_sal_high4, JP_Grade5, JP_sal_low5, JP_sal_high5, JP_Posted, JP_TypeHire, JP_HRemail");
        </cfscript>
    I used this code after all the cells contained values and before running my QoQ query:
            <cfloop index="intID" from="1" to="#tot_AllCurrentDraftListing.recordcount#" step="1">
                <cfset tot_AllCurrentDraftListing["AnnounceNum"] [intID] = JavaCast("string", intID) />
            </cfloop>
              Is that correct?
    Thanks.
    Whoever can help me with this should be awarded extra points ! ! ! !

                and AnnounceNum IN (<cfqueryparam cfsqltype="CF_SQL_varchar" value="#ValueList(qAltPostID.fk_Job_AnnounceNum)#">)
    If you're passing a list as a param, you need to tell <cfqueryparam> it's a list.  Read:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_p-q_18.html#1102474
    ERROR is: one record should return. I get 0.
    It's a bit hard to comment on this sort of thing without knowing the data involved.
    A tutorial I found gave an example using only one column for this part of the fix:     tot_AllCurrentDraftListing = QueryNew("AnnounceNum", "CF_SQL_VARCHAR")
    How would I set up the query with the datatype when I'm using multiple columns:
    Again, this is a matter of reading the relevant docs:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/functions_m-r_19.html#292759
    As a general rule, if you're having trouble with the syntax of a CFML statement, look it up in the docs.
    Adam

  • Error while accessing Query using Query Analyzer

    dear experts...
    while accesiing the query using query analayzer...
    we are getting below error...
    What has happened?
    URL http://xxx.xxx.xxx.xx:XXXX/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system BI1 with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:001-u:ANAND-l:E-i:PSRCCPRDA003_BI1_00-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    thanks for helping me...
    anand

    Hi friends,,
    instead of getting the link like
    http://128.222.125.57:9000/sap/bw/bex?cmd=ldoc&infocube=ZMC_SRH1&query=AGINGV21A&sap-language=EN(working link)
    am getting below link...which is getting an error....
    http://128.222.125.57:9000/sap/bw/://:/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=AGINGV21A
    above marked is the unwanted thing so how can i change my link in query designer???
    please suggest me firneds

  • Unable to create new query using query manager

    Hi friends,
    I have been trying to create a query using query manager for couple of hours but still not able to.I am following the instructions given in oracle Peopletools 8.52 : Peoplesoft query
    Chapter - creating new queries.
    Below are the steps I am going through to create new query:
    Step - I open the component Reporting Tools-> Query->Query Manager , I don't get the tabbed pages one for search an existing query and another for create new query.
    Please follow this link to see how the page is displayed in first step:
    http://uploadpic.org/v.php?img=EvMvVAXX1E
    Step 2 - When I click on create new query link, I am redirected to a page where it asks for record name to add in the query. But, even this page is not displayed as how it supposed to be
    http://uploadpic.org/v.php?img=GzHh3f6krU
    Step 3 - Following the above step, when I click on Person record to add into my query I am asked to select the fields that I want to display in the output.
    But I somehow do not get the proper tabbed pages where individual pages are there to add the attributes to complete the query like adding multiple records, fields, query, expressions, prompt...etc
    http://uploadpic.org/v.php?img=Wbbla3Q3jE
    I am neither able to select multiple records in my query nor able to customize my query to get the desired results.
    Below is the query that I want to create using query manager:
    SELECT P.EMPLID,P.BIRTHDATE, N.NAME, A.ADDRESS1, A.ADDRESS2, A.CITY
    FROM PS_PERSON P, PS_NAMES N, PS_ADDRESSES A
    WHERE P.EMPLID = N.EMPLID AND
    N.EMPLID = A.EMPLID AND
    P.BIRTHDATE BETWEEN to_date('1990/1/1','yyyy/mm/dd') and to_date('1991/1/1','yyyy/mm/dd');

    Hi,
    As I cannot access your screenshot by the blocking of company firewall rules.
    I'm guessing currently you are using PT 8.52.00 version, correct?
    This should be a bug, that you need to apply the 8.52.0X patch, not sure which patch fix this, you can apply the latest one to solve this issue for no tab page of query manager. (PT 8.52.06)
    Hope this helps.
    Thanks,
    Saxon SI

  • Using NVL in Query of Query resulting in error

    I'm still using CF8 and Oracle 11G back-end.
    When I use NVL in the query of query I got error....Can't I use NVL to check on null value? Please help
    Here is my codes:
    <cfquery name="GetC2" datasource="#Trim(application.OracDSN)#">
         SELECT CamID2, rel2_2,p_ln2,p_fn2,ins,l_year
         FROM prt_temp
         WHERE Ins = 'CC'
         AND l_year =  '1481'
    AND NVL(Child_LN2,' ') <> ' '
    AND NVL(Child_FN2,' ') <> ' '
        </cfquery>
    <cfif GetC2.Recordcount NEQ 0>   
    <cfquery name="CheckRel2C2" dbtype="QUERY">
      SELECT CamID2, rel2_2
      FROM GetC2
      WHERE NVL(Rel2_2,' ') <> ' '
    AND NVL(p_ln2,' ') = ' '
    AND NVL(p_fn2,' ') = ' '
    AND Ins = 'CC'
    AND l_year =  '1481'
    </cfquery>
    </cfif>
    The error:
    Error Executing Database Query.
    Query Of Queries syntax error.
    Encountered "NVL ( Rel2_2 ,. Incorrect conditional expression, Expected one of [like|null|between|in|comparison] condition,

    NVL is an Oracle function, and is not available in ColdFusion Query of Query.  If you are trying to check for null values, then use IS NULL or IS NOT NULL.  So
    WHERE NVL(Rel2_2,' ') <> ' '
        AND NVL(p_ln2,' ') = ' '
        AND NVL(p_fn2,' ') = ' '
    becomes
    WHERE Rel2_2 IS NOT NULL
        AND p_ln2 IS NULL
        AND p_fn2 IS NULL
    -Carl V.

  • Query of query or database

    I'm creating an image gallery. My database has about 1000
    records with 10 column.
    Now I'm realising there's a lot of trips to the database.
    Would it be better that when I init my app I store the "get all"
    query and query that from that point? Or is the difference in
    performance of querying a query as a oppose to a database not worth
    it?
    If you say I should query the query, how many records would
    be too much to hold in memory.
    Thanks

    quote:
    Originally posted by:
    dandev
    I'm creating an image gallery. My database has about 1000
    records with 10 column.
    Now I'm realising there's a lot of trips to the database.
    Would it be better that when I init my app I store the "get all"
    query and query that from that point? Or is the difference in
    performance of querying a query as a oppose to a database not worth
    it?
    If you say I should query the query, how many records would
    be too much to hold in memory.
    Thanks
    It would be better to just select the records you need.

Maybe you are looking for

  • Garbage display of table names after droping.

    Hi to all, i installed oracle 10g on linux and configure the server- client for the users. recently one of my user created a table and then droped it i found the following display after executing SELECT * FROM TAB; TNAME TABTYPE CLUSTERID REGIONS TAB

  • No rootpre.sh file found in Oracle 11g r1 download for AIX

    I downloaded the 11.1.0.6.0 version of Oracle 11g from the website and unzipped it with the unzip_aix on a Power7 system. The files were unzipped into a directory called database. I could not find the rootpre.sh script anywhere. What am I missing? Th

  • HT1688 Unlocked

    My dad bought me your company iPhone at full price with no obligation for the birthday Now, my iPhone is locked to your network and I can not receive calls or messages.,today   My dad wanted to surprise me for my birthday but it was not a surprise be

  • Sent items folder

    I had an issue where emails I sent from my laptop were not appearing in the sent folder on my iPad or iPhone. Conversely, mails sent from the apple devices were not showing on my laptop. I also had holes in my sent messages ie months/years missing!  

  • NEF raw to jpeg

    Good morning I have downloaded PS Elements free trial, prior to buying! I uploaded a NEF raw picture to convert it to jpeg and I do not seem to be able to do this, can you help? thank you in advance Paul