"How to get distinct values of sharepoint column using SSRS"

Hi,
    I have integrated sharepoint list data to SQL Server reporting services. I am using the below to query sharepoint list data using sql reporting services.
<Query>
   <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>
   <Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems">
      <Parameters>
         <Parameter Name="listName">
            <DefaultValue>{GUID of list}</DefaultValue>
         </Parameter>
         <Parameter Name="viewName">
            <DefaultValue>{GUID of listview}</DefaultValue>
         </Parameter>
         <Parameter Name="rowLimit">
            <DefaultValue>9999</DefaultValue>
         </Parameter>           
      </Parameters>
   </Method>  
<ElementPath IgnoreNamespaces="True">*</ElementPath>
</Query>
By using this query, I am getting a dataset which includes all the columns of sharepoint list. Among these columns, I wanted to display only 2 columns (i.e Region and Sales type) using chart. I have created a Region parameter but when I click preview, the drop down box is giving me all the repeatative values of region like RG1,RG1,RG1,RG2,RG2,RG2,RG2,RG3.......... I wanted to display only distinct values of Region parameter so that whenever end user select region from the parameter drop down, it will display the respective value of Sales type column.
Also when I select only RG1 parameter, it is giving me a chart including the sales type of all the Regions. (it should display me only the sales type of RG1) How can I link these 2 columns so that they will display the values respectively.
          I would really appreciate if anyone can help me out with this.
Thanks,
Sam.

Hi Sam,
By code, the CAML language doesn’t have any reserved word (or tag) to set this particular filter to remove duplicate results.
In this case, we could use the custom code to get distinct records.
Here are the detailed steps:
1.         Create a hidden parameter that gets all the records in one field.
Note: Please create another dataset that is same of the main dataset. This dataset is used for the parameter.
2.         Create a function that used to remove the duplicate records.
Here is the code:
Public Shared Function RemoveDups(ByVal items As String) As String
Dim noDups As New System.Collections.ArrayList()
Dim SpStr
SpStr = Split(items ,",")
For i As Integer=0 To Ubound(Spstr)
If Not noDups.Contains(SpStr(i).Trim()) Then
noDups.Add(SpStr(i).Trim())
End If
Next
Dim uniqueItems As String() = New String(noDups.Count-1){}
noDups.CopyTo(uniqueItems)
Return String.Join(",", uniqueItems)
End Function
3.         Create another parameter that will be used for filtering the maindata.
Please set the available value to be =Split(Code.RemoveDups(JOIN(Parameters!ISSUE_STATUS_TEMP.Value, ",")), ",")
And the default value to be the value you what such as the first value:
=Split(Code.RemoveDups(JOIN(Parameters!ISSUE_STATUS_TEMP.Value, ",")), ",").(0)
4.         Go to the main dataset. Open the property window of this dataset.
5.         In the “Filters” tab, set the filter to be:
Expression: <The field to be filter>
Operator: =
Value: =Parameters!Region.Value
The parameter “Region” should be the parameter we created in the step3.
Now, we should get distinct values of SharePoint columns.
If there is anything unclear, please feel free to ask.
Thanks,
Jin
Jin Chen - MSFT

