SQL CLIENT ACCESS LICENSES

H,

We have 2 rows

We have IIS and the IIS Setup program is connected to the MSSQL database

IIS we have only one connection to the MSSQL database, but our IIS system access by many users,

Can use us the license CAL for that, please advice

PREFER YOUR SUGGESTIONS.

This issue is beyond the scope of this site and should be asked on Technet or MSDN

http://social.technet.Microsoft.com/forums/en-us/home

http://social.msdn.Microsoft.com/forums/en-us/home

Tags: Windows

Similar Questions

  • MATH SQL client access licenses

    Hello

    I have a chart with lines more million. In this table, I have a lot of members associated with 60-70 facility_names.
    Unique index is on CMPNY, FNAME, M_ID MONTHS.

    Below, I have some EXAMPLES OF 3 facilities, ADIOS DAOMATO, NADA CAPETOWN and NADA NEW DIAMONDS.

    These companies have two different contract.

    For example, NADA CAPETOWN & NADA NEW DIAMOND
    -As soon as total Amount_1 CDA for a member associated with above facilities will more $2,000 and total Amount_2 passes over $4000, installation gets insurance protection for 90% of the sum, he surpassed in each categories.

    In example below, M0001 of NADA CAPETOWN, CDA AMOUNT_1 total more than $2,000 to 1 October 2009 (total $2160), installation gets recoveries of $144 ((2160-2000) * 90%).
    Similarly, in November 1, 2009, total of CDA is $2180 and installation gets recoveries of $18 ((2180-2160) * 90%). I subtracted $2160 because installation has already received $144 for having exceeded $160, more than 2000 back on October 1, 2009.

    Very similar, total if Amount_2 CDA exceeds 4000, TI $ receives 90% of the amount after $4000. (the calculations are the same as above)
    The column of recoveries should summarize recoveries exceed amount_1 and amount_2 per month.

    During this time,.

    ADIOS DAOMATO has a different contract. When single member of this facility (CDA AMOUNT_1 + AMOUNT_2 CDA) is greater than 5000, the plant recovers 90%.

    In the case of sum CDA Member Unique of ADIOS DAOMATO of AMOUNT_1 & AMOUNT_2 (combined) will more than $5,000, then installation gets insurance protection for 90% of the amount it exceeded.
    In the example below, total ADIOS DAOMATO CDA exceeds $5,000 to $ 20 (total YTD $ 5020) on January 1, 2009, so installation retrieves ((5590-5000$) * 90%) = $531. After months of November 1, 2009, $270 (90 $ + $180) added more than $5,000, so installation recoveres ((5860 $-$5590) * 90%) = $243... Similar calculation for every month.


    * I don't mind saw these two distinct processes. Please note that the calculation of recoveries ($) are by a single member of the installation by month/year, but the result should be to ease a month. So far I have annually. But I really need every month for financials.*

    Purpose: I need to know what level of insurance protection the installation receives monthly.
    For the duration of the contract 1 the Reisurance Total must be entered in the column "RECOVERIES" (COLLECTIONS of REINSURANCE OF AMOUNT_1 + the RECOVERIES of REINSURANCE OF AMOUNT_2).

    For the duration of the contract 2, there is only 1 recovery mode.

    As the I mentioned, that's a CALCULATION for a YEAR when the year changes, everything resets all members. *
    _ I would greatly appreciate your help. _

    Using oracle 10g
    DROP TABLE PAYMENT_1;
    
    create table PAYMENT_1
    (CMPNY      VARCHAR2(4),
     F_NAME          VARCHAR2(100),
     M_ID               VARCHAR2(8),
     MONTH         DATE,
     AMOUNT1    FLOAT(126),
     AMOUNT2    FLOAT(126)
     );
     
     INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0002','01-JAN-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0002','01-JAN-2009','90','180');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-JAN-2009','100','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-FEB-2009','20','20');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-FEB-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-JUL-2009','1000','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-AUG-2009','500','2000');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0002','01-AUG-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0002','01-OCT-2009','90','180');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-OCT-2009','100','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-NOV-2009','20','20');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-DEC-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-DEC-2009','1000','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0002','01-DEC-2009','500','2000');
    
    
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0001','01-JAN-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0001','01-JAN-2009','90','180');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-JAN-2009','100','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-FEB-2009','20','20');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-FEB-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-JUL-2009','1200','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-AUG-2009','500','2200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0001','01-AUG-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN', 'M0001','01-OCT-2009','90','180');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-OCT-2009','100','220');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-NOV-2009','20','20');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-DEC-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-DEC-2009','1100','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN', 'M0001','01-DEC-2009','500','2200');
    
    
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-JAN-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-JAN-2009','90','180');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-JAN-2009','100','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-FEB-2009','20','20');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-FEB-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-JUL-2009','1000','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-AUG-2009','500','2000');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-AUG-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-OCT-2009','90','180');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-OCT-2009','100','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-NOV-2009','20','20');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-DEC-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-DEC-2009','1000','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-DEC-2009','500','2000');
    
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN','M0004','01-JAN-2010','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN','M0004','01-JAN-2010','90','180');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-JAN-2010','100','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-FEB-2010','20','20');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-FEB-2010','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-JUL-2010','1000','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-AUG-2010','500','2000');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN','M0004','01-AUG-2010','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA CAPETOWN','M0004','01-OCT-2010','90','180');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-OCT-2010','100','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-NOV-2010','20','20');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-DEC-2010','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-DEC-2010','1000','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA CAPETOWN','M0004','01-DEC-2010','500','2000');
    
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-JAN-2010','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-JAN-2010','90','180');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-JAN-2010','100','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-FEB-2010','20','20');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-FEB-2010','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-JUL-2010','1000','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-AUG-2010','500','2000');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-AUG-2010','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','NADA NEW DIAMOND','M0003','01-OCT-2010','90','180');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-OCT-2010','100','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-NOV-2010','20','20');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-DEC-2010','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-DEC-2010','1000','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','NADA NEW DIAMOND','M0003','01-DEC-2010','500','2000');
    
    
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','ADIOS DAOMATO','M0010','01-JAN-2009','20','5000');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','ADIOS DAOMATO','M0010','01-JAN-2009','90','180');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-JAN-2009','100','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-FEB-2009','30','20');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-FEB-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-JUL-2009','1000','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-AUG-2009','500','2000');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','ADIOS DAOMATO','M0010','01-AUG-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2) VALUES ('C001','ADIOS DAOMATO','M0010','01-OCT-2009','90','180');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-OCT-2009','100','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-NOV-2009','20','20');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-DEC-2009','20','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-DEC-2009','1000','200');
    INSERT INTO PAYMENT_1 (CMPNY, F_NAME, M_ID, MONTH, AMOUNT1, AMOUNT2)VALUES ('C001','ADIOS DAOMATO','M0010','01-DEC-2009','500','2000');
    
    commit;
    
    
    --RESULTS SHOULD BE SOMETHING LIKE THE FOLLOWING
    
    DROP TABLE PAYMENT_2;
    
    create table PAYMENT_2
    (CMPNY      VARCHAR2(4),
     F_NAME          VARCHAR2(100),
      RECOVERIES     FLOAT(126),
     MONTH         DATE
     );
     
    
    
    INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','ADIOS DAOMATO','486','01-OCT-2009');
    INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','ADIOS DAOMATO','36','01-NOV-2009');
    INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','ADIOS DAOMATO','3528','01-DEC-2009');
    
    INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','NADA CAPETOWN','144','01-OCT-2009');
    INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','NADA CAPETOWN','18','01-NOV-2009');
    INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','NADA CAPETOWN','6786','01-DEC-2009');
    INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','NADA CAPETOWN','3150','01-DEC-2010');
    
    INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','NADA NEW DIAMOND','531','01-JAN-2009');
    INSERT INTO PAYMENT_2 (CMPNY, F_NAME, RECOVERIES, MONTH) VALUES ('C001','NADA NEW DIAMOND','243','01-FEB-2010');
    
    
    so forth.....
    
    commit;
    
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Hello

    Don't know how you map with strategies of recovery... the query below calculate the two 3 types for each facility.
    I give the floor:
    -rec1 one calculated as 90% of the amount1 above 2000
    -rec2 one calculated as 90% of the amount2 above 4000
    -rec3 one calculated as 90% of the sum (amount1, amount2) greater than 5000

    SQL> select
      2  cmpny,
      3  f_name,
      4  0.9*(greatest(2000,rollsum1) - greatest(2000,nvl(prevr1,0))) rec1,
      5  0.9*(greatest(4000,rollsum2) - greatest(4000,nvl(prevr2,0))) rec2,
      6  0.9*(greatest(5000,rollsum3) - greatest(5000,nvl(prevr3,0))) rec3,
      7  month
      8  from (
      9       select
     10       cmpny,
     11       f_name,
     12       lag(rollsum1) over (partition by cmpny, f_name, trunc(month,'year') order by month) prevr1,
     13       rollsum1,
     14       lag(rollsum2) over (partition by cmpny, f_name, trunc(month,'year') order by month) prevr2,
     15       rollsum2,
     16       lag(rollsum3) over (partition by cmpny, f_name, trunc(month,'year') order by month) prevr3,
     17       rollsum3,
     18       month
     19       from (
     20            select
     21            CMPNY,
     22            F_NAME,
     23            sum(s1) over (partition by cmpny, f_name, trunc(month,'year') order by month) rollsum1,
     24            sum(s2) over (partition by cmpny, f_name, trunc(month,'year') order by month) rollsum2,
     25            sum(s3) over (partition by cmpny, f_name, trunc(month,'year') order by month) rollsum3,
     26            month
     27            from (
     28                 select cmpny, f_name, month, sum(amount1) s1, sum(amount2) s2, sum(amount1+amount2) s3
     29                 from payment_1
     30                 group by cmpny, f_name, month
     31            )
     32       )
     33  )
     34  order by CMPNY, F_NAME, month ;
    
    CMPN F_NAME                     REC1       REC2       REC3 MONTH
    ---- -------------------- ---------- ---------- ---------- ------------
    C001 ADIOS DAOMATO                 0       1242        531 01-JAN-09
    C001 ADIOS DAOMATO                 0        198        243 01-FEB-09
    C001 ADIOS DAOMATO                 0        180       1080 01-JUL-09
    C001 ADIOS DAOMATO                 0       1980       2448 01-AUG-09
    C001 ADIOS DAOMATO                 0        342        513 01-OCT-09
    C001 ADIOS DAOMATO                 0         18         36 01-NOV-09
    C001 ADIOS DAOMATO              1359       2160       3528 01-DEC-09
    C001 NADA CAPETOWN                 0          0          0 01-JAN-09
    C001 NADA CAPETOWN                 0          0          0 01-FEB-09
    C001 NADA CAPETOWN               630          0          0 01-JUL-09
    C001 NADA CAPETOWN               936       2340       4806 01-AUG-09
    C001 NADA CAPETOWN               342        702       1044 01-OCT-09
    C001 NADA CAPETOWN                36         36         72 01-NOV-09
    C001 NADA CAPETOWN              2826       4500       7326 01-DEC-09
    C001 NADA CAPETOWN                 0          0          0 01-JAN-10
    C001 NADA CAPETOWN                 0          0          0 01-FEB-10
    C001 NADA CAPETOWN                 0          0          0 01-JUL-10
    C001 NADA CAPETOWN                 0          0          0 01-AUG-10
    C001 NADA CAPETOWN                 0          0        486 01-OCT-10
    C001 NADA CAPETOWN                 0          0         36 01-NOV-10
    C001 NADA CAPETOWN              1350       1800       3528 01-DEC-10
    C001 NADA NEW DIAMOND              0          0          0 01-JAN-09
    C001 NADA NEW DIAMOND              0          0          0 01-FEB-09
    C001 NADA NEW DIAMOND              0          0          0 01-JUL-09
    C001 NADA NEW DIAMOND              0          0          0 01-AUG-09
    C001 NADA NEW DIAMOND              0          0        486 01-OCT-09
    C001 NADA NEW DIAMOND              0          0         36 01-NOV-09
    C001 NADA NEW DIAMOND           1350       1800       3528 01-DEC-09
    C001 NADA NEW DIAMOND              0          0          0 01-JAN-10
    C001 NADA NEW DIAMOND              0          0          0 01-FEB-10
    C001 NADA NEW DIAMOND              0          0          0 01-JUL-10
    C001 NADA NEW DIAMOND              0          0          0 01-AUG-10
    C001 NADA NEW DIAMOND              0          0        486 01-OCT-10
    C001 NADA NEW DIAMOND              0          0         36 01-NOV-10
    C001 NADA NEW DIAMOND           1350       1800       3528 01-DEC-10
    
    35 rows selected.
    

    There might be a way more simple (I'm not very familiar with analytics).
    Do not know how it will behave with several million rows...

  • For TMS Win2008 Server and SQL Server client access licenses?

    Where, I read that the TMSXE interface requires a CAL on the Exchange Server.  What I can't seem to locate is all information about client access licenses how are required to Win2008 R2 Server Standard Edition and SQL Server 2008 R2 Standard.  Is there a reference document that I'm missing with this information.  It seems that according to Microsofts definitions, you might need a CAL by user device and/or managed web that connects to the web interface.

    Can someone clarify the situation?

    Hello world

    So should put the closure of this thread, I have now clarified what follows when it comes to TMS and MS licenses:

    Users and administrators to connect to TMS authenticate AD, the server that hosts the TMS must be allowed to support authenticated connections. Don't authenticate TMS Managed/configure with AD devices via the web server. As a result, and as managed devices does not authenticate against IIS with AD login, these types of connections don't require licenses. Only users who connect to the Web site would be.

    The issue of Exchange and SQL are similar, that is, authenticated connections how are made?

    Of MSDS, all connections to SQL server use the same authenticated account, by default uses a SQL login.  Web site users are not authenticated to SQL Server. Therefore, and in the case of an external SQL Server, this would be equal to one.

    When communicating with Exchange, all connections are through a unique service account. Created for managed systems the mailboxes are not connected by users or MSDS for normal operation. As a result, and as with an external SQL Server, this would be also equal to one.

    Hope that clarifies completely now

    Rgds,

    Dale

  • Bought 2 new client access licenses

    I bought 2 new for our WINDOWS 2008 Server client access licenses. Try to install them, but no WINDOWS support says that we need a key... Is this true?

    Support is located in the Windows Server Forums:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer/

  • How can demote us dynamics crm 2011 to use with dynamics crm 4.0 client access licenses

    We bought user Dynamics CRm 2011 under Volume License licenses, and we need to install the Dynamics CRM 4.0 CLIENT access licenses. We were informed that we need to downgrade the CAL.

    Would you know how dowgrade CALS?

    Thank you

    Hello RonRon03,

    If you are still having problems with Dynamics CRM 4.0 client access licenses, you can post in the below listed Ant.
    http://social.Microsoft.com/forums/en-us/category/Dynamics/

    There is a forum for Microsoft Dynamics CRM 4.0. They have experts who will be able to solve your problem.

    Thank you

    Marilyn

  • A standard Small Business SERVER 2003 Server upgrade SBS Server 2003 R2 STandard requires the new CLIENT access licenses?

    I got a new server and the server only supports the SBS 2003 R2 and more. I have tried slipstreaming drivers and all that already, without success. I have SBS Server 2003 Standard now with 15 CLIENT access licenses. If I buy a copy of SBS 2003 R2 on ebay to get the installation done, Microsoft requires new or different CLIENT access licenses or licensing of the R2 or 2003 SBS CAL upgrade existing will be sufficient? Any info would be much appreciated!

    Thank you

    You can find the Windows Server on TechNet support at the following address: http://social.technet.microsoft.com/Forums/en/winservergen/threads

  • The remote session was disconnected because the local computer client access license could not be upgraded or renewed on Windows xp

    Hello

    I have Windows server 2003 I have the server license terminal server, but one of my XP machine, which I'm calling his error remote desktop by giving as below
    The remote session was disconnected because the local computer client access license could not be upgraded or renewed on Windows xp.

    Thank you
    Deepak Labonté.

    Hello annelabonnote

    Thank you for visiting the Microsoft Answers site. The question you have posted is related to Windows Server 2003 and would be better suited to the Windows Server TechCenter community. Please visit the link below to find a community that will support what ask you:

    http://social.technet.Microsoft.com/forums/en-us/winservergen/threads

  • OS for vCenter. Should I for windows server client access licenses?

    Hello

    I just buy more Essentials and installing vCenter. A Microsoft guy told me except the license server should I buy Windows client access licenses to the server also. To me, this seems odd. Is this true? Is there a document indicating I need / not need client access licenses?

    Thanks in advance!

    Long story short: you need a CAL for each device / user that will access the VirtualCenter machine (Windows server).

    Quote: Each user or device that accesses or uses the Windows Server 2008 or Windows Server 2008 R2 server software requires the purchase of a license for access to Client in Windows Server 2008 (Windows Server CAL)

    Add as follows: (assuming you are installing vCenter on W2008) http://www.microsoft.com/windowsserver2008/en/us/client-licensing.aspx

    If you already Win servers in your environment and your users / devices already have win client access licenses server, you can use the existing licenses to stay in the EULA. Talk to your MS guy if that's the case.

    WBR

    Imants

  • DreamSpark Windows Server 2008 client access licenses

    I just saw today on DreamSpark that serve 2008 can be received.  However, this license includes and CALs?  I wanted to test the sharing files and a few other things with some PC clients, so I want to keep it straight.

    Thank you!

    As it is a server issue, it would be better asked in the Windows Server forums rather than on the Windows Vista forums.

    "DevonW" wrote in the new message: * e-mail address is removed from the privacy... *

    I just saw today on DreamSpark that serve 2008 can be received. However, this license includes and CALs?  I wanted to test the sharing files and a few other things with some PC clients, so I want to keep it straight.

    Thank you!

  • Activation or installation of Client access licenses

    I installed a system of operating Windows server 2012 fees in HP ProLiand D380 g8.

    Now, I want to activate CALs .i have a callus license which by default contains 5 critical license.

    How do I activate or install CALs on my server.

    I expect a quick and useful to this community response.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.msdn.Microsoft.com/forums/en-us/home

  • RDS and Citrix application Streaming directly on the client client access licenses

    Hi, I just need knowa bit on the RDS CALs. We are currenlty in the deployment of a VDI solution and using APP - V 4.6 as our main method for applications, however, we also have a XenApp 6.5. Farm attached to our system and we want to use Citrix streaming along side APP - V until we can finally migrate to APP - V version 5. If we are streaming apps directly at the VDI client session, instead of on the XenApp server and then the client should we Cal RDS for direct broadcasting of applications. See you soon

    Wayne

    Hi Wayne,

    The Microsoft Answers community focuses on the context of use. Please reach out to the business community of COMPUTING in the TechNet forum below:

    http://social.technet.Microsoft.com/forums/en-us/categories

    Alternatively, you can contact Citrix support for assistance team.

    Links:

    http://community.Citrix.com/

    http://support.Citrix.com/proddocs/topic/receiver1102-WinCE/WinCE-WBT-receiver-Admin-XenApp.html

  • The remote session was disconnected because there are no desktop client access licenses for this computer remotely. Please contact the server administrator.

    Normally, that would be a question of remote server, but all withdrew on the server.  What I would try is to uninstall and reinstall the remote desktop connection and leave from groud zero.  I am running Windows Vista.  How can I do this?

    Thank you
    V

    I had the same problem but it is only trying to RDP to a computer. I found the solution was to remove the following registry key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing

    I found the solution of this post so I do not claim credit for the solution.

    Hope this helps others out as well.

    Thank you

  • access licenses client license Clarifications + Server 2012

    Hi all

    I need some clarification in licensing to provide the solution that is right for my customer.

    One of my clients purchased Dell server with preloaded Windows Server 2012 OS (Standard Edition) us (from my company) to replace the
    existing server that has windows Server 2003.

    Now, the thing is customer want to transfer/migrate their client access licenses Server and Terminal Server CALs for Server 2003 to 2012 server.

    But is it possible to transfer/migration of CALs client Server 2003 to 2012?

    In the case of is not possible.
    May I suggest Windows server 2003 to install as a virtual operating system in Hyper-V
    to use their existing CAL?

    And is it as additional permit is required to use Server 2003
    Hyper-V?

    Waiting for your valuable response/solution.

    Thanks in advance.

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • How to pass the standard license key 2012 SQL 2008 R2 License key?

    Hi guys :)
    I have a client that has installed the evaluation version of SQL 2008 R2 and he uses it in the production environment. There are still about 100 days on trial. Now, he wants to convert its first instance SQL server functioning fully SQL server 2008 R2 (Yes, in 2008 R2 not to the 2012 standard). But... I can't buy all licenses of SQL 2008 R2 more? How to downgrade Standard license key of 2012 I'll buy the SQL 2008 R2 license key? I rang MS and they told me that I have to borrow someone's license key and then activate it by phone? Is this true? : D I don't know anyone with SQL 2008 R2 license key? What should I do? Where do I get it? : D thanks in advance to all! Cheers, enn.

    Hello

    The question you posted would be better suited in the MSDN development forums.
    http://social.msdn.Microsoft.com/forums/en-us/category/sqlserverprerelease

  • Generate a flexible-access license

    How to build a flexible-access University license?

    In order to generate a flexible-access license your University must be enabled for this feature.  The current list of universities with this function is listed here.

    If your University is in the list, then you should be able to do a license for your computer by using your e-mail address from the University the form on this page:

    https://awrcorp.com/register/customer.aspx?Univ

Maybe you are looking for

  • HP Games

    Hello HP games coming preintalled on the computer for free.  When you try and start they want a terms of service screen.  I don't really want to install if they are simply a link to buy. Thank you GMD

  • HP Probook 4530 s A7K05UT not stickers

    Hello I bought this Probook s 4530 in August of TigerDirect. I recently decided to do my upgrade at low prices to Windows 8 and noticed that I have no Windows 7 product key sticker or the thumbnail S/N on the bottom of my laptop. Is - this common as

  • Best Windows 7 for school / game?

    Hey, I'll get windows 7 and I wonder which version would be the best for the games work / school? Thank you.

  • When I start windows media center that a black screen appears

    When media center click (Windows Vista) all that comes up is a black screen, I still have her, when I use the remote control for media center, it seems to work, but I don't see what I'm doing

  • Sostituzioni HD PowerEdge 2900 [MS]

    Buongiorno, avrei need di uno degli hd del Server PowerEdge 2900 auswechseln. Di is so a Western Digital WD2500YS - 18SHB2 da 250 GB. Indicarmi di e price terms could he prezzo? Grazie