How to convert row data into columns without using pivot table?

Hello guys
I have a report that has several columns about sales call type and call counts
It looks like this:
Calls Type Call Counts
Missed 200
Handled 3000000
Rejected 40000
Dropped 50000
Now I wanna create a report that look like this:
Missed call counts Handled Call counts Rejected Counts Drop counts Other Columns
200 300000000 40000 50000 Data
So that I can perform other calculations on the difference and comparison of handled calls counts vs other call counts..
I know pivot table view can make the report look like in such way, but they cant do further calculations on that..
So I need to create new solid columns that capture call counts based on call types..
How would I be able to do that on Answers? I don't have access to the RPD, so is it possible to do it sololy on answers? Or should I just ask ETL support on this?
Any pointers will be deeply appreciated!
Thank you

Thanks MMA
I followed your guidance and I was able to create a few new columns of call missed count, call handled counts and call abandoned counts.. Then I create new columns of ave missed counts, ave handled counts and so forth..
Then I went to the pivot view, I realized there is a small problem.. Basically the report still includes the column "call types" which has 3 different types of call "miss, abandon and handled". When I exclude this column in my report, the rest of the measures will return wrong values. When I include this column in the report, it shows duplicate values by 3 rows. It looks like this:
Queue name Call types Call handled Call missed Call abondoned
A Miss 8 10 15
A Handled 8 10 15
A Abandoned 8 10 15
in pivot table view, if I move call type to column area, the resulted measures will become 8X3, 10X3 and 15X3
So is there a way to eliminate duplicate rows or let the system know not to mulitply by 3?
Or is this as far as presentation service can go in terms of this? Or should I advice to provide better data from the back end?
Please let me know, thanks