Similar Messages

  • How to get Distinct Values from Answers

    Hi,
    How to get Distinct values from answers, i've tried to put some functions on it.
    Thanks,
    Malli

    Malli,
    Are you trying to fetch data from Dimension Attr OR Fact Measures? Did you try the advance tab - > Advanced SQL Clauses - > Check this box to issue an explicit Select Distinct.

  • How to get the values of an Array using JSP Tags

    Hey guys,
    I need some help. I've splited a String using
    fn:split(String, delim) where String = "1,2,3,4" and delim is ,
    This method returns an Array of splited Strings. how do i get the values from this array using jsp tags. I don't wanna put java code to achive that.
    Any help would be highly appreciated
    Thanks

    The JSTL forEach tag.
    In fact if all you want to do is iterate over the comma separated list, the forEach tag supports that without having to use the split function.
    <c:set var="list" value="1,2,3,4"/>
    <c:forEach var="num" items="${list}">
      <c:out value="${num}"/>
    </c:forEach>The c:forTokens method will let you do this with delimiters other than a comma, but the forEach tag works well just with the comma-delimited string.

  • How to get distinct values from a list and display in a ListView webpart.

    Hi,
    I have a requirement in which I need to pull unique/distinct values from a custom list and then display it via a listview webpart. Can any one suggest how this can be done.
    If possible please share the CAMEL query to fetch distinct values from a custom list.
    Thanks,
    Ankit

    Hi Ankit,
    Is there any particular reason that the values need to be shown in a list view web part?  Are you going to use that web part for filtering via web part connections?
    I ask because the enterprise site collection features include the SharePoint List Filter web part, which may accomplish what you're looking for.
    If you just need to display the values in a grid view, you might have more luck with the JavaScript Client Object Model.  Try putting the following in a text file:
    <style>
    .CustomTableClass{display:table;table-layout:fixed}
    .CustomRowClass{display:table-row;}
    </style>
    <div id="distinct_values_div" class="CustomTableClass">
    <img src="/_layouts/loading.gif" />
    </div>
    <script language="JavaScript" type="text/JavaScript">
    var siteUrl = '/sitecollection/web'; //use the actual subsite URL here
    var listName = 'mylist'; // use the actual list name here
    var field = "Title" // use the actual field you want to display here
    var divToUpdate = document.getElementById("distinct_values_div");
    var rowClass = "CustomRowClass";
    ExecuteOrDelayUntilScriptLoaded(function(){
    var clientContext = new SP.ClientContext(siteUrl);
    var web = clientContext.get_web();
    var lists = web.get_lists();
    var list = lists.getByTitle(listName);
    var camlQuery = new SP.CamlQuery();
    camlQuery.set_viewXml('<View><Query></Query><RowLimit>500</RowLimit></View>');
    this.collListItem = list.getItems(camlQuery);
    clientContext.load(collListItem,"Include ("+field+")");
    clientContext.executeQueryAsync(
    Function.createDelegate(this, this.onQuerySucceeded),
    Function.createDelegate(this, this.onQueryFailed));
    },"sp.js");
    function onQueryFailed(sender, args){
    divToUpdate.innerHTML = 'Unable to retrieve values: '+args.get_message());
    function onQuerySucceeded(sender, args){
    var allValues = [];
    var listItemEnumerator = collListItem.getEnumerator();
    divToUpdate.innerHTML = "";
    while(listItemEnumerator.moveNext()){
    var listItem = listItemEnumerator.get_current();
    if(!containsString(allValues,listItem.get_item(field)){
    var value = listItem.get_item(field);
    allValues.push(value);
    var newDiv = document.createElement("div");
    newDiv.className = rowClass;
    newDiv.innerHTML = value;
    divToUpdate.appendChild(newDiv);
    function containsString(strArray, text){
    var contains = false;
    for (var i=0; i<strArray.length; i++){
    if(strArray[i]==text){contains = true; break;}
    return contains;
    </script>
    Upload the text file to a library on the site, then add a content editor web part to a page where you want the distinct values to appear. In the content editor web part's properties, edit the Content Link so that it links directly to the text file.  This
    will cause the JavaScript to run on the page.

  • How to get the values in separate columns

    Hello Everyone
    I am new to Bex, i have the sales data of 2008,2009,2010. now i have to display the sales order(key figure) for 2008,2009,2010 in separate columns for each customer(dimension) in a single report , can any one help me how to get this done in bex.
    Thanks
    Gupta

    Hi ,
    You can achieve this either creating New Selections or Restricted Key Figures.
    Right click on the structute>>>> New selcection>>> drag the year to right [  Right Click on it >>restrict it with 2008}>>>Drag the respected Key figure.
    So u will get the values 2008 in seperate column.
    COpy the New Selecten that u created and paste on the structure , chage the descriprion and year to 2009.
    do the same for 2010.
    Note:you can also achieve this by creating variable offsets.Check the following link
    http://help.sap.com/saphelp_bw33/helpdata/en/3f/89533e5ff4d064e10000000a114084/content.htm
    Regards,
    Ranganath

  • How to get rows values in a column only ?

    How to get all returned values in rows in a column.
    e.g., a query gives output as :
    123
    234
    233
    12121
    all in different rows. But i want the result like this:
    123,234,233,12121.All in a single row and a single column .
    How is this possible ?

    prakash wrote:
    hi ,
    Use the following example
    CREATE or  replace  FUNCTION fn_return_row
    RETURN VARCHAR2
    IS
    v_row   VARCHAR2 (32767);
    BEGIN
    FOR curr_row IN (SELECT ename
    FROM emp11)
    LOOP
    v_row := v_row ||','|| curr_row.ename;
    END LOOP;
    RETURN v_row;
    EXCEPTION
    WHEN OTHERS
    THEN
    RETURN NULL;
    END fn_return_row;
    select fn_return_row from dual ;Thanks,
    P PrakashThere's no need to use PL/SQL when SQL provides adequate functionality to do it.
    The title of the thread is misleading as turning rows into columns is called pivoting, but the description of the issue wanting to join all the rows together into a single column, is actually called string aggregation.
    As already demonstrated it can be done several ways.
    1. with XML functionality
    2. using the SYS_CONNECT_BY_PATH method
    and if you have 11gR2, there's...
    3. the new LISTAGG analytical function.
    There is also an undocumented WMSYS.WM_CONCAT function, though this isn't as flexible as other methods in that you can't control the order of the aggregated data so easily, and using such undocumented functions in production code is dangerous, as the functionality could change in future versions of Oracle, as well as it's use making your code such that Oracle will not provide support if the code with issue is using it.

  • How to get a value from a column inside a table

    Hi,
    I have got the following problem. I have got a table with some data inside. And a new column, which is not in the dataprovider. Now i search for an opportunity to go through the rows of the table and check the value of this column. I cant do this with the dataprovider or the rowset. My question is now how can i do this? The table object doesnt seem to have a corresponding method.
    Thanks in advance for help
    Acinonyx

    this is some code you can use (based on Winston's and others' tips):
    put this in you page bean:
    private HashSet selectedRows = new HashSet();
    public boolean isSelected() {
    TableRowDataProvider trdp = (TableRowDataProvider)getBean("currentRow");
    if (trdp == null) {
    return false;
    RowKey rowKey = trdp.getTableRow();
    if (this.selectedRows.contains(rowKey.getRowId()))
    return true;
    else
    return false;
    public void setSelected(boolean b) {
    TableRowDataProvider trdp = (TableRowDataProvider)getBean("currentRow");
    RowKey rowKey = trdp.getTableRow();
    if (checkbox1.isChecked()) {
    this.selectedRows.add(rowKey.getRowId());
    Object v = this.t_fotoDataProvider.getValue("fieldName", rowKey);
    } else {
    this.selectedRows.remove(rowKey.getRowId());
    and then bind the "selected" property of the checkbox column to the "selected" property of the page bean.
    Now, eveytime the page is submitted, you can do something useful, for example, in the setSelected() method (the row that starts with Object v = ... get's the value of some field corresponding to the checked row)
    Mauro

  • How to get max value of a column in VO?

    Hi ,
    i need to find the max value of a column named insured value in VO.
    Please help!!

    Hi,
    If this value is cuming from the Query then u can easily go for MAX function. If its a user enterable value then u need to iterate through all the rows for that column to find the max of them.
    Let me know.
    Regards,
    Gyan

  • How to get the value from a function using a select statement

    I have a function(user defined not built in) that returns multiple values(like an array). My question is how do i get those values in a select statement. when i tried to retrieve it,
    select pack.my_members from dual;
    i am getting an error
    ORA-00902: invalid datatype
    I am sure this must be a syntax error with the select statement
    The following is the function that give the array of data
    package pack
    package spec
    Type my_table is table of varchar2(25);
    function the_members
    return pack.my_table;
    pakcage body
    function the_members return pack.my_table
    Remarks: This function returns a table containing names of the
    members
    is
    tm pack.my_table:= pack.my_table('first member','second member','third member','fourth member');
    begin
    return tm;
    end the_members;

    Check this example on Pipelinedfunction

  • How to get CMYK values in a PDF using Acrobat Professional

    Hi,
    Anybody can help me?
    How to get the CMYK values in a PDF file using Acrobat Professional?
    Thanks for looking into this!
    Regards,
    Sudhakar

    Select employee_id, max(address), max(phone), max(email)
    from emp
    group by employee_id;Max

  • How to get string value from database table using Visual Studio 2005?

    Hi,
    Im developing plugin in illustrator cs3 using visual studio 2005. I need to get the values eneterd in database. Im able to get the integer values. But while getting string values it is returning empty value.
    Im using the below code to get the values from database table
    bool Table::Get(char* FieldName,int& FieldValue)
        try
            _variant_t  vtValue;
            vtValue = m_Rec->Fields->GetItem(FieldName)->GetValue();
            FieldValue=vtValue.intVal;
        CATCHERRGET
        sprintf(m_ErrStr,"Success");
        return 1;
    Im using the below code to get the values.
    AIErr getProjects()
        char buf[5000];
        int i;   
        std::string  catName;
        ::CoInitialize(NULL);
        Database db;
        Table tbl;
        errno_t err;
        err = fopen(&file,"c:\\DBResult.txt","w");
        fprintf(file, "Before Connection Established\n");
        //MessageBox(NULL,CnnStr,"Connection String",0);
        if(!db.Open(g->username,g->password,CnnStr))
            db.GetErrorErrStr(ErrStr);
            fprintf(file,"Error: %s\n",ErrStr);
        fprintf(file, "After Connection Established\n");
    if(!db.Execute("select ProjectID,ProjectName from projectsample",tbl))
            db.GetErrorErrStr(ErrStr);
            fprintf(file,"Error: %s\n",ErrStr);
        int ProjectID;
        int UserID;
        int ProjectTitle;
        char ProjectName[ProjectNameSize];
        if(!tbl.ISEOF())
            tbl.MoveFirst();
        ProjectArrCnt=0;
        for(i=0;i<128;i++)
            buf[i]='\0';
            int j=0;
        while(!tbl.ISEOF())
            if(tbl.Get("ProjectID",ProjectID))
                fprintf(file,"Project ID: %d ",ProjectID);
                ProjectInfo[ProjectArrCnt].ProjectID = ProjectID;
                sprintf(buf,"%d",ProjectID);
                //MessageBox(NULL, buf,"f ID", 0);
                j++;
            else
                tbl.GetErrorErrStr(ErrStr);
                fprintf(file,"Error: %s\n",ErrStr);
                break;
            //if(tbl.Get("ProjectTitle",ProjectName))
            if(tbl.Get("ProjectName",ProjectName))
                MessageBox(NULL,"Inside","",0);
                fprintf(file,"ProjectTitle: %s\n",ProjectName);
                //catName=CategoryName;
                ProjectInfo[ProjectArrCnt].ProjectName=ProjectName;
                //sprintf(buf,"%s",ProjectName);
                MessageBox(NULL,(LPCSTR)ProjectName,"",0);
            else
                tbl.GetErrorErrStr(ErrStr);
                fprintf(file,"Error: %s\n",ErrStr);
                break;
            ProjectArrCnt++;
            //MessageBox(NULL, "While", "WIN API Test",0);
            tbl.MoveNext();
        //MessageBox(NULL, ProjectInfo[i].ProjectName.c_str(),"f Name", 0);
        ::CoUninitialize();
        //sprintf(buf,"%s",file);
        //MessageBox(NULL,buf,"File",0);
        fprintf(file, "Connection closed\n");
        fclose(file);
        for(i=0;i<ProjectArrCnt;i++)
            sprintf(buf,"%i",ProjectInfo[i].ProjectID);
            //MessageBox(NULL,buf,"Proj ID",0);
            //MessageBox(NULL,ProjectInfo[i].ProjectName.c_str(),"Project Name",0);
        return 0;
    In the above code im geeting project D which is an integer value. But not able to get the project name.
    Please some one guide me.

    As I said in the other thread, this really isn't the place to ask questions about a database API unrelated to the Illustrator SDK. You're far more like to find people familliar with your problem on a forum that is dedicated to answering those kinds of questions instead.

  • How to get accurate values for select statement using single column

    Hi All,
    Below is my query which runs fine
    Select Distinct Top 4
    FiscalYearId,
    FiscalMonthOfYearId
    From ODS.Common.tODS_Date
    Inner Join
    UTL.Utility.tUTL_ProcessDate
    On tODS_Date.DateShort < tUTL_ProcessDate.ProcessDate
    And tUTL_ProcessDate.DatabaseName = 'ODS'
    Order By
    FiscalYearId Desc,
    FiscalMonthOfYearId Desc
    Below is the generate output
    FiscalYearId FiscalMonthOfYearId
    2014 2
    2014 1
    2013 12
    2013 11
    But i want to use this query in one of my where clause condition as its being used in the where clause it can only return 1 row.So, i tried something like this
    Select Distinct Top 4
    FiscalMonthOfYearId
    From ODS.Common.tODS_Date
    Inner Join
    UTL.Utility.tUTL_ProcessDate
    On tODS_Date.DateShort < tUTL_ProcessDate.ProcessDate
    And tUTL_ProcessDate.DatabaseName = 'ODS'
    Order By
    FiscalMonthOfYearId Desc
    And the result set of this one gives me the output like
    FiscalMonthOfYearId
    12
    11
    10
    9
    Which is not correct,( if you see the result set above). 
    Can someone please help me with any ides on this.

    If you want to use this query in the WHERE clause, then use it with EXISTS option which allows to return more than 1 column. 
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • How to get distinct values from this view

    I had created a view to get to display from 2 tables.But i got duplicate values in this.
    Please give any solution for this view code.
    CREATE OR REPLACE VIEW TRADEQUOTEHISTORY_VIEW
    (BOND_ID, BOND_NAME, COMM_PER_SHARE, QUOTE_DATE_TIME, TYPE,
    STOCK_PRICE, BID_PRICE, ASK_PRICE, ACTUAL_HEDGE, SOURCE_ORDER_ID,
    SOURCE_ORDER_NAME, NOTES, SIDE_ID, BIDNUKED, ASKNUKED,
    REALSTOCK, LAST_UPDATED_DATE)
    AS
    SELECT bi.bond_id, bi.bond_name,
    ( (bs.comm_per_share * bi.cv_cnvs_ratio * bs.hedge)
    / (bi.px_pos_mult_factor)
    nq.quote_date_time, bi.market_sector_des, nq.stock_price,
    nq.bid_price, nq.ask_price, nq.actual_hedge, so.source_order_id,
    so.source_order_name, nq.notes, bs.side_id,
    ( bs.bid_price
    + ( (csv.lastprice - bs.stock_price)
    * bi.cv_cnvs_ratio
    * bs.hedge
    / bi.px_pos_mult_factor
    ( bs.ask_price
    + ( (csv.lastprice - bs.stock_price)
    * bi.cv_cnvs_ratio
    * bs.hedge
    / bi.px_pos_mult_factor
    csv.lastprice,
    bs.last_updated_date
    FROM mtsc_bondinfo bi,
    mtsc_basissheet bs,
    mtsc_newquoteorder nq,
    mtsc_sourceorder so,
    mtsc_stock_v csv
    WHERE bi.bond_id(+) = bs.bond_id
    AND bs.bond_id(+) = nq.bond_id
    AND csv.bondid = bs.bond_id
    AND so.source_order_id(+) = nq.source_order_id
    UNION
    SELECT bi.bond_id, bi.bond_name,
    ( (bs.comm_per_share * bi.cv_cnvs_ratio * bs.hedge)
    / (bi.px_pos_mult_factor)
    nq.quote_date_time, bi.market_sector_des, bs.stock_price,
    bs.bid_price, bs.ask_price, bs.hedge, so.source_order_id,
    so.source_order_name, nq.notes, bs.side_id,
    ( bs.bid_price
    + ( (csv.lastprice - bs.stock_price)
    * bi.cv_cnvs_ratio
    * bs.hedge
    / bi.px_pos_mult_factor
    ( bs.ask_price
    + ( (csv.lastprice - bs.stock_price)
    * bi.cv_cnvs_ratio
    * bs.hedge
    / bi.px_pos_mult_factor
    ),csv.lastprice,
    bs.last_updated_date
    FROM mtsc_bondinfo bi,
    mtsc_basissheet bs,
    mtsc_newquoteorder nq,
    mtsc_sourceorder so,
    mtsc_stock_v csv
    WHERE bi.bond_id(+) = bs.bond_id
    AND bs.bond_id(+) = nq.bond_id
    AND csv.bondid = bs.bond_id
    AND so.source_order_id(+) = nq.source_order_id
    ORDER BY last_updated_date DESC
    result is coming like this
    BOND_ID     BOND_NAME     ((BS.COMM_PER_SHARE*BI.CV_CNVS_RATIO*BS.HEDGE)/(BI.PX_POS_MULT_FACTOR))     QUOTE_DATE_TIME     MARKET_SECTOR_DES     STOCK_PRICE     BID_PRICE     ASK_PRICE     ACTUAL_HEDGE     SOURCE_ORDER_ID     SOURCE_ORDER_NAME     NOTES     SIDE_ID     (BS.BID_PRICE+((CSV.LASTPRICE-BS.STOCK_PRICE)*BI.CV_CNVS_RATIO*BS.HEDGE/BI.PX_POS_MULT_FACTOR))     (BS.ASK_PRICE+((CSV.LASTPRICE-BS.STOCK_PRICE)*BI.CV_CNVS_RATIO*BS.HEDGE/BI.PX_POS_MULT_FACTOR))     LASTPRICE     LAST_UPDATED_DATE
    106     007903AK3 Corp     7925.450625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79901.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     08/01/2007     Corp     9     130     104     25     41     STREET MARKET     AN     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     08/01/2007     Corp     9     135     104     25     41     STREET MARKET     AN     110     79901.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     09/01/2007     Corp     9     130     104     25     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     09/01/2007     Corp     9     135     104     25     41     STREET MARKET     fgdf dfgf     110     79901.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79901.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79901.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     11/01/2007     Corp     9     130     104     25     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     11/01/2007     Corp     9     135     104     25     41     STREET MARKET     HGH HHGHF     110     79901.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     17/07/2007 7:06:20 PM     Corp     9     130     104     25     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     17/07/2007 7:06:20 PM     Corp     9     135     104     25     41     STREET MARKET     New Notes     110     79901.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     7925.450625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79901.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     9     130     104     25     41     STREET MARKET     AN     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     9     130     104     25     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     9     130     104     25     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     9     130     104     25     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     62812767.6093129     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     80066.4     80166.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     62812767.6093129     08/01/2007     Corp     9     300     400     25     41     STREET MARKET     AN     110     80066.4     80166.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     62812767.6093129     09/01/2007     Corp     9     300     400     25     41     STREET MARKET     fgdf dfgf     110     80066.4     80166.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     62812767.6093129     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     80066.4     80166.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     62812767.6093129     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     80066.4     80166.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     62812767.6093129     11/01/2007     Corp     9     300     400     25     41     STREET MARKET     HGH HHGHF     110     80066.4     80166.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     62812767.6093129     17/07/2007 7:06:20 PM     Corp     9     300     400     25     41     STREET MARKET     New Notes     110     80066.4     80166.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     62812767.6093129     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     80066.4     80166.4     905     01/08/2007 12:55:15 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79901.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     80066.4     80066.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     9     130     104     25     41     STREET MARKET     AN     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     9     135     104     25     41     STREET MARKET     AN     110     79901.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     9     300     300     25     41     STREET MARKET     AN     110     80066.4     80066.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     9     130     104     25     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     9     135     104     25     41     STREET MARKET     fgdf dfgf     110     79901.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     9     300     300     25     41     STREET MARKET     fgdf dfgf     110     80066.4     80066.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79901.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     80066.4     80066.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79901.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     80066.4     80066.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     9     130     104     25     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     9     135     104     25     41     STREET MARKET     HGH HHGHF     110     79901.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     9     300     300     25     41     STREET MARKET     HGH HHGHF     110     80066.4     80066.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     9     130     104     25     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     9     135     104     25     41     STREET MARKET     New Notes     110     79901.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     9     300     300     25     41     STREET MARKET     New Notes     110     80066.4     80066.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79901.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     80066.4     80066.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79966.4     79966.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     08/01/2007     Corp     9     130     104     25     41     STREET MARKET     AN     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     08/01/2007     Corp     9     200     200     25     41     STREET MARKET     AN     110     79966.4     79966.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     09/01/2007     Corp     9     130     104     25     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     09/01/2007     Corp     9     200     200     25     41     STREET MARKET     fgdf dfgf     110     79966.4     79966.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79966.4     79966.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79966.4     79966.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     11/01/2007     Corp     9     130     104     25     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     11/01/2007     Corp     9     200     200     25     41     STREET MARKET     HGH HHGHF     110     79966.4     79966.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     17/07/2007 7:06:20 PM     Corp     9     130     104     25     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     17/07/2007 7:06:20 PM     Corp     9     200     200     25     41     STREET MARKET     New Notes     110     79966.4     79966.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     62812767.6093129     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79966.4     79966.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     5591906636.41908     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     80066.4     80166.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     5591906636.41908     08/01/2007     Corp     9     300     400     25     41     STREET MARKET     AN     110     80066.4     80166.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     5591906636.41908     09/01/2007     Corp     9     300     400     25     41     STREET MARKET     fgdf dfgf     110     80066.4     80166.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     5591906636.41908     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     80066.4     80166.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     5591906636.41908     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     80066.4     80166.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     5591906636.41908     11/01/2007     Corp     9     300     400     25     41     STREET MARKET     HGH HHGHF     110     80066.4     80166.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     5591906636.41908     17/07/2007 7:06:20 PM     Corp     9     300     400     25     41     STREET MARKET     New Notes     110     80066.4     80166.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     5591906636.41908     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     80066.4     80166.4     905     01/08/2007 12:55:14 PM
    106     007903AK3 Corp     7925.450625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79896.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79901.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     08/01/2007     Corp     9     130     104     25     41     STREET MARKET     AN     110     79896.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     08/01/2007     Corp     9     135     104     25     41     STREET MARKET     AN     110     79901.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     09/01/2007     Corp     9     130     104     25     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     09/01/2007     Corp     9     135     104     25     41     STREET MARKET     fgdf dfgf     110     79901.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79901.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79901.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     11/01/2007     Corp     9     130     104     25     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     11/01/2007     Corp     9     135     104     25     41     STREET MARKET     HGH HHGHF     110     79901.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     17/07/2007 7:06:20 PM     Corp     9     130     104     25     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     17/07/2007 7:06:20 PM     Corp     9     135     104     25     41     STREET MARKET     New Notes     110     79901.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     7925.450625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79901.4     79870.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     62812767.6093129     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     80066.4     80166.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     62812767.6093129     08/01/2007     Corp     9     300     400     25     41     STREET MARKET     AN     110     80066.4     80166.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     62812767.6093129     09/01/2007     Corp     9     300     400     25     41     STREET MARKET     fgdf dfgf     110     80066.4     80166.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     62812767.6093129     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     80066.4     80166.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     62812767.6093129     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     80066.4     80166.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     62812767.6093129     11/01/2007     Corp     9     300     400     25     41     STREET MARKET     HGH HHGHF     110     80066.4     80166.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     62812767.6093129     17/07/2007 7:06:20 PM     Corp     9     300     400     25     41     STREET MARKET     New Notes     110     80066.4     80166.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     62812767.6093129     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     80066.4     80166.4     905     01/08/2007 12:49:17 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79896.4     79870.4     905     01/08/2007 12:49:04 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     9     130     104     25     41     STREET MARKET     AN     110     79896.4     79870.4     905     01/08/2007 12:49:04 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     9     130     104     25     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     01/08/2007 12:49:04 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     01/08/2007 12:49:04 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     01/08/2007 12:49:04 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     9     130     104     25     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     01/08/2007 12:49:04 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     9     130     104     25     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     01/08/2007 12:49:04 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     01/08/2007 12:49:04 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79966.4     79966.4     905     01/08/2007 12:48:22 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     9     200     200     25     41     STREET MARKET     AN     110     79966.4     79966.4     905     01/08/2007 12:48:22 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     9     200     200     25     41     STREET MARKET     fgdf dfgf     110     79966.4     79966.4     905     01/08/2007 12:48:22 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79966.4     79966.4     905     01/08/2007 12:48:22 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79966.4     79966.4     905     01/08/2007 12:48:22 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     9     200     200     25     41     STREET MARKET     HGH HHGHF     110     79966.4     79966.4     905     01/08/2007 12:48:22 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     9     200     200     25     41     STREET MARKET     New Notes     110     79966.4     79966.4     905     01/08/2007 12:48:22 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79966.4     79966.4     905     01/08/2007 12:48:22 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     80066.4     80166.4     905     01/08/2007 12:02:32 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     9     300     400     25     41     STREET MARKET     AN     110     80066.4     80166.4     905     01/08/2007 12:02:32 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     9     300     400     25     41     STREET MARKET     fgdf dfgf     110     80066.4     80166.4     905     01/08/2007 12:02:32 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     80066.4     80166.4     905     01/08/2007 12:02:32 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     80066.4     80166.4     905     01/08/2007 12:02:32 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     9     300     400     25     41     STREET MARKET     HGH HHGHF     110     80066.4     80166.4     905     01/08/2007 12:02:32 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     9     300     400     25     41     STREET MARKET     New Notes     110     80066.4     80166.4     905     01/08/2007 12:02:32 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     80066.4     80166.4     905     01/08/2007 12:02:32 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     80066.4     80166.4     905     01/08/2007 12:01:05 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     9     300     400     25     41     STREET MARKET     AN     110     80066.4     80166.4     905     01/08/2007 12:01:05 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     9     300     400     25     41     STREET MARKET     fgdf dfgf     110     80066.4     80166.4     905     01/08/2007 12:01:05 PM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     80066.4     80166.4     905     01/08/2007 12:01:05 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     80066.4     80166.4     905     01/08/2007 12:01:05 PM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     9     300     400     25     41     STREET MARKET     HGH HHGHF     110     80066.4     80166.4     905     01/08/2007 12:01:05 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     9     300     400     25     41     STREET MARKET     New Notes     110     80066.4     80166.4     905     01/08/2007 12:01:05 PM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     80066.4     80166.4     905     01/08/2007 12:01:05 PM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     80066.4     80166.4     905     01/08/2007 11:58:23 AM
    106     007903AK3 Corp     705563.241890625     08/01/2007     Corp     9     300     400     25     41     STREET MARKET     AN     110     80066.4     80166.4     905     01/08/2007 11:58:23 AM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     9     300     400     25     41     STREET MARKET     fgdf dfgf     110     80066.4     80166.4     905     01/08/2007 11:58:23 AM
    106     007903AK3 Corp     705563.241890625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     80066.4     80166.4     905     01/08/2007 11:58:23 AM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     80066.4     80166.4     905     01/08/2007 11:58:23 AM
    106     007903AK3 Corp     705563.241890625     11/01/2007     Corp     9     300     400     25     41     STREET MARKET     HGH HHGHF     110     80066.4     80166.4     905     01/08/2007 11:58:23 AM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     9     300     400     25     41     STREET MARKET     New Notes     110     80066.4     80166.4     905     01/08/2007 11:58:23 AM
    106     007903AK3 Corp     705563.241890625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     80066.4     80166.4     905     01/08/2007 11:58:23 AM
    106     007903AK3 Corp     7925.450625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79896.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79901.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     08/01/2007     Corp     9     130     104     25     41     STREET MARKET     AN     110     79896.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     08/01/2007     Corp     9     135     104     25     41     STREET MARKET     AN     110     79901.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     09/01/2007     Corp     9     130     104     25     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     09/01/2007     Corp     9     135     104     25     41     STREET MARKET     fgdf dfgf     110     79901.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79901.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79901.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     11/01/2007     Corp     9     130     104     25     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     11/01/2007     Corp     9     135     104     25     41     STREET MARKET     HGH HHGHF     110     79901.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     17/07/2007 7:06:20 PM     Corp     9     130     104     25     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     17/07/2007 7:06:20 PM     Corp     9     135     104     25     41     STREET MARKET     New Notes     110     79901.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     7925.450625     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79901.4     79870.4     905     31/07/2007 10:55:09 PM
    106     007903AK3 Corp     89.025     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79901.4     79870.4     905     31/07/2007 5:53:25 PM
    106     007903AK3 Corp     89.025     08/01/2007     Corp     9     135     104     25     41     STREET MARKET     AN     110     79901.4     79870.4     905     31/07/2007 5:53:25 PM
    106     007903AK3 Corp     89.025     09/01/2007     Corp     9     135     104     25     41     STREET MARKET     fgdf dfgf     110     79901.4     79870.4     905     31/07/2007 5:53:25 PM
    106     007903AK3 Corp     89.025     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79901.4     79870.4     905     31/07/2007 5:53:25 PM
    106     007903AK3 Corp     89.025     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79901.4     79870.4     905     31/07/2007 5:53:25 PM
    106     007903AK3 Corp     89.025     11/01/2007     Corp     9     135     104     25     41     STREET MARKET     HGH HHGHF     110     79901.4     79870.4     905     31/07/2007 5:53:25 PM
    106     007903AK3 Corp     89.025     17/07/2007 7:06:20 PM     Corp     9     135     104     25     41     STREET MARKET     New Notes     110     79901.4     79870.4     905     31/07/2007 5:53:25 PM
    106     007903AK3 Corp     89.025     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79901.4     79870.4     905     31/07/2007 5:53:25 PM
    106     007903AK3 Corp     89.025     08/01/2007     Corp     6     7     78     78     41     STREET MARKET     AN     110     79896.4     79870.4     905     31/07/2007 1:05:18 AM
    106     007903AK3 Corp     89.025     08/01/2007     Corp     9     130     104     25     41     STREET MARKET     AN     110     79896.4     79870.4     905     31/07/2007 1:05:18 AM
    106     007903AK3 Corp     89.025     09/01/2007     Corp     9     130     104     25     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     31/07/2007 1:05:18 AM
    106     007903AK3 Corp     89.025     09/01/2007     Corp     200     5     7     8     41     STREET MARKET     fgdf dfgf     110     79896.4     79870.4     905     31/07/2007 1:05:18 AM
    106     007903AK3 Corp     89.025     11/01/2007     Corp     4     6     6     8     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     31/07/2007 1:05:18 AM
    106     007903AK3 Corp     89.025     11/01/2007     Corp     9     130     104     25     41     STREET MARKET     HGH HHGHF     110     79896.4     79870.4     905     31/07/2007 1:05:18 AM
    106     007903AK3 Corp     89.025     17/07/2007 7:06:20 PM     Corp     9     130     104     25     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     31/07/2007 1:05:18 AM
    106     007903AK3 Corp     89.025     17/07/2007 7:06:20 PM     Corp     67     78     90     34     41     STREET MARKET     New Notes     110     79896.4     79870.4     905     31/07/2007 1:05:18 AM
    Regards
    Kishore B

    BOND_ID     BOND_NAME     ((BS.COMM_PER_SHARE*BI.CV_CNVS_RATIO*BS.HEDGE)/(BI.PX_POS_MULT_FACTOR))     QUOTE_DATE_TIME     MARKET_SECTOR_DES     STOCK_PRICE     BID_PRICE     ASK_PRICE     ACTUAL_HEDGE     SOURCE_ORDER_ID     SOURCE_ORDER_NAME     NOTES     SIDE_ID     (BS.BID_PRICE+((CSV.LASTPRICE-BS.STOCK_PRICE)*BI.CV_CNVS_RATIO*BS.HEDGE/BI.PX_POS_MULT_FACTOR))     (BS.ASK_PRICE+((CSV.LASTPRICE-BS.STOCK_PRICE)*BI.CV_CNVS_RATIO*BS.HEDGE/BI.PX_POS_MULT_FACTOR))     LASTPRICE     LAST_UPDATED_DATE
    109     018490AL6 Corp     18871.341129          Corp     27     139     166     87                    110     120752.494     120779.494     905     01/08/2007 12:55:26 PM
    109     018490AL6 Corp     18871.341129          Corp          null     null     null     null               110     120752.494     120779.494     905     01/08/2007 12:55:26 PM
    I am not inserting values into newquoteorder,but i got values from that table ask,bid,stock values, it shows that values as null

  • How to get distinct values in a comma separated list of email addresses?

    Hi Friends,
    I have a cursor which fetches email address along with some other columns. More than one record can have same email address.
    Ex
    CURSOR C1 IS
    SELECT 1 Buyer,'XX123' PO, '[email protected]' Buyer_email from dual
    UNION ALL
    SELECT 2 Buyer,'XX223' PO, '[email protected]' Buyer_email from dual
    UNION ALL
    SELECT 1 Buyer,'XX124' PO, '[email protected]' Buyer_email from dual
    UNION ALL
    SELECT 2 Buyer,'XX224' PO, '[email protected]' Buyer_email from dualNow, i open the cursor write the contents into a file and also form a comma separated list of buyer emails as follows
    for cur_rec in c1
    LOOP
    --write contents into a file
    l_buyer_email_list := l_buyer_email_list||cur_rec.buyer_email||',';
    END LOOP
    l_buyer_email_list := RTRIM(l_buyer_email_list,',');
    The buyer email list will be like: '[email protected],[email protected],[email protected],[email protected]'
    Inorder to avoid duplicate email address in the list, i can store each of this value is a table type variable and compare in each iteration whether the email already exist in the list or not.
    Is there any other simpler way to achieve this?
    Regards,
    Sreekanth Munagala.

    If you are using oracle version 11, you can use listagg function
    with c as
    (SELECT 1 Buyer,'XX123' PO, '[email protected]' Buyer_email from dual
    UNION ALL
    SELECT 2 Buyer,'XX223' PO, '[email protected]' Buyer_email from dual
    UNION ALL
    SELECT 1 Buyer,'XX124' PO, '[email protected]' Buyer_email from dual
    UNION ALL
    SELECT 2 Buyer,'XX224' PO, '[email protected]' Buyer_email from dual
    select buyer, listagg(buyer_email,',') within group (order by  buyer) 
    from c
    group by buyer
    order by buyerFor prior versions
    {cod}
    with c as
    (SELECT 1 Buyer,'XX123' PO, '[email protected]' Buyer_email from dual
    UNION ALL
    SELECT 2 Buyer,'XX223' PO, '[email protected]' Buyer_email from dual
    UNION ALL
    SELECT 1 Buyer,'XX124' PO, '[email protected]' Buyer_email from dual
    UNION ALL
    SELECT 2 Buyer,'XX224' PO, '[email protected]' Buyer_email from dual
    select buyer, rtrim(xmlagg(xmlelement(e,buyer_email||',').extract('//text()')),',')
    from c
    group by buyer
    order by buyer

  • How to get Maximum value in one Column

    Here example
    I have table with one column named as "Title" i want the result as which data length in "Title" is more than 2.
    Title
    AAA
    A
    AAAAA
    AA
    i want result as :
    AAAAA
    AAA
    Thankx in Advance

    select title from <tab> where length(title) > 2;
    You could also use dump(title) to get the internal representation and length.
    Message was edited by:
    Stellios

Maybe you are looking for