Please help me by solving the following query

hi download the image from the above link and here i want latest dosi line count.....
Please help me

I think you don't need a plsql for this purpose ... you can find the sub total & final total in the query itself like
select
     DOSI,
     ELEMENT_TYPE,
     SUM(USED)  USED
from
     DOEMS_LICENSE_SUMMARY
where
     DOSI in (DOSILIST)
GROUP BY
     rollup(ELEMENT_TYPE, DOSI)      ** duplicate**

Similar Messages

  • HT1918 I would like to change my Visa card from the account but its not changing and the billing information is not changing and I can't purchase any thing from my account its now not usable please help me to solve the problem

    I would like to change my Visa card from the account but its not changing and the billing information is not changing and I can't purchase any thing from my account its now not usable please help me to solve the problem

    You made a purchase and exhausted the credit on your card before it processed. All purchases are final. Contact iTunes Store support. You need to settle up before you can purchase or download anything else.

  • Please help me to solve the issue in my query.

    Hi All,
    Please help me to understand the mistake what i did in below query and help to resolve that.
    Actually i am trying to create a query to filter the records from db based on my input parameter.
       If my input parameter is 1(@showallrecords) then i need to show all the records which has the IsLatest as 1
       If my input parameter is 0(@showallrecords) then i need to show all the records which has the IsLatest as 0
    select * from tabel1 INNER JOIN tabel2    
    ON tabel1.KeyId = tabel2.KeyId 
    and (@showallrecords = 1 and tabel1.IsLatest = 1 )
    and (@showallrecords = 0 and tabel1.IsLatest = 0 )
    when i am executing the above query with the parameter @showallrecords = 1 ,db is returning 0 rows.If i am executing the above query after removed the last line and (@showallrecords = 0 and tabel1.IsLatest = 0 ) then records are coming.
    i understand that 1=0(last line) and the condition is not true.So its affecting the result.
    Please help me to solve this.

    select * from tabel1 INNER JOIN tabel2
    ON tabel1.KeyId = tabel2.KeyId
    WHERE (tabel1.IsLatest = @showallrecords Or @showallrecords=0)

  • Please help me to solve the problem ---it's urgent

    hi everybody
    my application is deployed on the weblogic 9.0. I am using the VB DLL through which i am sending the request to the servlet.
    When i am pressing the "Color" button in VBDLL to retrieve the color information, server takes the long time nearly 10-12 minutes to return back the color information but it throws the following error
    <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "621" seconds working on the request "Http Request: /sales/appFindSize.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
    java.lang.Object.wait(Native Method)
    java.lang.Object.wait(Object.java:474)
    javelin.client.JobWaiter.blockUntilFinished(JobWaiter.java:45)
    javelin.client.ClientUtilsImpl.build(ClientUtilsImpl.java:838)
    weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:244)
    weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:200)
    weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:164)
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:224)
    weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:383)
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3022)
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1925)
    weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1848)
    weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1288)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    please help me to solve this error it is urgent.
    Thanks in advance
    Pandurang S. Pokharkar

    Exchange rates can be entered as a direct or indirect quotation. You can maintain two prefixes that
    can be used to differentiate between direct and indirect quotations exchange rates during input and
    display. If you don´t set up a prefix, the standard setting is valid:
    &#159; “” (blank, without a prefix) for direct quotation exchange rates
    &#159; “/” for indirect quotation exchange rates
    n Scenario 1: If you use mainly direct quotation exchange rates and indirect quotation occurs seldom,
    use the default configuration. In this way you can enter direct quotation exchange rates without a
    prefix.
    n Scenario 2: If, in addition to direct quotation exchange rates, the handling of indirect quotation is
    required, you should define a prefix that is not “blank” for both quotation types, e.g.:
    &#159; “*” for direct quotation exchange rates, “/” for indirect quotation exchange rates
    &#159; If you follow this suggestion, the configuration does not allow exchange rates to be entered
    without a prefix, an error message occurs. Thus users are forced to consider which the correct
    quotation is and enter the rate with a valid prefix.
    n Scenario 3: If indirect quotation is the major notation at your company, you can configure the
    settings this way:
    &#159; “*” for direct quotation exchange rates, “ ” (blank) for indirect quotation exchange rates
    &#159; This configuration allows indirect quotation exchange rates to be entered without a prefix whereas
    the less used direct quotation exchange rates have to be entered with a prefix.

  • Please help me. i get the following error " error getting license, server communication problem, E_ADEPT_DOCUMENT_TOO_SHORT

    HI,
    I am using this for the first time. I have downloaded a Adobe E-book from my library. I installed Digital Edition 4 and i keep on getting this message when i try to get the book from my pc downloads. Please help me overcome this issue
    regards,
    kapil desai

    Please try de-authorizing and authorizing again.
    Steps to De-authorize
    1) Switch to Library Mode by clicking Library button
    2) Select menu item Help--> Erase Authorization or Press Ctrl+Shift+D
    3) Click Erase button to De-authorize
    Steps to Authorize
    1) Launch ADE
    2) Switch to Library Mode by clicking Library button (if you are in Reading Mode)
    3) Select menu item Help-->Authorize Computer or Press Ctrl+Shift+U
    4) Enter the valid credential to Authorize
    Hope this solves your problem.

  • Help required in generating the following query

    Hi all,
    i need solution regarding the following problem.
    we got many number of groups ,each group containg many number of names,each name containing some items under that
    i had written a query stating that select item where grp  =[0%] and name =[1%] from a table
    it will execute and dispaly a window with two fields at the first field i entered group and in the second field when i select for existing values it shows all the items of all groups
    but we need only items that belong to the group that we enter in the first field
    any one tell me the query regarding this requirement

    HI,
    The alternative solution is: develop your add-on, which get the filtering window, and connects the 2 parameters inside, then runs the query and displays it in a matrix/Grid.
    It is not takes so many time.
    Regards,
    J.

  • Please help me to explain the following method

    I saw the following code in a source file
    //This method actually does the code generation
    //Returns an instance of the generated class.
    protected Class generateWrapperClass()
    throws JasperGenerationError,ServletException
    verify();
    protected void verify()
    I can't understand how does method generateWrapperClass() works.
    verify() is of type void and the method generateWrapperClass() has no return value.
    Can anyone help to explain it to me?
    Thanks

    I can't understand how does method
    generateWrapperClass() works.
    verify() is of type void and the method
    generateWrapperClass() has no return value.It does have a return type, it returns a Class. Your confusing the keyword "class" with the Object "Class". Java is case sensitive so class and Class are 2 different things.

  • From Nabil Houlika Germany. Please help me by answering the following questions. The Time Capsule suddenly went dead. What should I do? Is there a way to put it "ON" again??

    Yesterday the time capsule light went off. All efforts to put it on again failed. All electric connections are in good order and working perfectly. Please help me.

    Hi again,
    I called them this morning. Admits my allergies and sneezing I was able to talk to them.
    They will replace it with basically no questions asked.
    I guess also having a MBP under AppleCare also helped too as the case is registered under that.
    They gave me a few options.
    The could take my credit card number as insurance and send me a new one and them I send them my dead one back, or I could take it into an Apple Store for a replacement there. The problem is that I have data on there that I want to maintain, so they said take it to the Apple Store or an Apple Service provider and they would handle the transfer.
    I don't have an Apple Store in my city, but have a Service Provider that I know that could do the transfer for me, but I kinda want to do it at the Apple Store because maybe then they would give me a new one instead of another w year tombstone.
    So I need to weigh my options.
    I'll let you know further what happens.
    P.S. my serial number was not in the range listed, but that didn't seem to make a difference. I think the key is to be courteous, respectful and friendly.

  • Urgent: Please help. how to solve the time delay during buffer read and write using vc++

    I need to continuously acquire data from daqmx card, write into a file and at the same time corelate (in terms of time) the data with signals from other instruments. The current problem is that there is time delay during read and write data into buffer,thus causing misalignment of the data from multiple instruments. Is there a way to solve  the delay? or Is there a way to mark the time of the data acquisition in the buffer?  If I know the starting time (e.g. 0) of data acquisition and sampling rate (e.g. 1kHz), can I simply add 1ms to each data sample in the buffer? The current code is shown below.
    void DataCollectionWin::ConnectDAQ()
    DAQmxErrChk(DAQmxCreateTask ("", &taskHandle));
        DAQmxErrChk(DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0,Dev1/ai1,Dev1/ai2,Dev1/ai3,Dev1/ai4,Dev1/ai5,Dev1/ai16,Dev1/ai17,Dev1/ai18,Dev1/ai19,Dev1/ai20,Dev1/ai21,Dev1/ai6,Dev1/ai7,Dev1/ai22","",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Volts,NULL));
      DAQmxErrChk(DAQmxCfgSampClkTiming(taskHandle,"",1000.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,60000));
      DAQmxErrChk (DAQmxRegisterEveryNSamplesEvent(taskHandle,DAQmx_Val_Acquired_Into_Buffer,50,0,EveryNCallback,NULL));// Every 50 samples the EveryNSamplesEvent will be trigured, to reduce time delay.
      DAQmxErrChk (DAQmxRegisterDoneEvent(taskHandle,0,DoneCallback,NULL));
      DAQmxErrChk (DAQmxStartTask(taskHandle));
    int32 CVICALLBACK EveryNCallback(TaskHandle taskHandle, int32 everyNsamplesEventType, uInt32 nSamples, void *callbackData)
     DAQmxErrChk (DAQmxReadAnalogF64(taskHandle,50,10.0,DAQmx_Val_GroupByScanNumber,data,50*15,&read,NULL));
       //memcpy(l_data,data,6000);
      SetEvent(hEvent);
    l_usstatus_e[0]=g_usstatus[0];// signals from other instruments that need to be corelated with the data from daq cards.
     l_optstatus_e[0]=g_optstatus[0];
     if( read>0 ) // write data into file
       //indicator=1;
     for (i=0;i<read;i++)
     {  //fprintf(datafile,"%d\t",i);
      fprintf(datafile,"%c\t",l_usstatus_s[0]);
      fprintf(datafile,"%c\t",l_usstatus_e[0]);
            fprintf(datafile,"%c\t",l_optstatus_s[0]);
      fprintf(datafile,"%c\t",l_optstatus_e[0]);
              fprintf(datafile,"%.2f\t",data[15*i]);
     //   sprintf( pszTemp, "%f", data[6*i]);
     // pListCtrl->SetItemText(0, 2, pszTemp);
        //pWnd->m_trackinglist.SetItemText(0, 2, pszTemp);
         fprintf(datafile,"%.2f\t",data[15*i+1]);
         fprintf(datafile,"%.2f\t",data[15*i+2]);

    Hello kgy,
    It is a bit of a judgment call. You should just choose the board that you think has the most to do with your issue. For example, this issue was much more focused on setting up your data acquisition task than the Measurement Studio environment/tools, so the MultifunctionDAQ board would have been the best place for it. As for moving your post to another board, I do not believe that is possible.
    Regards,
    Dan King

  • SOS, can anyone help me to solve the following question?

    sorry to post it again.
    when I install iplanet web server 6 sp1 on my windows2000 professional version, I put my jsp in the default /docs directory. all my jsps are ok. I can visit the jsp correctly.
    but when I append the %81 or %82 or .....or %99 to the url of my jsp, it shows my jsp source code in IE browser.
    for example, I has a jsp named test.jsp,
    when I visit http://localhost/jsp/test.jsp , everything is all right. and then I visit http://localhost/jsp/test.jsp%81, then the source code of test.jsp is displayed !!!
    It's a really serious security problem.
    how can I do to close the bug ? who can do me a favor ? I expect your help!

    Search fo a patch on the iplanet's web site.
    Fred

  • Please help me in understanding the following code.

    public static void main(String args[]){
    int x=0,c=0;
    for(int i=0;i<3;i++)
    x = x + x++;
    System.out.println(x);
    why this program always prints zero(0) as output. I am not able to understand the execution sequence of it.

    bkyadav wrote:
    at certain point of time in porgram
    (x++) should be treated as x = x+1; but that is not happening.Here's the rule : you have to proceed the expression from left to right.
    For example :
    int x = 8;
    x = x + ++x; // x = 8 + 9 = 17
    int x = 8;
    x = x + x++; // x = 8 + 8 = 16
    int x = 8;
    x = x + --x; // x = 8 + 7 = 15Also, in the for statement of your example :
    for(int i=0;i<3;i++)the value of i+ is first tested before being incremented for the next iteration otherwise the test on value of i+ = 0 would have been skipped.

  • Solve the following query . .

    List the empno,ename,sal,exp of all the emps belongs to dept 10 or 20 with an exp 6 to 10y working under the same mgr without comm.with job not ending irrespective of the position with comm>200 with exp>=7y and sal<2500 but not belongs to month sep or nov working under the mgr whose no is not having digits 9 or 0 in the asc dept & desc dept.
    select employee_id,last_name,salary,job_id,(months_between(sysdate,hire_date)/12) from employees where department_id in(10,20) and (months_between(sysdate,hire_date)/12>=6) and (months_between(sysdate,hire_date)/12<=10) and employee_id in(select manager_id from employees where commission_pct is not null) and job_id not in(select job from employees where commission_pct>200) and (months_between(sysdate,hire_date)/12>=7) and salary<2500 and to_char(hire_date,'mon') not in('sep','nov') and employee_id in(select manager_id from employees where manager_id not like '%9%'or manager_id not like '%0%' order by department_id)
    iam getting error as   missing right parenthesis

    You can't use ORDER BY in IN clause subquery, and it doesn't make sense in the first place. So remove/comment it out:
    select  employee_id,
            last_name,
            salary,
            job_id,
            (months_between(sysdate,hire_date)/12)
      from  employees
      where department_id in (10,20)
        and (months_between(sysdate,hire_date)/12>=6)
        and (months_between(sysdate,hire_date)/12<=10)
        and employee_id in (
                            select  manager_id
                              from  employees
                              where commission_pct is not null
        and job_id not in (
                           select  job
                             from  employees
                             where commission_pct>200
        and (months_between(sysdate,hire_date)/12>=7)
        and salary<2500
        and to_char(hire_date,'mon') not in('sep','nov')
        and employee_id in (
                            select  manager_id
                              from  employees
                              where manager_id not like '%9%'
                                 or manager_id not like '%0%'
    --                          order by department_id
    SY.

  • Please help me to modify the following code !

    SELECT VTEXT FROM TVKGGT
        INTO CORRESPONDING FIELDS OF TABLE t_tvkggt
        WHERE KDKGR =  itab-kdkg1.
    read table t_tvkggt with key kdkgr = t_tvkggt-kdkgr binary search.
        itab-vtext2 =  t_tvkggt-vtext.
    I am getting corresponding values of vtext  where itab has
    values of kdkgr and also doesnt have any values of kakgr.
    how to remove those values of vtext which doesnt have any value for kdkgr.

    Hi,
    select * from mara
             into table i_tab
             where matnr = 'ACC CABLE'.
    loop at i_tab where bstme NE '  '  .
    endloop.
    Check out with this one and inside loop ,
    you can transfer only those records which have bstme value.
    Apply for you case.
    Reward if helpful/.
    Thanks,
    Madhura
    Edited by: Madhura Nadgauda on Jan 17, 2008 7:19 AM

  • Please help me to solve this problem.

    Hi , can someone help me to solve the following problem:
    1) I wrote two different client and server program, (Using UDP)
    2) In the server side for testig I wrote some code like when a client sending message to server
    a) server find on the database only senders IP address then server return the message to sender
    b) Again if server find out other IP address too then it returns to them too
    3) but it working for (a) , but not for (b)
    4) Actually, its sending message but client not getting it
    So, can some tell me, how to modify server or client side
    Server wont reply the msg to the same IP address/ Sender who sent the message.
    Server will reply the message to other person..
    For example, Alace, Bob and Carrry are three clients. Alace, Bob, and Carry are online now. When they get online server save there IP address.
    Now, Bob sends a message to server , then server will send the message to Alace and Carry. Not to the sender Bob.
    Thanks]
    I am giveing a pice of coding of server side
    else
    IPAddressObject addressObjectt;
    onlineUserList.reset();
    for(int i=0; i<onlineUserList.lengthIs(); i++)
    addressObjectt=(IPAddressObject)onlineUserList.getNextItem();
    IPAddress=addressObjectt.getAddress();
    System.out.println("\n this is not same : "+IPAddress);
    if(addressObject.compareTo(addressObjectt)!=0)
    System.out.println("\n this is not same : "+sentence);
    String cSentence=sentence.toUpperCase();
    sendData=cSentence.getBytes();
    DatagramPacket sendPacket= new DatagramPacket(sendData, sendData.length, IPAddress,port);
    System.out.println("\n aaaaaaa : "+IPAddress);
    client.send(sendPacket);
    else
    System.out.println("\n this is same : "+sentence);
    String cSentence= sentence.toUpperCase();
    sendData=cSentence.getBytes();
    DatagramPacket sendPacket= new DatagramPacket(sendData, sendData.length, IPAddress,port);
    client.send(sendPacket);
    System.out.println("\n this is same : "+cSentence);
    }//for
    }//else
    Edited by: kidylimp on Apr 8, 2008 12:16 PM

    This looks suspiciously like a cross-post
    [http://forum.java.sun.com/thread.jspa?threadID=5283608]

  • Please help me to build the logic

    Hi All,
    Please help me to implement the following logic.
    The conditional statements should not only be executed in sequence, but also if any of them are true they should not be overridden by any subsequent conditional statements being true.
    When actual effort Accepted or Rejected for AST proposals and calculate a flag for “enhance to AST guideline” = Y/N as follows for each employee and display at the employee level
    1)If AST eligibility = N AND proposed AST % >0, then “N”
    2)Else If AST eligibility = N AND proposed AST % = 0 then “n/a”
    3)Else If AST eligibility = Y AND Act Rank = 3 AND proposed AST = 0 then “Y”
    4)Else If AST eligibility = Y AND Act Rank = 3 AND proposed AST >0 then “N”
    5)Else If AST eligibility = Y AND Act Rank = 2 AND proposed AST = 0 then “Y”
    6)Else If AST eligibility = Y AND AST % is greater than or equal to the AST guideline minimum AND less than or equal to the AST guideline maximum, then “Y”
    7)Else If AST eligibility = Y AND AST % is less than the minimum guideline OR greater than the maximum guideline, then “N”
    I tried the following code but I am not getting the expected result .
    Could you Please help me to build the logic.
    Your earliest response is very helpful to me.
    if (upper(P_stat)='ACCEPTED' or upper(P_stat) like 'REJECTED%') then
    else if NVL(P_elgi,'N') <> 'Y' AND P_prop > '0' then
    P_flag := 'N';
    else if(NVL(P_elgi,'N') <> 'Y' AND P_prop = '0') then
    P_flag := 'N/A';
    else if ((NVL(P_elgi,'N')='Y') AND P_rank = '3' AND P_prop = '0') then
    P_flag := 'Y';
    else if((NVL(P_elgi,'N')='Y') AND P_rank = '3' AND P_prop > '0') then
    P_flag := 'N';
    else if((NVL(P_elgi,'N')='Y') AND P_rank = '2' AND P_prop = '0') then
    P_flag := 'Y';
    Else if (P_prop >=ast_min_guide AND P_prop <= ast_max_guide ) then
    P_flag := 'Y';
    else
    ((P_prop < ast_min_guide) OR (P_prop > ast_max_guide)) then
    P_flag := 'N';
    end if;
    end if;

    Thanks for ur quick responce .
    When actual effort Accepted or Rejected for AST proposals and calculate a flag for “enhance to AST guideline” = Y/N
    Once the above condition is satisfied we have to check for remaing conditions
    if (upper(P_stat)='ACCEPTED' or upper(P_stat) like 'REJECTED%') then
    once it is satisfies then we have to go for remaing conditions.
    how can we do it in CASE statement.
    1)If AST eligibility = N AND proposed AST % >0, then “N”
    2)Else If AST eligibility = N AND proposed AST % = 0 then “n/a”
    3)Else If AST eligibility = Y AND Act Rank = 3 AND proposed AST = 0 then “Y”
    4)Else If AST eligibility = Y AND Act Rank = 3 AND proposed AST >0 then “N”
    5)Else If AST eligibility = Y AND Act Rank = 2 AND proposed AST = 0 then “Y”
    6)Else If AST eligibility = Y AND AST % is greater than or equal to the AST guideline minimum AND less than or equal to the AST guideline maximum, then “Y”
    7)Else If AST eligibility = Y AND AST % is less than the minimum guideline OR greater than the maximum guideline, then “N”
    I tried the following code but I am not getting the expected result .

Maybe you are looking for

  • Vendor creation problem

    Hi, I am getting one Error Message, When I create a Vendor(90001) in Xk01. The Error Message is  .. Enter a Number Between A and ZZZZZ. but some other vendor has created with number(80001) only Please Revert Back. Thanks & Regards,   Dhanush.S.T

  • Status bar in form runtime

    Hi, I have a form that executes without status bar... I even have message('xxx') commands and it never shows. any suggestions how to show the status bar? Thanks

  • GPS Not Picking Up Without Phone

    I have been a happy SW3 user for the past 5 months. My watch has mostly worked as promised, including the standalone GPS which worked flawlessly with Runkeeper and Endomondo. About two weeks ago, my GPS stopped working and it looked like I ran zero m

  • Project Timezone

    Hi All, I am having issues with any projects added to project online. The time-stamp is incorrect when projects have been published / modified even though the site settings are set to the united kingdom and not US. Is there another location I should

  • Installing the connector for microsoft exchange server 2010

    Hi All, We have installed AD connector 9.1.1.7.0 with OIM 11.1.1.5.0. Now Team is upgrading to Microsoft 2010 exchange server. As of now there is no direct provisioning for microsoft exchange server. Now we are trying to install connector for microso