Similar Messages

  • How to convert XMLTYPE data into CLOB without using getclobval()

    Please tell me how to convert data which is stored in the table in XMLTYPE column to a CLOB.
    When i use getClobVal(), i get an error. So please tell me some other option except getClobVal()

    CREATE OR REPLACE PACKAGE BODY CONVERT_XML_TO_HTML AS
         FUNCTION GENERATE_HTML(TABLE_NAME VARCHAR2, FILE_NAME VARCHAR2, STYLESHEET_QUERY VARCHAR2, WHERE_CLAUSE VARCHAR2, ORDERBY_CLAUSE VARCHAR2) RETURN CLOB IS
         lHTMLOutput XMLType;
         lXSL CLOB;
              lXMLData XMLType;
              FILEID UTL_FILE.FILE_TYPE;
              HTML_RESULT CLOB;
              SQL_QUERY VARCHAR2(300);
              WHERE_QUERY VARCHAR2(200);
              fileDirectory VARCHAR2(100);
              slashPosition NUMBER;
              actual_fileName VARCHAR2(100);
              XML_HTML_REF_CUR_PT XML_HTML_REF_CUR;
              BEGIN
                   IF WHERE_CLAUSE IS NOT NULL AND ORDERBY_CLAUSE IS NOT NULL THEN
                   SQL_QUERY := 'SELECT * FROM ' || TABLE_NAME ||' WHERE ' || WHERE_CLAUSE || ' ORDER BY ' || ORDERBY_CLAUSE;
                        ELSE IF WHERE_CLAUSE IS NOT NULL AND ORDERBY_CLAUSE IS NULL THEN
                             SQL_QUERY := 'SELECT * FROM ' || TABLE_NAME || ' WHERE ' || WHERE_CLAUSE;
                             ELSE IF WHERE_CLAUSE IS NULL AND ORDERBY_CLAUSE IS NOT NULL THEN
                                  SQL_QUERY := 'SELECT * FROM ' || TABLE_NAME || ' ORDER BY ' || ORDERBY_CLAUSE;
                                  ELSE IF WHERE_CLAUSE IS NULL AND ORDERBY_CLAUSE IS NULL THEN
                                  SQL_QUERY := 'SELECT * FROM ' || TABLE_NAME;
                   END IF;
                        END IF;
                             END IF;
                                  END IF;
                   OPEN XML_HTML_REF_CUR_PT FOR SQL_QUERY;
              lXMLData := GENERATE_XML(XML_HTML_REF_CUR_PT);
                   --lXSL := GET_STYLESHEET(STYLESHEET_QUERY);
                                  if(lXMLData is not null) then
                                  dbms_output.put_line('lXMLData pass');
                                  else
                                            dbms_output.put_line('lXMLData fail');
                   end if;
                   lHTMLOutput := lXMLData.transform(XMLType(STYLESHEET_QUERY));
                   --INSERT INTO TEMP_CLOB_TAB2 VALUES(CLOB(lHTMLOutput));
                   if(lHTMLOutput is not null) then
                                  dbms_output.put_line('lHTMLOutput pass');
                                  else
                                            dbms_output.put_line('lHTMLOutput fail');
                   end if;
                   HTML_RESULT := lHTMLOutput.getclobVal();
                   if(HTML_RESULT is not null) then
                                  dbms_output.put_line('HTML_RESULT pass'||HTML_RESULT);
                                  else
                                            dbms_output.put_line('HTML_RESULT fail');
                   end if;
                   -- If the filename has been supplied ...
         IF FILE_NAME IS NOT NULL THEN
    -- locate the final '/' or '\' in the pathname ...
         slashPosition := INSTR(FILE_NAME, '/', -1 );
         IF slashPosition = 0 THEN
         slashPosition := INSTR(FILE_NAME,'\', -1 );
         END IF;
    -- separate the filename from the directory name ...
         fileDirectory := SUBSTR(FILE_NAME, 1,slashPosition - 1 );
         actual_fileName := SUBSTR(FILE_NAME, slashPosition + 1 );
                   END IF;
                        DBMS_OUTPUT.PUT_LINE(fileDirectory||' ' ||actual_fileName);
                   FILEID := UTL_FILE.FOPEN(fileDirectory,actual_fileName, 'W');
                   UTL_FILE.PUT_LINE(FILEID, '<title> hi </title>');
              UTL_FILE.PUT_LINE(FILEID, HTML_RESULT);
                   UTL_FILE.FCLOSE (FILEID);
    DBMS_OUTPUT.PUT_LINE('CLOB SIZE'||DBMS_LOB.GETLENGTH(HTML_RESULT));               
                   RETURN HTML_RESULT;
                   --RETURN lHTMLOutput;
              EXCEPTION
                        WHEN OTHERS
                             THEN DBMS_OUTPUT.PUT_LINE('ERROR!!!!!!!!!!!!');
              END GENERATE_HTML;
         FUNCTION GENERATE_XML(XML_HTML_REF_CUR_PT XML_HTML_REF_CUR) RETURN XMLType IS
              qryCtx DBMS_XMLGEN.ctxHandle;
              result CLOB;
              result1 xmltype;
              BEGIN
                   qryCtx := DBMS_XMLGEN.newContext(XML_HTML_REF_CUR_PT);
                   result := DBMS_XMLGEN.getXML(qryCtx);
                   --dbms_output.put_line(result);
                   result1 := xmltype(result);
                   INSERT INTO temp_clob VALUES(result);
                   if(result1 is not null) then
                                  dbms_output.put_line('pass');
                                  else
                                            dbms_output.put_line('fail');
                   end if;
                        return result1;
                        DBMS_XMLGEN.closeContext(qryCtx);
         END GENERATE_XML;     
    END CONVERT_XML_TO_HTML;
    This is the code which i am using to generate the XML and subsequently to generate the HTML output out of that using a XSL stylesheet.
    The error is Numeric or value error..

  • Row data to column conversion (Using PiVOT)

    Hi,
    I have a query and I want mentioned result below. I tried with some extend or different way even. But not able fetch all records.
    Query with sample data: -
    WITH data1(col_name,col_value) AS
    SELECT 'Bike','Honda' FROM dual UNION ALL
    SELECT 'Model','Zmr' FROM dual UNION ALL
    SELECT 'Count','40' FROM dual UNION ALL
    SELECT 'Bike','Yamaha' FROM dual UNION ALL
    SELECT 'Model','R1' FROM dual UNION ALL
    SELECT 'Count','45' FROM dual UNION ALL
    SELECT 'Bike','Ducati' FROM dual UNION ALL
    SELECT 'Model','Xxx' FROM dual UNION ALL
    SELECT 'Count','25' FROM dual
    SELECT * from data1
    PIVOT ( MIN(col_value) -- checked:
      FOR col_name IN ('Bike' As "BiKe", 'Model' AS "MoDeL", 'Count' "CNT")
    -- I can use only aggregate functions here to get the result as expected, but it shows me one record( also not correctly)
    Expected Output:-
    BiKe   MoDeL  CNT
    Honda  Zmr    40
    Yamaha R1     45
    Ducati Xxx    25Even, if it is not possible with pivot, then tell me some other way around. I tried with that common link(hierarchical links thread) in forum; but not able to get proper result in that.
    I might have missed/lost somewhere in previous discussions. So excuse me if the question might get repeated! But I want to know right here on this thread as I tried lot to find out exactly or I might be missing something silly. So you can point me out too.
    Thanks!
    Ashutosh Nath
    Edited by: Ashu_Neo on Nov 29, 2012 11:03 AM

    Ashu,
    something like this assuming u have something in order.
    WITH data1 (col_name, col_value) AS
            (SELECT 'Bike', 'Honda' FROM DUAL
             UNION ALL
             SELECT 'Model', 'Zmr' FROM DUAL
             UNION ALL
             SELECT 'Count', '40' FROM DUAL
             UNION ALL
             SELECT 'Bike', 'Yamaha' FROM DUAL
             UNION ALL
             SELECT 'Model', 'R1' FROM DUAL
             UNION ALL
             SELECT 'Count', '45' FROM DUAL
             UNION ALL
             SELECT 'Bike', 'Ducati' FROM DUAL
             UNION ALL
             SELECT 'Model', 'Xxx' FROM DUAL
             UNION ALL
             SELECT 'Count', '25' FROM DUAL)
    SELECT bike, model, cnt
      FROM (SELECT col_name,
                   col_value bike,
                   t model,
                   LEAD (t, 1, NULL) OVER (PARTITION BY 1 ORDER BY 1) cnt
              FROM (SELECT a.*,
                           LEAD (col_value, 1, NULL)
                              OVER (PARTITION BY 1 ORDER BY 1)
                              t
                      FROM data1 a) a)
    WHERE 1 = 1 AND col_name = 'Bike';output:
    BIKE     MODEL     CNT
    Honda     Zmr     40
    Yamaha     R1     45
    Ducati     Xxx     25Cheers,
    Manik.

  • How to display row to columns without using pivot keyword

    hi,
    could someone help me how to dispaly rows into columns without using pivot keyword and actuall my scenario is,iam having two tables with names and sample data is shown below
    ID PROJECT MID MINAME TASKID TASKNAME
    1     PROJ1     1     AA     100     PR1_TASK1
    1     PROJ1     3     CC     102     PR1_TASK3
    1     PROJ1     4     DD     103     PR1_TASK4
    1     PROJ1     5     EE     104     PR1_TASK5
    1     PROJ1     6     FF     105     PR1_TASK6
    2     PROJ2     5     EE     114     PR2_TASK1
    2     PROJ2     6     FF     115     PR2_TASK2
    2     PROJ2     7     GG     116     PR2_TASK3
    2     PROJ2     8     HH     117     PR2_TASK4
    2     PROJ2     9     JJ     118     PR2_TASK5
    2     PROJ2     10     KK     119     PR2_TASK6
    2     PROJ2     1     AA     120     PR2_TASK7
    The output should display project and count of tasks in particular milestone as shown below
    project AA BB CC DD EE FF GG HH JJ KK
    1 2 0 1 5 3 2 0 2 1 0
    2 1 2 0 2 1 0 2 4 3 1
    Thanks in advance ,
    vvr

    WITH t1 AS
    (SELECT 1 ID,
             'PROJ1' PROJECT,
             1 MID,
             'AA' MINAME,
             100 TASKID,
             'PR1_TASK1' TASKNAME
        FROM DUAL
      UNION
      SELECT 1, 'PROJ1', 3, 'CC', 102, 'PR1_TASK3'
        FROM DUAL
      UNION
      SELECT 1, 'PROJ1', 4, 'DD', 103, 'PR1_TASK4'
        FROM DUAL
      UNION
      SELECT 1, 'PROJ1', 5, 'EE', 104, 'PR1_TASK5'
        FROM DUAL
      UNION
      SELECT 1, 'PROJ1', 6, 'FF', 105, 'PR1_TASK6'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 5, 'EE', 114, 'PR2_TASK1'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 6, 'FF', 115, 'PR2_TASK2'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 7, 'GG', 116, 'PR2_TASK3'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 8, 'HH', 117, 'PR2_TASK4'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 9, 'JJ', 118, 'PR1_TASK5'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 10, 'KK', 119, 'PR1_TASK6'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 1, 'AA', 120, 'PR1_TASK7' FROM DUAL)
    SELECT id project,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'AA'
                  AND id = t_out.id),
               0) AA,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'BB'
                  AND id = t_out.id),
               0) BB,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'CC'
                  AND id = t_out.id),
               0) CC,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'DD'
                  AND id = t_out.id),
               0) DD,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'EE'
                  AND id = t_out.id),
               0) EE,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'FF'
                  AND id = t_out.id),
               0) FF,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'GG'
                  AND id = t_out.id),
               0) GG,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'HH'
                  AND id = t_out.id),
               0) HH,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'JJ'
                  AND id = t_out.id),
               0) JJ,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'KK'
                  AND id = t_out.id),
               0) KK
      FROM (SELECT DISTINCT id FROM t1) t_out
    PROJECT     AA     BB     CC     DD     EE     FF     GG     HH     JJ     KK
    1     1     0     3     4     5     6     0     0     0     0
    2     1     0     0     0     5     6     7     8     9     10As I understand, you want MID of MINAMEs displayed ? But output is not like yours.. What is exactly your requirements?

  • How to convert Rows to different columns

    Hi All,
    I am having a table address with the following data.
    ID          REL_NAME     REL_RELATION  REL_PHONE
    1---          kish_rel1---     wife---     1111
    1---          kish_rel2---     sister---     2222
    1---          kish_rel3---     brother---     3333
    2---          ram_rel1---     brother---     4444
    Now i want to display rows data into columns. See the output i want. Exactly, I dont know how many rows are there for each ID. It may increase or decrease.
    ID          REL_NAME     REL_RELATION  REL_PHONE
    1---kish_rel1---     wife---     1111---kish_rel2---     sister---     2222---kish_rel3---     brother---     3333
    2---ram_rel1---     brother---     4444
    Thanks in advance,
    Pal

    Hi,
    I have found this is useful. But it is static. It wont work if we dont know the maximum number of rows present when grouped by ID.
    Is there any other solution, which will give correct values, if we dont know the row count when grouped by ID.
    SELECT hrid,
    MAX(case when seq=1 then rel_name end) AS "rel_name1",
    MAX(case when seq=1 then rel_relation end) AS "rel_relation1",
    MAX(case when seq=1 then rel_phone end) AS "rel_phone1",
    MAX(case when seq=2 then rel_name end) AS "rel_name2",
    MAX(case when seq=2 then rel_relation end) AS "rel_relation2",
    MAX(case when seq=2 then rel_phone end) AS "rel_phone2",
    MAX(case when seq=3 then rel_name end) AS "rel_name3",
    MAX(case when seq=3 then rel_relation end) AS "rel_relation3",
    MAX(case when seq=3 then rel_phone end) AS "rel_phone3",
    MAX(case when seq=4 then rel_name end) AS "rel_name4",
    MAX(case when seq=4 then rel_relation end) AS "rel_relation4",
    MAX(case when seq=4 then rel_phone end) AS "rel_phone4"
    FROM (SELECT hrid, rel_name, rel_relation, rel_phone, ROW_NUMBER() over(partition by hrid ORDER BY hrid) AS seq FROM address)
    GROUP BY hrid
    Thanks,
    Pal

  • How to convert system Date into DD-MMM-YYYY Format

    hi friends,
    please help me How to convert system Date into DD-MMM-YYYY Format.
    Regards
    Yogesh

    HI..
    data: w_dt(11) type c,
             w_month(2),
             w_mon(3).
    w_month = p_date+4(2). **p_date = given date**
    case w_month.
    when '01'.
    w_mon = 'Jan'.
    when '02'.
    w_mon = 'Feb'.
    when '03'.
    w_mon = 'Mar'.
    when '04'.
    w_mon = 'Apr'.
    when '05'.
    w_mon = 'May'.
    when '06'.
    w_mon = 'Jun'.
    when '07'.
    w_mon = 'Jul'.
    when '08'.
    w_mon = 'Aug'.
    when '09'.
    w_mon = 'Sep'.
    when '10'.
    w_mon = 'Oct'.
    when '11'.
    w_mon = 'Nov'.
    when '12'.
    w_mon = 'Dec'.
    endcase.
    Now...
      concatenate p_date6(2)  '-'  w_mon  '-'   p_date0(4)  into w_dt.
    write w_dt.

  • How to convert BLOB data into string format.

    Hi,
    I have problem while converting blob data into string format.
    for example,
    Select dbms_lob.substr(c.shape.Get_wkb(),4000,1) from geotable c
    will get me the first 4000 byte of BLOB .
    When i using SQL as i did above,the max length is 4000, but i can get 32K using plsql as below:
    declare
    my_var CLOB;
    BEGIN
    for x in (Select X from T)
    loop
    my_var:=dbms_lob.substr(x.X,32767,1)
    end loop
    return my_var;
    I comfortably convert 32k BLOB field to string.
    My problem is how to convert blob to varchar having size more than 32K.
    Please help me to resolve this,
    Thanx in advance for the support,
    Nilesh

    Nilesh,
    . . . .The result of get_wkb() will not be human readable (all values are encoded into some binary format).
    SELECT utl_raw.cast_to_varchar2(tbl.geometry.get_wkt()) from FeatureTable tbl;
    -- resulting string:
        ☺AW(⌂özßHAA
    Å\(÷. . . .You may also want to have a look at { dbms_lob | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_lob.htm#i1015792 } "The DBMS_LOB package provides subprograms to operate on BLOBs, CLOBs, NCLOBs, BFILEs, and temporary LOBs."
    Regards,
    Noel

  • How to convert julian Date into Calendar Date

    Hi,
    I want convert julian Date to calendar Date (mm/dd/yyyy or mm/dd/yy format) in java.
    Can any one help me how to convert julian date to calendar Date.
    Thanks,
    Krishore.

    import java.util.*;
    import java.text.*;
    public class jdate {
    Calendar date;
    public jdate(int j)
    date = Calendar.getInstance();
    date.set(Calendar.DAY_OF_YEAR, j);
    public String toString()
    SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
    return (formatter.format( date.getTime() ));
    public static void main(String args[])
    if(args.length == 1)
    int j = Integer.parseInt(args[0]);
    jdate julian = new jdate(j);
    System.out.println("Julian date(" + j + ") = " + julian.toString());
    }

  • Converting rows to collums with out using pivot ?

    Hi,
    Is it possible to convert the rows to collums ,and collums to rows wit out using pivot table?
    Tq

    hi,
    Its not possible to convert rows to columns, columns to rows out of pivot.
    In table view ther will be column and measure only.
    Regards,
    VG

  • How to display ICONS in normal report without using icons table

    Hi Friends,
    I have to display icons(traffic lights) in a normal report.
    Can we do that without using icons table?
    If yes, please let me know how?
    Thanks,

    Hi Pagidala,
    Go to txcode - ABAPDOCU and in that expand BC-ABAP Programming->ABAP User Dialog->Screens->complex screen elements->status icons on Screens.
    In this you can see sample code which may help you.
    Cheers!!

  • How do I make a header column in a pivot table a field from the table

    I am trying to reference a field for a header column in a pivot table. for example: 2006 - Cat, 2006-Dog
    I am trying to get the following result:
    2006-Cat     January     February     March     April     May     June     July     August     September     October     November     December     Totals
    Euthanise     159     203     188     252     376     501     393     315     304     276     212     207     3386
    Intake     192     220     234     305     412     538     409     330     329     305     244     241     3759
    Redeem     10     4     4     3     5     3     2     1     2     1     2     5     42
    Rescue     0     0     2     10     0     0     0     1     0     2     0     4     19
    2006-Dog     January     February     March     April     May     June     July     August     September     October     November     December     Totals
    Euthanise     306     375     347     341     458     484     385     441     317     384     325     318     4481
    Intake     455     514     495     465     571     595     486     570     438     511     434     473     6007
    Redeem     65     63     57     34     57     43     58     46     58     67     53     59     660
    Rescue     0     0     0     1     0     0     0     0     3     1     0     0     5
    2007-Cat     January     February     March     April     May     June     July     August     September     October     November     December     Totals
    Euthanise     223     265     229     275     569     508     451     359     310     318     231     225     3963
    Intake     268     286     274     315     594     567     488     397     329     344     279     249     4390
    Redeem     11     7     11     1     5     2     0     2     4     3     16     2     64
    Rescue     7     0     0     1     0     1     2     1     1     0     1     0     14
    2007-Dog     January     February     March     April     May     June     July     August     September     October     November     December     Totals
    Euthanise     436     374     313     343     395     362     422     403     394     350     275     343     4410
    Intake     594     510     480     477     508     520     553     502     509     544     410     480     6087
    Redeem     67     72     77     57     47     51     50     40     41     62     45     45     654
    Rescue     2     3     0     1     0     0     4     0     3     0     1     1     15
    Any help is greatly appreciated.

    <?xml version="1.0" encoding="UTF-8" ?>
    - <ROWSET>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Euthanise</cue>
    <anicnt>159.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Intake</cue>
    <anicnt>192.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Redeem</cue>
    <anicnt>10.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>February</MNTH>
    <imonth>2</imonth>
    <cue>Euthanise</cue>
    <anicnt>203.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>February</MNTH>
    <imonth>2</imonth>
    <cue>Intake</cue>
    <anicnt>220.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>February</MNTH>
    <imonth>2</imonth>
    <cue>Redeem</cue>
    <anicnt>4.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>March</MNTH>
    <imonth>3</imonth>
    <cue>Euthanise</cue>
    <anicnt>188.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>March</MNTH>
    <imonth>3</imonth>
    <cue>Intake</cue>
    <anicnt>234.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>March</MNTH>
    <imonth>3</imonth>
    <cue>Redeem</cue>
    <anicnt>4.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>March</MNTH>
    <imonth>3</imonth>
    <cue>Rescue</cue>
    <anicnt>2.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Euthanise</cue>
    <anicnt>252.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Intake</cue>
    <anicnt>305.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Redeem</cue>
    <anicnt>3.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Rescue</cue>
    <anicnt>10.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>May</MNTH>
    <imonth>5</imonth>
    <cue>Euthanise</cue>
    <anicnt>376.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>May</MNTH>
    <imonth>5</imonth>
    <cue>Intake</cue>
    <anicnt>412.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>May</MNTH>
    <imonth>5</imonth>
    <cue>Redeem</cue>
    <anicnt>5.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>June</MNTH>
    <imonth>6</imonth>
    <cue>Euthanise</cue>
    <anicnt>501.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>June</MNTH>
    <imonth>6</imonth>
    <cue>Intake</cue>
    <anicnt>538.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>June</MNTH>
    <imonth>6</imonth>
    <cue>Redeem</cue>
    <anicnt>3.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>July</MNTH>
    <imonth>7</imonth>
    <cue>Euthanise</cue>
    <anicnt>393.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>July</MNTH>
    <imonth>7</imonth>
    <cue>Intake</cue>
    <anicnt>409.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>July</MNTH>
    <imonth>7</imonth>
    <cue>Redeem</cue>
    <anicnt>2.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Euthanise</cue>
    <anicnt>315.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Intake</cue>
    <anicnt>330.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Redeem</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Rescue</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Euthanise</cue>
    <anicnt>304.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Intake</cue>
    <anicnt>329.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Redeem</cue>
    <anicnt>2.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Euthanise</cue>
    <anicnt>276.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Intake</cue>
    <anicnt>305.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Redeem</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Rescue</cue>
    <anicnt>2.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Euthanise</cue>
    <anicnt>212.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Intake</cue>
    <anicnt>244.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Redeem</cue>
    <anicnt>2.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Euthanise</cue>
    <anicnt>207.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Intake</cue>
    <anicnt>241.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Redeem</cue>
    <anicnt>5.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - CAT</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Rescue</cue>
    <anicnt>4.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Euthanise</cue>
    <anicnt>306.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Intake</cue>
    <anicnt>455.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Redeem</cue>
    <anicnt>65.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>February</MNTH>
    <imonth>2</imonth>
    <cue>Euthanise</cue>
    <anicnt>375.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>February</MNTH>
    <imonth>2</imonth>
    <cue>Intake</cue>
    <anicnt>514.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>February</MNTH>
    <imonth>2</imonth>
    <cue>Redeem</cue>
    <anicnt>63.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>March</MNTH>
    <imonth>3</imonth>
    <cue>Euthanise</cue>
    <anicnt>347.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>March</MNTH>
    <imonth>3</imonth>
    <cue>Intake</cue>
    <anicnt>495.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>March</MNTH>
    <imonth>3</imonth>
    <cue>Redeem</cue>
    <anicnt>57.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Euthanise</cue>
    <anicnt>341.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Intake</cue>
    <anicnt>465.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Redeem</cue>
    <anicnt>34.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Rescue</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>May</MNTH>
    <imonth>5</imonth>
    <cue>Euthanise</cue>
    <anicnt>458.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>May</MNTH>
    <imonth>5</imonth>
    <cue>Intake</cue>
    <anicnt>571.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>May</MNTH>
    <imonth>5</imonth>
    <cue>Redeem</cue>
    <anicnt>57.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>June</MNTH>
    <imonth>6</imonth>
    <cue>Euthanise</cue>
    <anicnt>484.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>June</MNTH>
    <imonth>6</imonth>
    <cue>Intake</cue>
    <anicnt>595.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>June</MNTH>
    <imonth>6</imonth>
    <cue>Redeem</cue>
    <anicnt>43.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>July</MNTH>
    <imonth>7</imonth>
    <cue>Euthanise</cue>
    <anicnt>385.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>July</MNTH>
    <imonth>7</imonth>
    <cue>Intake</cue>
    <anicnt>486.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>July</MNTH>
    <imonth>7</imonth>
    <cue>Redeem</cue>
    <anicnt>58.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Euthanise</cue>
    <anicnt>441.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Intake</cue>
    <anicnt>570.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Redeem</cue>
    <anicnt>46.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Euthanise</cue>
    <anicnt>317.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Intake</cue>
    <anicnt>438.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Redeem</cue>
    <anicnt>58.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Rescue</cue>
    <anicnt>3.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Euthanise</cue>
    <anicnt>384.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Intake</cue>
    <anicnt>511.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Redeem</cue>
    <anicnt>67.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Rescue</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Euthanise</cue>
    <anicnt>325.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Intake</cue>
    <anicnt>434.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Redeem</cue>
    <anicnt>53.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Euthanise</cue>
    <anicnt>318.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Intake</cue>
    <anicnt>473.0</anicnt>
    </ROW>
    - <ROW>
    <header>2006 - DOG</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Redeem</cue>
    <anicnt>59.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Euthanise</cue>
    <anicnt>223.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Intake</cue>
    <anicnt>268.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Redeem</cue>
    <anicnt>11.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Rescue</cue>
    <anicnt>7.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>February</MNTH>
    <imonth>2</imonth>
    <cue>Euthanise</cue>
    <anicnt>265.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>February</MNTH>
    <imonth>2</imonth>
    <cue>Intake</cue>
    <anicnt>286.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>February</MNTH>
    <imonth>2</imonth>
    <cue>Redeem</cue>
    <anicnt>7.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>March</MNTH>
    <imonth>3</imonth>
    <cue>Euthanise</cue>
    <anicnt>229.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>March</MNTH>
    <imonth>3</imonth>
    <cue>Intake</cue>
    <anicnt>274.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>March</MNTH>
    <imonth>3</imonth>
    <cue>Redeem</cue>
    <anicnt>11.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Euthanise</cue>
    <anicnt>275.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Intake</cue>
    <anicnt>315.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Redeem</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Rescue</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>May</MNTH>
    <imonth>5</imonth>
    <cue>Euthanise</cue>
    <anicnt>569.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>May</MNTH>
    <imonth>5</imonth>
    <cue>Intake</cue>
    <anicnt>594.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>May</MNTH>
    <imonth>5</imonth>
    <cue>Redeem</cue>
    <anicnt>5.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>June</MNTH>
    <imonth>6</imonth>
    <cue>Euthanise</cue>
    <anicnt>508.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>June</MNTH>
    <imonth>6</imonth>
    <cue>Intake</cue>
    <anicnt>567.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>June</MNTH>
    <imonth>6</imonth>
    <cue>Redeem</cue>
    <anicnt>2.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>June</MNTH>
    <imonth>6</imonth>
    <cue>Rescue</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>July</MNTH>
    <imonth>7</imonth>
    <cue>Euthanise</cue>
    <anicnt>451.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>July</MNTH>
    <imonth>7</imonth>
    <cue>Intake</cue>
    <anicnt>488.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>July</MNTH>
    <imonth>7</imonth>
    <cue>Rescue</cue>
    <anicnt>2.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Euthanise</cue>
    <anicnt>359.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Intake</cue>
    <anicnt>397.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Redeem</cue>
    <anicnt>2.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Rescue</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Euthanise</cue>
    <anicnt>310.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Intake</cue>
    <anicnt>329.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Redeem</cue>
    <anicnt>4.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Rescue</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Euthanise</cue>
    <anicnt>318.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Intake</cue>
    <anicnt>344.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Redeem</cue>
    <anicnt>3.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Euthanise</cue>
    <anicnt>231.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Intake</cue>
    <anicnt>279.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Redeem</cue>
    <anicnt>16.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Rescue</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Euthanise</cue>
    <anicnt>225.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Intake</cue>
    <anicnt>249.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - CAT</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Redeem</cue>
    <anicnt>2.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Euthanise</cue>
    <anicnt>436.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Intake</cue>
    <anicnt>594.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Redeem</cue>
    <anicnt>67.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>January</MNTH>
    <imonth>1</imonth>
    <cue>Rescue</cue>
    <anicnt>2.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>February</MNTH>
    <imonth>2</imonth>
    <cue>Euthanise</cue>
    <anicnt>374.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>February</MNTH>
    <imonth>2</imonth>
    <cue>Intake</cue>
    <anicnt>510.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>February</MNTH>
    <imonth>2</imonth>
    <cue>Redeem</cue>
    <anicnt>72.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>February</MNTH>
    <imonth>2</imonth>
    <cue>Rescue</cue>
    <anicnt>3.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>March</MNTH>
    <imonth>3</imonth>
    <cue>Euthanise</cue>
    <anicnt>313.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>March</MNTH>
    <imonth>3</imonth>
    <cue>Intake</cue>
    <anicnt>480.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>March</MNTH>
    <imonth>3</imonth>
    <cue>Redeem</cue>
    <anicnt>77.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Euthanise</cue>
    <anicnt>343.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Intake</cue>
    <anicnt>477.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Redeem</cue>
    <anicnt>57.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>April</MNTH>
    <imonth>4</imonth>
    <cue>Rescue</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>May</MNTH>
    <imonth>5</imonth>
    <cue>Euthanise</cue>
    <anicnt>395.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>May</MNTH>
    <imonth>5</imonth>
    <cue>Intake</cue>
    <anicnt>508.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>May</MNTH>
    <imonth>5</imonth>
    <cue>Redeem</cue>
    <anicnt>47.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>June</MNTH>
    <imonth>6</imonth>
    <cue>Euthanise</cue>
    <anicnt>362.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>June</MNTH>
    <imonth>6</imonth>
    <cue>Intake</cue>
    <anicnt>520.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>June</MNTH>
    <imonth>6</imonth>
    <cue>Redeem</cue>
    <anicnt>51.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>July</MNTH>
    <imonth>7</imonth>
    <cue>Euthanise</cue>
    <anicnt>422.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>July</MNTH>
    <imonth>7</imonth>
    <cue>Intake</cue>
    <anicnt>553.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>July</MNTH>
    <imonth>7</imonth>
    <cue>Redeem</cue>
    <anicnt>50.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>July</MNTH>
    <imonth>7</imonth>
    <cue>Rescue</cue>
    <anicnt>4.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Euthanise</cue>
    <anicnt>403.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Intake</cue>
    <anicnt>502.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>August</MNTH>
    <imonth>8</imonth>
    <cue>Redeem</cue>
    <anicnt>40.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Euthanise</cue>
    <anicnt>394.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Intake</cue>
    <anicnt>509.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Redeem</cue>
    <anicnt>41.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>September</MNTH>
    <imonth>9</imonth>
    <cue>Rescue</cue>
    <anicnt>3.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Euthanise</cue>
    <anicnt>350.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Intake</cue>
    <anicnt>544.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>October</MNTH>
    <imonth>10</imonth>
    <cue>Redeem</cue>
    <anicnt>62.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Euthanise</cue>
    <anicnt>275.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Intake</cue>
    <anicnt>410.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Redeem</cue>
    <anicnt>45.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>November</MNTH>
    <imonth>11</imonth>
    <cue>Rescue</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Euthanise</cue>
    <anicnt>343.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Intake</cue>
    <anicnt>480.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Redeem</cue>
    <anicnt>45.0</anicnt>
    </ROW>
    - <ROW>
    <header>2007 - DOG</header>
    <MNTH>December</MNTH>
    <imonth>12</imonth>
    <cue>Rescue</cue>
    <anicnt>1.0</anicnt>
    </ROW>
    </ROWSET>

  • How to convert blob data into clob using plsql

    hi all,
    I have requirement to convert blob column into clob .
    version details
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE     11.1.0.7.0     Production
    TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    DECLARE
       v_blob      temp.blob_column%TYPE;------this is blob data type column contains  (CSV file which is  inserted  from screens)
       v_clob      CLOB; --i want to copy blob column data into this clob
       v_warning   NUMBER;
    BEGIN
       SELECT blob_column
         INTO v_blob
         FROM temp
        WHERE pk = 75000676;
       DBMS_LOB.converttoclob (dest_lob          => v_clob,
                               src_blob          => v_blob,
                               amount            => DBMS_LOB.lobmaxsize,
                               dest_offset       => 1,
                               src_offset        => 1,
                               blob_csid         => 1, -- what  is the use of this parameter
                               lang_context      => 1,
                               warning           => v_warning
       DBMS_OUTPUT.put_line (v_warning);
    EXCEPTION
       WHEN OTHERS
       THEN
          DBMS_OUTPUT.put_line (SQLCODE);
          DBMS_OUTPUT.put_line (SQLERRM);
    END;I am not getting what is the use of blob_csid , lang_context parameters after going the trough the documentation .
    Any help in this regard would be highly appreciated .......
    Thanks
    Edited by: prakash on Feb 5, 2012 11:41 PM

    Post the 4 digit Oracle version.
    Did you read the Doc for DBMS_LOB.CONVERTTOCLOB? - http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_lob.htm
    The function can convert data from one character set to another. If the source data uses a different character set than the target you need to provide the character set id of the source data.
    The blob_csid parameter is where you would provide the value for the source character set.
    If the source and target use the same character set then just pass zero. Your code is passing a one.
    >
    General Notes
    You must specify the character set of the source data in the blob_csid parameter. You can pass a zero value for blob_csid. When you do so, the database assumes that the BLOB contains character data in the same character set as the destination CLOB.
    >
    Same for 'lang_context' - your code is using 1; just use 0. It is an IN OUT
    >
    lang_context
    (IN) Language context, such as shift status, for the current conversion.
    (OUT) The language context at the time when the current conversion is done.
    This information is returned so you can use it for subsequent conversions without losing or misinterpreting any source data. For the very first conversion, or if do not care, use the default value of zero.

  • How to convert XML data into binary data (opaque data)

    Hi,
    I am trying to develop a process that delivers files after reading data from a database.
    However, it is required not to deliver the data immediately. We want to perform some checks before the files get written.
    So the way we want to design this is,
    1. Read data from database (or any other input). The data is in XML format (this is a requirement, as in general, we have xml data)
    2. This data is written, opaquely, to a JMS queue that can store binary data, along with what is the filename of the file that would be written (filename is passed using JMS Headers)
    3. When required, another process reads the JMS queue's binary data, and dumps into a file
    The reason I want to use opaque data while inserting in the JMS queue is, that enables me to develop a single process in Step 3 that can write any file, irrespective of the format.
    My questions are
    1. How to convert the xml data to opaque data. In BPEL I may use a embedded java, but how about ESB. Any other way....?
    2. how to pass filename to the jms queue, when payload is opaque. Can I use a header attribute...custom attributes?
    3. Which jms message type is better for this kind of requirement - SYS.AQ$_JMS_BYTES_MESSAGE or SYS.AQ$_JMS_STREAM_MESSAGE

    Ana,
    We are doing the same thing--using one variable with the schema as the source of the .xsl and assigning the resulting html to another variable--the content body of the email, in our case. I just posted how we did it here: Re: Using XSLT to generate the email HTML body
    Let me know if this helps.

  • Show row data into columns

    Hi guys
    i have data coming in multiple rows and want to show same data in columns like multiple colours per product. colour are fixed in numbers i.e only three colours are there per product not more than that..
    sample data is like this
    id product_name colour
    101 A red
    101 A black
    101 A Green
    result required:-
    id product_name colour1 colour2 colour3
    101 A red black green
    thanks & Regards

    Hi,
    That's called a Pivot.  In Oracle 8.1 and higher, you can use ROW_NUMBER, CASE, and an aggregate function, such as MIN for pivoting. (Starting in Oracle 11, there's SELECT ... PIVOT.)
    You didn't post CREATE TABLE and INSERT statements for your table, so I'll use scott.emp to illustrate:
    WITH   got_r_num   AS
        SELECT  deptno
        ,       job
        ,       ename
        ,       ROW_NUMBER () OVER ( PARTITION BY  deptno
                                     ,             job
                                     ORDER BY      ename
                                    )  AS r_num
        FROM    scott.emp
    SELECT    deptno
    ,         job
    ,         MIN (CASE WHEN r_num = 1 THEN ename END)   AS ename_1
    ,         MIN (CASE WHEN r_num = 2 THEN ename END)   AS ename_2
    ,         MIN (CASE WHEN r_num = 3 THEN ename END)   AS ename_3
    FROM      got_r_num
    GROUP BY  deptno
    ,         job
    ORDER BY  deptno
    ,         job
    Output:
        DEPTNO JOB       ENAME_1    ENAME_2    ENAME_3
            10 CLERK     MILLER
            10 MANAGER   CLARK
            10 PRESIDENT KING
            20 ANALYST   FORD       SCOTT
            20 CLERK     ADAMS      SMITH
            20 MANAGER   JONES
            30 CLERK     JAMES
            30 MANAGER   BLAKE
            30 SALESMAN  ALLEN      MARTIN     TURNER
    If you do happen to have more than 3 items, the query still works, but only the first 3 are shown.  (In deptno=10, there is a 4th SALESMAN named WARD.)

  • How do I put data into a template using the Labview report generation toolkit for Microsoft Office?

    I am running Lookout 5.0 and have recently purchased the Labview Report Generation Toolkit for Microsoft Office to create reports from my Lookout logged data. Since I have never used Labview I am having my problems. I tried following the tutorials but they do not seem to be examples of what I want to do.
    I log rainfall totals (1 spreadsheet)in Lookout from 40 different sites in 5 minute increments. I copy these totals and paste them into another spreadsheet which sums them up to give me hourly totals and then paste those totals into a spreadsheet for distribution.
    In Labview I create a new report and use the distribution sheet as my template, but how do I complete
    the steps of loading the raw 5 minute data into labview and then paste it into the hourly total spreadsheet and then transfer those totals into the distribution template?
    I have been trying to figure this out for over a week, and I am getting nowhere.
    Any response would be appreciated.
    Thanks
    Jason P
    Jason Phillips

    Lookout saves the files in .csv form which can be opened in Excel. I did make some progress by using the "append table to report" vi which allowed me to put values into an array and then those values were entered into my template on my report vi.
    Where I am stuck now is I want to be able to put values into my template from a .csv file, not from an array I have to manually put numbers in.
    Once those values are in my template I want to pull summed values from the template and place them into a final excel file for printing.
    I have attached examples of the files I am working with to help you better understand what I am trying to do.
    I hope that makes sense.
    Jason Phillips
    Attachments:
    HourlyTotalsTemplate.xls ‏120 KB
    eb_rain_gauge_ss.csv ‏23 KB
    EastBankHourlyRainReport.xls ‏28 KB

Maybe you are looking for

  • Unable to install Full version of Tiger 10.4 or even any part of it!

    eMac 1.25G 256Mb 80G Combo Ok. Now that I have a full version of Tiger. I am unable to install it. Have done first aid several times to the drive. Done the one pass of Zero's as well as verified the drive. I have tried the installation approx 7x. It

  • What happen with my Signed applet

    Hi all I have just made a Signed applet Step by step: 1. I made applet source code 2. I made a HTML file 3. I build applet source code *javac FirstApplet.java* *jar cf FirstApplet.jar *.class* *keytool -genkey -keystore mykeystore -alias launcheralia

  • Few more doubts

    once i clicked yes....the window closed and give message like MASS MAINTAINENCE STARTED IN THE BACKGROUND. So after how much time can i check to see the records deleted??? so now i should have 2100 customers (3000 i had and i hv given 900 to delete).

  • Laptop with Adobe Premiere CS5.

    Hi I'll buy a new laptop, and i'll use Adobe Premiere CS5. Processor: Intel® Core™ i3-370M • 2,4 GHz, cache memory L3  3 Mo with HM55 chipset RAM: 4Go DDR3 HDD: SATA 750 Go (5 400 r/min) GPU: NVIDIA GeForce GT 520M (1 Go DDR3 ) OS: Seven prenium fami

  • DataScroller, table page navigation problem

    In my case I have created page with table and datascroller. I navigate from this page to another page and then back. But here is a problem. If I begin, for example, from 3rd page of data scroller and return back, the datascroller alwas positions on f