Nested Filter

I am trying to create nested filter in a webi report.
I am trying to get
AND         Or_num equal to 123
     Or_name equal to "yy"
OR
                 Or_state equal 'N"
But I am getting
                Or_num equal to 123
AND     Or_name equal to "yy"
                Or_state equal 'N"
Please let me know how to achive the first one.
Thanks,
Ven

Ven,
AND Or_num equal to 123
Or_name equal to "yy"
OR
Or_state equal 'N"
Your statement begins with an operand ("and"), but it is missing an operand between the first and second line??
But I am getting
Or_num equal to 123
AND Or_name equal to "yy"
Or_state equal 'N"
Missing an operand between the second and third line.
If you're familiar with building your own filter in WebI under Edit Query mode, it's a matter of hand and eye coordination to nudge one clause into another, which creats the indentation(s) and exposes the capability to flip the operand from an "AND" (the default) to an "OR" via double-clicking.  This is hard to explain in text but very easy to demonstrate, hopefully you'll get the hang of it or find a knowledgeable WebI person to demonstrate it to you face-to-face.
Thanks,
John

Similar Messages

  • Metadata Filter with UDA

    I'm trying to create a security filter in Essbase using the metadata function and UDAs. What I'm trying to accomplish is to allow a user to view the descendants of an organization they have access to. For example, user x has should have visibility to Division A and the descendants of Division A as well as Member B only and Member C only. The UDA is assigned to Division A and Members B & C.
    What would the correct syntax be for a nested filter like this? This is how I had it and it returned a syntax error:
    @ides(@uda(Organization,"user_x")), "USD"
    Thanks for your help!

    I stuck the UDA "East" on the member "East" in Sample.Basic.
    I then created this Metaread filter: @IDESCENDANTS(@UDA (Market, "East"))
    It verified correctly.
    I then assigned the UDA "East" to "Texas" (yes, that is garbage from a geographic perspective).
    It verified correctly.
    I also tried using just @IDES instead of the full function name. That too worked.
    You might want to try the above on your system and see if it works. If it doesn't, perhaps there is a version issue.
    Regards,
    Cameron Lackpour

  • Question about limiting matches and the applicability of LimitFilter?

    We have a use-case were the GUI allows the users enter a string that we lookup against an index in the cache using a LikeFilter and by appending "%" to the string entered by the user (the index actually contains the first N characters converted to lowercase and the string entered by the user is converted to lower case and truncated to N positions before the lookup, we have additional logic to handle matching the truncated part of the search string etc but we can ignore this extra complexity for now).
    The problem is that if the user enter few (or in the worst case zero) characters the resulting search takes a very long time (since a large number of keys are collected and sent to the client) and the client is not interested (or able) to receive all the results at once.
    The LimitFilter seems useful for limiting the number of keys actually sent to the client but from what I read in other forum threads it seems like the nested filter is re-executed and the full result built on the server each time the client request a new page of say 100 keys. This sounds like it still would be time and memory consuming on the server if the underlying filter produce a HUGE number of results each time it is invoked!?
    Have I misunderstood the way the Limitfilter operates or is there some other solution you can recommend to the problem?
    Best Regards
    Magnus

    Thanks for the info!
    I do however have two specific cases in mind and would like to know more about what overhead calls to "nextPage" would result in:
    1. The LimitFilter wraps a AndFilter. The N first characters of a string atribute is indexed (ordered index) and LikeFilter is used with a "xxx%" substring as key together with a InFilter on a indexed integer attribute using a small (typically max 4 element) set of integers. The value range for the integer attribute is faily small (no more than like 10-15 values exists today) so this filter will not limit the search that much (even not sure an index makes much sense but that is how we do it today - how would the amount of re-calculations at nextPage be affected if I drop this index?).
    2. A single EqualsFilter on an indexed integer attribute (part of the composite key) using a KeyExtractor as argument.
    Ie if I for each of the cases wrap the filter in a Limitfilter (with a page size of N) how much calculations are performed the first time how much of the calculations would be repeated by Coherence each time i call nextPage?
    Best Regards
    Magnus

  • Adding a disclaimer

    Good Morning,
    We are getting ready to move our C370 into production and one of the last items that we need to look at is the Disclaimer.
    We have figured out how to add our Disclaimer to every e-mail going out, but here's what we would like to do.  Currently with PMDF, our current mail gateway, we have the ability to check to see if a disclaimer has already been added to an outbound e-mail.  If it exists, we do not add it again.  I don't see where I can do that with the C370.
    Is this something that can be done and if so, how?
    Thanks in advance,
    Doug

    Viquar,
    I used an IP from our Relaylist.  I have saved the file in a .pdf so that you can "blow it up".
    Doug
    Screen shot:
    Logged in as: admin on greeneye.emcins.com  
    Options
    Account
    Change Password
    Log Out
    Help and Support
    Help
    Online Help
    Support Portal
    New in this Release
    Technical Support
    Open a Support Case
    Remote Access
    Packet Capture
    Monitor
    Reports
    Overview
    Incoming Mail
    Outgoing Destinations
    Outgoing Senders
    Delivery Status
    Internal Users
    DLP Incidents
    Content Filters
    Virus Outbreaks
    Virus Types
    TLS Connections
    System Capacity
    System Status
    Scheduled Reports
    Archived Reports
    Quarantines
    Message Tracking
    Mail Policies
    Email Security Manager
    Incoming Mail Policies
    Incoming Content Filters
    Outgoing Mail Policies
    Outgoing Content Filters
    Host Access Table (HAT)
    HAT Overview
    Mail Flow Policies
    Exception Table
    Recipient Access Table (RAT)
    Destination Controls
    Bounce Verification
    Data Loss Prevention (DLP)
    DLP Policy Manager
    Domain Keys
    Domain Profiles
    Signing Keys
    Text Resources
    Dictionaries
    Security Services
    Anti-Spam
    IronPort Anti-Spam
    Anti-Virus
    Sophos
    McAfee
    Data Loss Prevention
    RSA Email DLP
    IronPort Email Encryption
    IronPort Image Analysis
    Virus Outbreak Filters
    SenderBase
    Monitoring Services
    Reporting
    Message Tracking
    External Spam Quarantine
    Service Updates
    Network
    System Administration
    Trace
    Alerts
    LDAP
    Log Subscriptions
    Return Addresses
    Network Access
    Users
    Network Access
    System Time
    Time Zone
    Time Settings
    Configuration File
    Feature Keys
    Feature Key Settings
    Feature Keys
    Shutdown/Suspend
    Upgrades
    System Upgrade
    System Setup
    System Setup Wizard
    Next Steps
    Trace
    Trace Results
    Host Access Table Processing           (Listener: OutboundMail)
    Fully Qualified Domain Name:
    Unknown Host
    Matched On:
    172.22.0.3
    Sender Group:
    RELAYLIST
    Named Policy:
    RELAYED
    Connection Behavior:
    RELAY
    SenderBase Network Owner ID:
    N/A
    SenderBase Reputation Score:
    N/A
    Policy Parameters:
    Max. Messages Per Connection:
    10,000
    Max. Recipients Per Message:
    100,000
    Max. Message Size:
    20M
    Max. Concurrent Connection From a Single IP: 
    600
    Use TLS:
    Preferred
    Accept Untagged bounces:
    Yes
    Max. Recipients Per Hour:
    Unlimited
    Use SenderBase:
    No
    Use Spam Detection:
    No
    Use Virus Detection:
    Yes
    Envelope Sender Processing
    Envelope Sender: [email protected]
    Default Domain Processing:
    No Change
    Envelope Recipient Processing
    Envelope Recipient: [email protected]
    LDAP Accept Lookup:
    Result:             not performed
    Default Domain Processing:
    No Change
    Domain Map Processing:
    No Change
    Alias Expansion:
    No Change
    Message Processing
    Assigned Virtual Gateway:
    None
    Assigned Bounce Profile:
    None
    Domain Masquerading
    No changes
    Filter Processing
    Encrypt_Messages_with_subject_string
    Rule: recv-listener == "OutboundMail":                 True
    Rule: subject == "(?i)^\\$C\\$":                 False
    Rule: AND:                 False
    no_duplicate_disclaimer
    Rule: sendergroup == "RELAYLIST":                 True
    Evaluating Nested Filter:
    Rule: body-contains("EMC071856", 1):                 True
    Rule: NOT:                 False
    Mail Policy Processing: Outbound (matched on policy DEFAULT)
    Message going to:
    [email protected]
    End-User Safelist/Blocklist Processing
    Result:
    Not Evaluated
    Anti-Spam Processing
    Evaluation:
    Not Evaluated
    Anti-Virus Processing
    Evaluation:
    No Viruses Detected             
    Elapsed Time: 0.003 sec
    Actions Taken:
    Delivered
    Virus Outbreak Filters Processing
    Evaluation:
    Not Evaluated
    Data Loss Prevention Processing
    Result:
    Not Evaluated
    Disclaimer(s) Added
    Above Message:
    No changes
    Below Message:
    EMC_Disclaimer
    DomainKeys Signing
    Result of DomainKeys processing:
    DomainKeys signing is not enabled in this listener's HAT
    DKIM Signing
    Result of DKIM processing:
    DomainKeys signing is not enabled in this listener's HAT
    DKIM Verification
    Result of DKIM Verification processing:
    DKIM verification not enabled in this listener's HAT
    SPF Verification
    Result of SPF Verification processing:
    SPF verification not enabled in this listener's HAT
    Message Delivery (matched on policy DEFAULT)
    Final Envelope Sender:
    [email protected]
    Final Recipients:
    [email protected]
    Final Message:
    Message-Id: <0383be$@OutboundMail>
    Date: 08 Feb 2011 08:21:18 -0600
    Received: from unknown ([172.22.0.3])
      by mail-ir-int.emcins.com with TEST; 08 Feb 2011 08:21:18 -0600
    Subject: Test of Disclaimer if Disclaimer exist
    Content-Transfer-Encoding: 7bit
    Content-Type: text/plain; charset="us-ascii"
    Test to see if disclaimer doesn't get added.
    Doug
    EMC071856
    NOTICE:  This message (including any attachments) is intended for a specific
    individual and may contain information that is either confidential or legally
    protected.  If you believe that it has been sent to you in error, please reply
    to the sender that you have received the message in error, then delete it.
    If you are not the intended recipient, you are hereby notified that any
    retention, dissemination, distribution, or copying of this communication is
    strictly prohibited.  Thank you.   EMC071856
    Copyright © 2003-2010 Cisco Systems, Inc. All rights reserved.

  • VPN with more than one filter / nested ACL

    Dear All,
    Is there a way to assign more than one ACL to a VPN profile or implement a nested ACL structure?
    I am trying to avoid modifing a large list of ACLs to insert the same ACE in each ACL bound to different VPN profiles.

    Hi,
    I know only the few basics ways to control the VPN users traffic they basically are
    Changing the global "sysopt" setting and controlling all user traffic on the external interface ACL
    Use separate VPN Filter ACLs
    If using subinterfaces for local interfaces then tie the VPN connection to a specific Vlan which would allow connectivity only towards that Vlan subinterface for those VPN users.
    In some cases we might use a separate device to do the access control.
    But I guess if the requirement is to have a specific ACL for each VPN user group then the original suggestion is not an option for you.
    I was just thinking that using the same ACL would make it easier to generate the new configuration addiotion. Atleast in the sense that the ACL name for each rule would be the same. If you didnt make too broad ACL rules it would not really allow any connectivity between the different networks involved though that would also depend on the NAT configurations, not just the ACL.
    - Jouni

  • Using Non-destructive filter with Nested XML data

    Hi,
    How do you use Non-destructive filter with Nested XML data?
    I am using the non-destructive filter sample with my own xml which is setup to search for the <smc></smcs> in my xml below. But when i test it it only searches the last row of the "smc". How can i make it work so it can search for repeating nodes? or does it have something to with how my xml is setup?
        <ja>
            <url>www.sample.com</url>
            <jrole>Jobrole goes here</jrole>
            <prole>Process role goes here...</prole>
            <role>description...</role>
            <prole>Process role goes here...</prole>
            <role>description....</role>
            <prole>Process role goes here...</prole>
            <role>description...</role>
            <sjc>6K8C</sjc>
            <sjc>6B1B</sjc>
            <sjc>6B1F</sjc>
            <sjc>6B1D</sjc>
            <smc>6C9</smc>
            <smc>675</smc>
            <smc>62R</smc>
            <smc>62P</smc>
            <smc>602</smc>
            <smc>622</smc>
            <smc>642</smc>
            <smc>65F</smc>
            <smc>65J</smc>
            <smc>65L</smc>
            <smc>623</smc>
            <smc>625</smc>
            <smc>624</smc>
            <smc>622</smc>
            <audience>Target audience goes here....</audience>
        </ja>
    here is the javascript that runs it.
    function FilterData()
        var tf = document.getElementById("filterTF");
        if (!tf.value)
            // If the text field is empty, remove any filter
            // that is set on the data set.
            ds1.filter(null);
            return;
        // Set a filter on the data set that matches any row
        // that begins with the string in the text field.
        var regExpStr = tf.value;
    if (!document.getElementById("containsCB").checked)
            regExpStr = "^" + regExpStr;
        var regExp = new RegExp(regExpStr, "i");
        var filterFunc = function(ds, row, rowNumber)
            var str = row["smc"];
            if (str && str.search(regExp) != -1)
            return row;
            return null;
        ds1.filter(filterFunc);
    function StartFilterTimer()
        if (StartFilterTimer.timerID)
            clearTimeout(StartFilterTimer.timerID);
        StartFilterTimer.timerID = setTimeout(function() { StartFilterTimer.timerID = null; FilterData(); }, 100);
    I really need help on this, or are there any other suggestions or samples that might work?
    thank you!

    I apologize, im using Spry XML Data Set. i guess the best way to describe what im trying to do is, i want to use the Non-desctructive filter sample with the Spry Nested XML Data sample. So with my sample xml on my first post and with the same code non-destructive filter is using, im having trouble trying to search repeating nodes, for some reason it only searches the last node of the repeating nodes. Does that make sense? let me know.
    thank you Arnout!

  • Nested XML filter / freezing

    Hi Spry,
    I'm currently working on a nested DataSet filter, but it
    freezes up the browser and keeps eating memory.
    I cannot give / grant any1 access to our test servers,
    because they run on a secure router. So i can only provide the
    filter and the current on line page.
    The filter function:
    function filter_rooms(){
    var els =
    document.forms['searchpannel'].getElementsByTagName('input');
    var filter = '';
    for (var j=0; j < els.length; j++){
    var input = els[j];
    if (input.type == 'checkbox' &&
    input.id.match(/^p[0-9]$/) && input.checked){
    filter += input.id.replace(/^p/, '');
    if (typeof myRoom == 'function')dsRooms.removeFilter(myRoom,
    true);
    if (filter !== ''){
    filter = new RegExp('^['+filter + ']');
    document.getElementById('allrooms').checked = false;
    myRoom = function(dataSet, row, rowNumber) {
    return filter.exec(row["numpersons"])? row : null;
    }else{
    document.getElementById('allrooms').checked = true;
    myFilter = false;
    }if (typeof myRoom == 'function')dsRooms.addFilter(myRoom,
    true);
    this is just the basic of the filter, when this is working i
    still have to figure out how im gonna check if a hotel has any
    rooms left after filtering, if none i have to remove the hotel for
    the result page. (but this is something to do later :P )
    Page of problems + instructions of getting there:
    Url:
    http://www.hotels.nl/indexen.html
    Press the button: Find best deals!
    (because u need the correct param's to view the page).
    I cant give the link to the xml feed, but u all know to view
    it in firebug so i highly doubt this will be a problem
    Here u will see the current search environment. The filter is
    activated in the same way as the Star Rating filter. (same amount
    of check boxes, and values send etc).
    I wonder why it crashes. Is it because i linked dsRooms to as
    nested xml set to the paging? Or am i just doing something wrong
    here.
    Note: I am aware that the current core file that we are using
    still contains the old filter error (the if statement) But on our
    test server we are working with the fixed version, so this is not
    the issue.
    The core file is a bunch of spry scripts packed together so
    we have less HTTP requests.
    If u require information on what is packed in it, feel free
    to ask. But i highly doubt its needed.
    Nutshell version: help :)
    V1

    Hello Kin, your solution worked okay, but i seem to found a
    little problem using nested filters.
    When u apply a filter to a nested xml, it will be deleted
    when u apply or postload the parent dataset.
    U could ofcourse use a observ for that, for some that would
    be a solution, but for me, not really. <-- i tryed to use that.
    But in my case i have a problem with that, becouse when there
    are no rooms left in the Nested list. i have to filter out the
    hotel. So i call a filter on the parent hotel, wich will delete the
    rooms filter, wich will be called again on postload, and create a
    loop.
    I tryed using Spry:if statement, it does hide the hotel, but
    it doesnt update the paged view ( it only "hides" the rows, but
    doesnt update the amount of items per page, so u could have 10
    results on a page instead of the set 30).
    I dont know if spry:if would work like that. Or if its a
    small error. If it all works like it supposed to work, than maby i
    should try to use flattend nested xml using xpath(subpath).
    If u got any idea's or suggestions, feel free to post
    ;)

  • Can't adjust widescreen filter in nested sequence

    I created a new sequence, then dragged a previously cut sequence into the Timeline of the new sequence to create a nested sequence. I then dragged the Widescreen filter onto Video Track 1. Although the filter was applied (it shows up in the Canvas), the parameters are not showing up in the Viewer filter tab. There is no way to adjust the properties of the filter.
    I'm sure there is some simple explanation but I can't figure it out.

    right click on the nested clip (sequence) in the timeline and choose "Open in Viewer"

  • [svn:bz-4.0.0_fixes] 20615: fixing the regression failure caused by the nest collection level fix, an actionscript type without remote alias will resolved as " className", we should filter out the special case

    Revision: 20615
    Revision: 20615
    Author:   [email protected]
    Date:     2011-03-04 12:11:09 -0800 (Fri, 04 Mar 2011)
    Log Message:
    fixing the regression failure caused by the nest collection level fix, an actionscript type without remote alias will resolved as ">className", we should filter out the special case
    Modified Paths:
        blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/io/amf/AmfIO.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Is it possible to filter the nested table result set of table column

    Hi
    Create or replace type address_record
    as object
    ( address_no number,
    address_name varchar2,
    address_startDate date,
    address_expiryDate date
    create or replace type address_rec_tab
    as table of address_record;
    Create table employee
    (emp_no number,
    emp_name varchar2,
    adresses address_rec_tab
    1st approach
    ==========
    <pre>
    select
    emp.emp_no,
    emp.emp_name,
    emp.addresses
    from employee emp,
    table(*emp.addresses*) add
    where add.address_expiryDate >=sysdate
    </pre>
    In the above example my SQL query address collection object is not returning filtered or current address list.
    I suppose this is due to fact taht my where clause is not attached to the nested table.
    Through my reading I gather that I can only use the following query to filter the address collection.
    2nd approach
    ==========
    <pre>
    select
    emp.emp_no,
    emp.emp_name
    cursor(select address_no,
    address_name,
    address_startDate,
    address_expiryDate
    from employee emp,
    table (*emp.addresses*) add
    where add.address_expiry_date >=sysdate)
    from employee emp,
    table (*emp.addresses*) add
    where add.address_expiry_date >=sysdate) -- probably this redundent
    </pre>
    But this approch forces me to rebuild addresses collection object.
    I was wondering anybody can suggest me a way so that 1st approach works? I do not have to rebuild collection object in this way.
    Thanks for your help in advance
    Regards
    Charan

    Create statements have been slightly modified;
    Create or replace type address_record as object
    ( address_no          number,
      address_name        varchar2(20),
      address_startDate   date,
      address_expiryDate  date
    create or replace type address_rec_tab as table of address_record;
    Create table employee
    (emp_no number,
    emp_name varchar2(20),
    add_list address_rec_tab
    nested table add_list store as a_list
    insert into employee values (1, 'KMCHARAN', address_rec_tab ( address_record(1, 'NORTH POLE', trunc(sysdate-1), trunc(sysdate+10) ) ,
                                                                  address_record(1, 'SOUTH_POLE', trunc(sysdate-1), trunc(sysdate+10) )
    insert into employee values (2, 'ME', address_rec_tab ( address_record(2, 'EAST', trunc(sysdate-2), trunc(sysdate+12) ) ,
                                                            address_record(2, 'WEST', trunc(sysdate-2), trunc(sysdate+12) )
    SQL> l
      1  select *
      2  from employee
      3      ,table(add_list) a
      4* where a.Address_StartDate = trunc(sysdate-1)
    SQL> /
        EMP_NO EMP_NAME
    ADD_LIST(ADDRESS_NO, ADDRESS_NAME, ADDRESS_STARTDATE, ADDRESS_EXPIRYDATE)
    ADDRESS_NO ADDRESS_NAME         ADDRESS_S ADDRESS_E
             1 KMCHARAN
    ADDRESS_REC_TAB(ADDRESS_RECORD(1, 'NORTH POLE', '08-APR-10', '19-APR-10'), ADDRESS_RECORD(1, 'SOUTH_
             1 NORTH POLE           08-APR-10 19-APR-10
             1 KMCHARAN
    ADDRESS_REC_TAB(ADDRESS_RECORD(1, 'NORTH POLE', '08-APR-10', '19-APR-10'), ADDRESS_RECORD(1, 'SOUTH_
             1 SOUTH_POLE           08-APR-10 19-APR-10

  • Coherence Filter for Nested Object

    I have a trade cache storing Trade Object. It has nested Facility and allocations details as part of the same object. What are the diffrent ways by which I can run the Coherence filter based on the Properties of TradeFacility and Allocation Object inside list.
    Trade{
    private String ID = null;
    private List<TradeFacility> tradeFacilities = new ArrayList<GLBTradeFacility>();
    TradeFacility{
    private String facilityID = null;
    private double amount = 0;
    private double price = 0;
    private String currencyCode = null;
    private List<TradeFacilityAllocation> facilityAllocations = new ArrayList<TradeFacilityAllocation>();
    TradeFacilityAllocation {
    private String riskBookCode = null;
    private String portfolioCode = null;
    private String expenseCode = null;
    private double amount;
    Edited by: 875813 on May 10, 2012 2:01 PM

    Hi,
    Presumably you want to find Trades that have a TradeFacility with a specific value for one of its attributes or Trades that have a TradeFacility that have a TradeFacilityAllocation with a specific value for its attributes.
    Which version of Coherence are you using and are you using POF serialization?
    Out of the box Coherence can work fine with fields of classes that are Collections of pretty simple classes or primitive equivalent Objects but what you are asking will require some custom code.
    You will need to write a custom ValueExtractor that will extract a Collection of the fields you are interested in. If you are using POF this can be done pretty generically; something similar is described here quite some time ago POF Extractor and Collections (review my code) If you are not using POF or you want something more simple then you can just write a ValueExtractor for each field you want to extract.
    The solution to choose really depends on how efficient you want it to be. If the cache you are querying is large then custom non-POF extractors are likely to generate a lot of garbage and CPU load unless you index them. Again though if they are large and the Collections withing your classes are also large you could end up with quite big indexes. You need to weigh up the pros and cons of the different approaches.
    JK

  • Filter using nested keyword under certain parent

    I'm new to LR. Using LR5.
    How do you filter photos by using a keyword that is under a certain parent?
    An example of some keyword structure is:
    Birthday > Jenny (Photos from Jenny's Birthday)
    People > Jenny (Photos that have Jenny in them)
    I want to show only photos that have Jenny in them. But I cant search "People > Jenny" as it doesn't produce any hits.
    If I search just "Jenny" it brings up Birthday photos without Jenny as well other photos with Jenny.
    If I search "People, Jenny", it will bring up photos of Jenny's Birthday with people, not necessarily Jenny.
    It seems like such a simple task yet I'm not having any luck!
    Thanks!

    Go to Keyword List Panel
    Point at the keyword Jenny (under People) and then click on the arrow that appears to the far right of the keyword
    This is a way to search for photos that have any specific keyword

  • Template is nested inside itself (directly or indirectly)

    Hello helpful folks of the Forum.  
    I had a template (test.dwt) based on which 60 of my pages are built and I dont know what happened now that whenever I try to update, all the editable contents of the 60 pages gets deleted.  I was getting an error "template is nested inside itself (directly or indirectly)
    Can someone please take a look at the template and let me know what is wrong and how I can fix it.   If I create a similar tempalte and name it test.dwt, will it work ?    Thanks for your help.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Welcome to Sringeri Vidya Bharati Foundation (Canada)</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
    <meta name="SVBF" content="SVBF, Sringeri Temple, Sringeri Vidya Bharati Foundation, Sharadamba Temple, Ganesha, Hanuman, Hanuman Chalisa, Sathyanarayana Pooja, Shasti Bhajans, Brydon Drive, Sringeri, " />
    <title></title>
    <style type="text/css">
    <!--
    .style28 {
              font-size: 36px;
              font-weight: bold;
    .style49 {
              font-weight: normal;
              font-family: Cambria;
              font-size: 14px;
    -->
    </style>
    <style type="text/css">
    <!--
    p.MsoNormal {
    margin-top:0cm;
    margin-right:0cm;
    margin-bottom:10.0pt;
    margin-left:0cm;
    line-height:115%;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    -->
    </style>
    <script language="javascript" type="text/javascript">
    <!--
         Author: Eric King
         Url: http://redrival.com/eak/index.shtml
         This script is free to use as long as this info is left in
         Featured on Dynamic Drive script library (http://www.dynamicdrive.com)
    var win=null;
    function NewWindow(mypage,myname,w,h,scroll,pos){
    if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):1 00;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
    if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.h eight)?(screen.height-h)/2:100;}
    else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
    settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+ scroll+',location=yes,directories=no,status=yes,menubar=no,toolbar=no,resizable=yes';
    win=window.open(mypage,myname,settings);}
    // -->
    </script>
    <script type="text/javascript" src="http://svbfcanada.com/SVBF/jsmenu/stmenu.js"></script>
    <style type="text/css">
    <!--
    .style1 {
              color: #FFFFFF;
              font-size: 12px;
              font-family: Cambria;
              font-weight: bold;
    .style2 {
              color: #FFFFFF;
              font-size: 14px;
              font-family: Cambria;
              font-weight: bold;
    .style3 {color: #CCCCCC}
    body {
              background-color: #FFFFCC;
    .style6 {
              font-size: 12px;
              font-family: Verdana, Arial, Helvetica, sans-serif;
    .border1 {
              border: 1px solid #000000;
    .style11 {color: #000000}
    .style12 {color: #FFFFFF}
    .style13 {font-weight: bold}
    .style14 {font-size: 14px}
    .BG1 {
              background-image: url(http://www.svbfcanada.com/SVBF/images/BG1.jpg);
              background-repeat: no-repeat;
    .style15 {font-size: 12px}
    .style17 {
              font-size: 16px;
              font-weight: bold;
              font-family: Cambria;
    .style19 {font-size: 16px}
    .style21 {font-weight: bold}
    -->
    </style>
    </script>
    <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <script language="JavaScript1.1">
    <!--
    //Pixelating Image slideshow
    //Copyright Dynamic Drive 2001
    //Visit http://www.dynamicdrive.com for this script
    //specify interval between slide (in mili seconds)
    var slidespeed=3000
    //specify images
    var slideimages=new Array("http://www.svbfcanada.com/SVBF/images/Navara2012.jpg","http://www.svbfcanada.com/SVBF/images/diwalidance.JPG","http://www.svbfcanada.com/SVBF/images/sivarathri.jpg","http://www.svbfcanada.com/SVBF/images/navarathri2011.JPG", "http://www.svbfcanada.com/SVBF/images/AbdulKalam.JPG","http://www.svbfcanada.com/SVBF/images/narasimhajayanti.JPG")
    //specify corresponding links
    var slidelinks=new Array("http://www.svbfcanada.com/SVBF/photogallery.html")
    var imageholder=new Array()
    var ie55=window.createPopup
    for (i=0;i<slideimages.length;i++){
    imageholder[i]=new Image()
    imageholder[i].src=slideimages[i]
    function gotoshow(){
    window.location=slidelinks[whichlink]
    //-->
    </script>
    <style type="text/css">
    .menutitle{
              cursor:pointer;
              margin-bottom: 5px;
              background-color:#ECECFF;
              color:#000000;
              width:306px;
              padding:2px;
              text-align:center;
              font-weight:bold;
              /*/*/border:1px solid #000000;/* */
    .submenu{
    margin-bottom: 0.5em;
    .style22 {font-weight: bold}
    .style23 {font-family: Cambria}
    .style28 {
              font-size: 18px;
              font-weight: bold;
              font-family: Cambria;
    </style>
    <script type="text/javascript">
    * Switch Menu script- by Martial B of http://getElementById.com/
    * Modified by Dynamic Drive for format & NS4/IE4 compatibility
    * Visit http://www.dynamicdrive.com/ for full source code
    var persistmenu="yes" //"yes" or "no". Make sure each SPAN content contains an incrementing ID starting at 1 (id="sub1", id="sub2", etc)
    var persisttype="sitewide" //enter "sitewide" for menu to persist across site, "local" for this page only
    if (document.getElementById){ //DynamicDrive.com change
    document.write('<style type="text/css">\n')
    document.write('.submenu{display: none;}\n')
    document.write('</style>\n')
    function SwitchMenu(obj){
              if(document.getElementById){
              var el = document.getElementById(obj);
              var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
                        if(el.style.display != "block"){ //DynamicDrive.com change
                                  for (var i=0; i<ar.length; i++){
                                            if (ar[i].className=="submenu") //DynamicDrive.com change
                                            ar[i].style.display = "none";
                                  el.style.display = "block";
                        }else{
                                  el.style.display = "none";
    function get_cookie(Name) {
    var search = Name + "="
    var returnvalue = "";
    if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search)
    if (offset != -1) {
    offset += search.length
    end = document.cookie.indexOf(";", offset);
    if (end == -1) end = document.cookie.length;
    returnvalue=unescape(document.cookie.substring(offset, end))
    return returnvalue;
    function onloadfunction(){
    if (persistmenu=="yes"){
    var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
    var cookievalue=get_cookie(cookiename)
    if (cookievalue!="")
    document.getElementById(cookievalue).style.display="block"
    function savemenustate(){
    var inc=1, blockid=""
    while (document.getElementById("sub"+inc)){
    if (document.getElementById("sub"+inc).style.display=="block"){
    blockid="sub"+inc
    break
    inc++
    var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname
    var cookievalue=(persisttype=="sitewide")? blockid+";path=/" : blockid
    document.cookie=cookiename+"="+cookievalue
    if (window.addEventListener)
    window.addEventListener("load", onloadfunction, false)
    else if (window.attachEvent)
    window.attachEvent("onload", onloadfunction)
    else if (document.getElementById)
    window.onload=onloadfunction
    if (persistmenu=="yes" && document.getElementById)
    window.onunload=savemenustate
    </script>
    </head>
    <body>
    <center>
    <script language=JavaScript>
    <!--
    //Disable right click script III- By Renigade ([email protected])
    //For full source code, visit http://www.dynamicdrive.com
    var message="";
    function clickIE() {if (document.all) {(message);return false;}}
    function clickNS(e) {if
    (document.layers||(document.getElementById&&!document.all)) {
    if (e.which==2||e.which==3) {(message);return false;}}}
    if (document.layers)
    {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
    else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
    document.oncontextmenu=new Function("return false")
    // -->
    </script>
    <table width="1092" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
      <!--DWLayoutTable-->
      <tr>
        <td height="57" colspan="8" valign="top" bgcolor="D69306"><p align="right"><script language="JavaScript">
    var now = new Date();
    var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
    var months = new Array('January','February','March','April','May','June','July','August','September','Octo ber','November','December');
    var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
    function fourdigits(number)          {
              return (number < 1000) ? number + 1900 : number;
    today =  days[now.getDay()] + ", " +
                  months[now.getMonth()] + " " +
                   date + ", " +
                    (fourdigits(now.getYear())) ;
    document.write("" +today+ ".");
    </script> </p>      <p align="center"><script type="text/javascript" src="http://www.svbfcanada.com/SVBF/jsmenu/svbfcanada.js"></script>
          </p></td>
        </tr>
      <tr>
        <td height="210" colspan="8" valign="top" bgcolor="#d69306"><img src="http://www.svbfcanada.com/SVBF/images/SVBFBanner2.jpg" width="1092" height="210" /></td>
        </tr>
      <tr>
        <td width="43" rowspan="8" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="44" height="1181"> </td>
              </tr>
        </table></td>
        <td width="4" height="17"></td>
        <td colspan="2" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
          <!--DWLayoutTable-->
          <tr>
            <td width="321" height="1150" valign="top" bgcolor="#CC9933"><div style="margin-top: -25px;  "Important days at the temple this month.">
              <p align="center" class="style19" style="background: #CC9933; color: #2D251E; margin: 5px 0px 0px 0px; padding: 5px; border: solid #75614F; border-width: 1px 1px 1px 1px;"><br />
                <strong><span class="style21"><u>            TEMPLE TIMINGS</u></span><BR/>
                  <span class="style22">WEEKDAYS</span></strong><br />
                8.30 am to 11.30 am<br />
                4.30 pm to 8.30 pm<br/>
                <strong>WEEKENDS</span></strong><br />
                8.30 am to 8.30 pm<br />
                <span class="style14"><br />
                </span></p>
              <div style="margin-top: -25px;  "important="Important" days="days" at="at" the="the" temple="temple" this="this" month.="month."">
                      <p align="center" class="style14" style="background: #CC3333; color: #FFFFFF; margin: 5px 0px 0px 0px; padding: 5px; border: solid #75614F; border-width: 1px 1px 1px 1px;"><u><strong>IMPORTANT DATES THIS MONTH</strong></u></p>
                      <p align="left" class="style23 style19" style="background: #CC9933; color: #2D251E; margin: 0px 0px 0px 0px; padding: 5px; border: solid #75614F; border-width: 1px 1px 1px 1px;"><strong>
                      05</strong> Papa Vimochana Ekadasi<br />
                       <strong>06 </strong>Pradosham<br />
                       <strong>10</strong> Vaisaka Masam Begins<br />
                      <strong>
                      12</strong> Akshaya Truteya<br />
                      <strong>14</strong> Ramanuja Jayanthi<br />
                      <strong>15</strong> Shankara Jayanthi<br>
                       <strong>18</strong> Hanuman Chalisa<br />
                        <strong>21</strong> Mohini Ekadasi<br>
                        <strong>22</strong> Pradosham<br />
                        <strong>23</strong> Narasimha Jayanthi<br />
                        <strong>24</strong> Sathyanarayana Pooja<br />
                        <strong>27 </strong>Sankatahara Chaturthi</p>
                      <p align="center" class="style28" style="background: #CC9933; color: #2D251E; margin: 0px 0px 0px 0px; padding: 5px; border: solid #75614F; border-width: 1px 1px 1px 1px;"><a href="http://www.svbfcanada.com/SVBF/SearchSVBF.html"><img src="http://www.svbfcanada.com/SVBF/images/SearchSVBF.jpg" width="200" height="70" border="0" /></a></p>
                      <p align="center" class="style15" style="background: #CC9933; color: #2D251E; margin: 0px 0px 0px 0px; padding: 5px; border: solid #75614F; border-width: 1px 1px 1px 1px;"><span class="style19"><a href="http://www.svbfcanada.com/SVBF/Support.html"><img src="http://www.svbfcanada.com/SVBF/images/donate.jpg" width="285" height="140" Border="0"/></a></span></p>
                      <p align="left" class="style15" style="background: #CC9933; color: #2D251E; margin: 0px 0px 0px 0px; padding: 5px; border: solid #75614F; border-width: 1px 1px 1px 1px;"><a href="http://www.svbfcanada.com/SVBF/Directions.html"><img src="http://www.svbfcanada.com/SVBF/images/Directions.jpg" width="305" height="60" border="0" /></a></p>
                      <p align="center" class="style19" style="background: #CC9933; color: #2D251E; margin: 0px 0px 0px 0px; padding: 5px; border: solid #75614F; border-width: 1px 1px 1px 1px;"><span class="style17 style23 style22"><span class="style11">Visit our</span> <a href="http://www.svbfcanada.com/SVBF/photogallery.html" class="style6">Photo Gallery</a></span>
                        <script language="JavaScript1.1" type="text/javascript">
    <!--
    var whichlink=0
    var whichimage=0
    var pixeldelay=(ie55)? document.images.slide.filters[0].duration*1000 : 0
    function slideit(){
    if (!document.images) return
    if (ie55) document.images.slide.filters[0].apply()
    document.images.slide.src=imageholder[whichimage].src
    if (ie55) document.images.slide.filters[0].play()
    whichlink=whichimage
    whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
    setTimeout("slideit()",slidespeed+pixeldelay)
    slideit()
    //-->
                            </script>
                      </p>
                      <div align="center"></div>
                      <div align="center"></div>
                      <p align="left" class="style15" style="background: #CC9933; color: #2D251E; margin: 0px 0px 0px 0px; padding: 5px; border: solid #75614F; border-width: 1px 1px 1px 1px;"><a href="http://www.svbfcanada.com/SVBF/photogallery.html"><img src="http://www.svbfcanada.com/SVBF/images/diwalidance.JPG" name="slide" width="306" height="200" border="0" style="filter:progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,Duration=1)" color="Black" /></a></p>
    <form id="form3" action="../SVBF/response.php" method="post" onsubmit="return checkform(this);">
                                         <fieldset>
                                         <legend><span class="style23 style12"><strong>Subscribe to our Newslette</strong></span><span class="style12">r</span></legend>
          <p class="first">
            <label for="name">Name</label>
            <input type="text" name="name" id="name" size="30" />
            </p>
          <p>
            <label for="email">Email </label>
            <input type="text" name="email" id="email" size="30" />
          </p>
          <p>
              <label for="code">Enter code below > <span class="style19" id="txtCaptchaDiv" style="color:#000066"><strong></strong></span><!-- this is where the script will place the generated code -->
                <input type="hidden" id="txtCaptcha" /></label><!-- this is where the script will place a copy of the code for validation: this is a hidden field -->
              <input type="text" name="txtInput" id="txtInput" size="30" />
              </p>
              <p class="submit">
                <button type="submit">Send</button>
              </p>
              <div align="center"></div>
              <div align="center">
                <script type="text/javascript">
              function checkform(theform){
                        var why = "";
                        if(theform.txtInput.value == ""){
                                  why += "- Security code should not be empty.\n";
                        if(theform.txtInput.value != ""){
                                  if(ValidCaptcha(theform.txtInput.value) == false){
                                            why += "- Security code did not match.\n";
                        if(why != ""){
                                  alert(why);
                                  return false;
    //Generates the captcha function   
              var a = Math.ceil(Math.random() * 9)+ '';
              var b = Math.ceil(Math.random() * 9)+ '';      
              var c = Math.ceil(Math.random() * 9)+ ''; 
              var d = Math.ceil(Math.random() * 9)+ ''; 
              var e = Math.ceil(Math.random() * 9)+ ''; 
              var code = a + b + c + d + e;
              document.getElementById("txtCaptcha").value = code;
              document.getElementById("txtCaptchaDiv").innerHTML = code;
    // Validate the Entered input aganist the generated security code function  
    function ValidCaptcha(){
              var str1 = removeSpaces(document.getElementById('txtCaptcha').value);
              var str2 = removeSpaces(document.getElementById('txtInput').value);
              if (str1 == str2){
                        return true;
              }else{
                        return false;
    // Remove the spaces from the entered and generated code
    function removeSpaces(string){
              return string.split(' ').join('');
              </script>
                <span class="style12 style23 style15">Subscribe to our Newsletter to   receive updates on happenings at the Temple and the Community Hall </span><br />
              </div>
              <div align="center" class="style12"><small style="text-align:center">reload the page to change the code</small></div>
              </fieldset>
        </form>
                    </div>
                </div></td>
              </tr>
          <tr>
            <td height="152" valign="top" bgcolor="cc9933"><div align="center">
              <p><a href="http://www.tattvaloka.com/"><img src="http://www.svbfcanada.com/SVBF/images/Tattvaloka.jpg" width="306" height="160" border="0" /></a></p>
              <p><a href="http://www.svbfcanada.com/SVBF/TouristToronto.html"><img src="http://www.svbfcanada.com/SVBF/images/TORONTO.jpg" width="306" height="200" border="0" /></a></p>
            </div></td>
          </tr>
        </table></td>
        <td width="43"></td>
        <td width="635"></td>
        <td width="9"></td>
        <td width="37"></td>
      </tr>
      <tr>
        <td height="1410"></td>
        <td></td>
        <td rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="640" height="1471" valign="top">
              <div align="center"></div>          <div align="center" class="style49">
                <p> </p>
                  <p><a href="http://www.svbfcanada.com/SVBF/SathyanarayanaPooja.html"></a></p>
                <a href="http://www.svbfcanada.com/SVBF/SathyanarayanaPooja.html"><a href="http://www.svbfcanada.com/SVBF/SathyanarayanaPooja.html"><a href="http://www.svbfcanada.com/SVBF/SathyanarayanaPooja.html"></a></div></td>
              </tr>
          <tr>
            <td height="106"></td>
            </tr>
        </table></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td height="167"></td>
        <td colspan="2" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="318" height="159" valign="top"><div align="center">
              <p><a href="http://www.sringeri.net"><img src="http://www.svbfcanada.com/SVBF/images/sringerinet.jpg" width="306" height="92" border="0" /></a><a href="http://www.svbf.org"><img src="http://www.svbfcanada.com/SVBF/images/svbfusa.jpg" width="306" height="49" border="0" /></a>
                <iframe src="https://www.google.com/calendar/embed?title=SVBF%20Canada%20Calendar&mode=AGENDA&height=30 0&wkst=1&bgcolor=%23cccccc&src=calendarsvbf%40gmail.com&color=%232952A3&ctz=America%2FToro nto" style=" border:solid 1px #777 " width="310" height="300" frameborder="0" scrolling="yes"></iframe>
                <!-- AddThis Button BEGIN -->
    </p>
              <p></p></td>
              </tr>
        </table></td>
        <td></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td height="319"></td>
        <td></td>
        <td> </td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td height="19"></td>
        <td width="312"> </td>
        <td width="9"></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td height="20"></td>
        <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="311" height="19" valign="top"><div align="center">
              <p><span class="style17 style23 style22 style3">Visit our Photo Gallery</span>
                <span class="style3">
                  <script language="JavaScript1.1">
    <!--
    var whichlink=0
    var whichimage=0
    var pixeldelay=(ie55)? document.images.slide.filters[0].duration*1000 : 0
    function slideit(){
    if (!document.images) return
    if (ie55) document.images.slide.filters[0].apply()
    document.images.slide.src=imageholder[whichimage].src
    if (ie55) document.images.slide.filters[0].play()
    whichlink=whichimage
    whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
    setTimeout("slideit()",slidespeed+pixeldelay)
    slideit()
    //-->
                      </script>
                  </span></p>
                </div></td>
              </tr>
          <tr>
            <td height="1"></td>
              </tr>
        </table></td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td height="3"></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td height="113" colspan="6" valign="top" bgcolor="#6C0F17"><div align="center">
                  <p class="style11 style2"><span class="style12">Sringeri Vidya Bharati Foundation (Canada)<br />
                  80 Brydon Dr., Etobicoke, ON, M9W 4N6 Phone: 416-745-1010<br />
                  Questions or Comments about this website ?
            Email the</span><span class="style12"> <a href="mailto:[email protected]" class="style14 style3">Web Master</a><br />
                    <a href="http://www.svbfcanada.com/SVBF/Disclaimer.php" class="style13 style3">Disclaimer</a> </span></p>
                  <p class="style11"><span class="style1">Copyright © 2008 – 2012 by Sringeri Vidya Bharati Foundation (Canada) All Rights   Reserved.</span><br />
                        <a href="http://www.copyscape.com/plagiarism-finder/"><img src="http://www.svbfcanada.com/SVBF/images/cs-ye-234x16.gif" width="234" height="16" border="0" /></a><br />
            </p>
          </div></td>
      <td> </td>
      </tr>
    </table>
    </td></center>
    </body>
    </html>

    This will happen if you mistakenly save a Child page as a Template.dwt and overwrite your original Template file. Do you have a backup of your original Template stored some place safe?
    In the future, when you have questions related to Dreamweaver, use the Dreamweaver Forum. You'll get better, quicker answers there.
    http://forums.adobe.com/community/dreamweaver?view=discussions
    Nancy O.

  • Filter(NULL IS NOT NULL) in Explain Plan ??

    Hi All,
    Can someone please explain what this explain plan statement means? I see a filter(NULL IS NOT NULL) as the first statement - could not figure out why it came up so from googling.
    My Query Used:
    EXPLAIN PLAN FOR
    MERGE INTO summary_bysrccd
    USING
    (SELECT LAST_DAY(TRUNC(to_timestamp(os.requestdatetime, 'yyyymmddhh24:mi:ss.ff4'))) AS SUMMARY_DATE,
    os.acctnum,
    ol.sourcecode AS sourcecode,
    ol.sourcename AS sourcename,
    count(1) cnt_articleview
    FROM article_views os , master_sourcecode ol
    where os.sourcecode = ol.sourcecode
    AND os.acctnum IS NOT NULL
    AND ol.sourcecode IS NOT NULL
    AND os.requestdatetime IS NOT NULL
    AND UPPER(os.success_ind) = 'S'
         AND (
              ('INCR'  = 'FULL'
              AND  (get_date_timestamp(os.requestdatetime) BETWEEN TO_DATE('23-AUG-2011 00:00:00','DD-MON-YYYY HH24:MI:SS') AND TO_DATE('27-AUG-2011 23:59:59','DD-MON-YYYY HH24:MI:SS')
              AND   os.entry_CreatedDate BETWEEN TO_DATE('22-AUG-2011 00:00:00','DD-MON-YYYY HH24:MI:SS') AND TO_DATE('28-AUG-2011 00:00:00','DD-MON-YYYY HH24:MI:SS')
              OR ('INCR' = 'FULL'
              AND os.entry_createddate BETWEEN TO_DATE('23-AUG-2011 00:00:00','DD-MON-YYYY HH24:MI:SS') AND TO_DATE('27-AUG-2011 23:59:59','DD-MON-YYYY HH24:MI:SS') )
    group by LAST_DAY(TRUNC(to_timestamp(os.requestdatetime, 'yyyymmddhh24:mi:ss.ff4'))),
    os.acctnum,ol.sourcecode,ol.sourcename) mrg_query
    ON (ods_av_summary_bysrccd.acctnum = mrg_query.acctnum AND
    ods_av_summary_bysrccd.summary_date=mrg_query.summary_date AND
    ods_av_summary_bysrccd.sourcecode=mrg_query.sourcecode)
    WHEN NOT MATCHED THEN
    INSERT (SUMMARY_date,ACCTNUM,SOURCECODE,SOURCENAME,CNT_ARTICLEVIEW,ENTRY_LASTUPDATEDDATE)
    VALUES(mrg_query.summary_date,mrg_query.acctnum,mrg_query.sourcecode,mrg_query.sourcename,
    mrg_query.cnt_articleview,sysdate)
    WHEN MATCHED THEN
    UPDATE SET ods_av_summary_bysrccd.cnt_articleview=
    CASE WHEN NVL('INCR','INCR') = 'FULL' THEN mrg_query.cnt_articleview
    ELSE ods_av_summary_bysrccd.cnt_articleview+mrg_query.cnt_articleview
    END,
    ods_av_summary_bysrccd.entry_lastupdateddate=sysdate;My Explain Plan:
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 268591246
    | Id  | Operation                                 | Name                      | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | MERGE STATEMENT                           |                           |     1 |   456 |       |     3   (0)| 00:00:01 |       |       |
    |   1 |  MERGE                                    | ODS_AV_SUMMARY_BYSRCCD    |       |       |       |            |          |       |       |
    |   2 |   VIEW                                    |                           |       |       |       |            |          |       |       |
    |   3 |    NESTED LOOPS OUTER                     |                           |     1 |   417 |       |     3   (0)| 00:00:01 |       |       |
    |   4 |     VIEW                                  |                           |     1 |   360 |       |     5 (100)| 00:00:01 |       |       |
    |   5 |      SORT GROUP BY                        |                           |     1 |    73 |   595M|            |          |       |       |
    PLAN_TABLE_OUTPUT
    |*  6 |       FILTER                              |                           |       |       |       |            |          |       |       |
    |*  7 |        HASH JOIN                          |                           |  6975K|   485M|  3944K| 17594   (1)| 00:03:32 |       |       |
    |   8 |         TABLE ACCESS FULL                 | ODS_MASTER_SOURCECODE     | 84021 |  2953K|       |   273   (1)| 00:00:04 |       |       |
    |*  9 |         TABLE ACCESS BY GLOBAL INDEX ROWID| ODS_ARTICLE_VIEWS         |  7007K|   247M|       |   826   (0)| 00:00:10 |    33 |    33 |
    |* 10 |          INDEX FULL SCAN                  | IDX_AV_ACCTNUM            |    25M|       |       |    26   (0)| 00:00:01 |       |       |
    |  11 |     TABLE ACCESS BY GLOBAL INDEX ROWID    | ODS_AV_SUMMARY_BYSRCCD    |     1 |    57 |       |     3   (0)| 00:00:01 | ROWID | ROWID |
    |* 12 |      INDEX UNIQUE SCAN                    | ODS_AV_SUMMARY_BYSRCCD_PK |     1 |       |       |     2   (0)| 00:00:01 |       |       |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
       6 - filter(NULL IS NOT NULL)
       7 - access("OS"."SOURCECODE"="OL"."SOURCECODE")
       9 - filter("OS"."REQUESTDATETIME" IS NOT NULL AND "OS"."ENTRY_CREATEDDATE">=TO_DATE(' 2011-08-23 00:00:00', 'syyyy-mm-dd
                  hh24:mi:ss') AND "OS"."ENTRY_CREATEDDATE"<=TO_DATE(' 2011-08-27 23:59:59', 'syyyy-mm-dd hh24:mi:ss') AND UPPER("OS"."SUCCESS_IND")='S')
      10 - filter("OS"."ACCTNUM" IS NOT NULL)
      12 - access("ODS_AV_SUMMARY_BYSRCCD"."SUMMARY_DATE"(+)=INTERNAL_FUNCTION("MRG_QUERY"."SUMMARY_DATE") AND
                  "ODS_AV_SUMMARY_BYSRCCD"."ACCTNUM"(+)="MRG_QUERY"."ACCTNUM" AND "ODS_AV_SUMMARY_BYSRCCD"."SOURCECODE"(+)="MRG_QUERY"."SOURCECODE")
    Note
    PLAN_TABLE_OUTPUT
       - dynamic sampling used for this statement

    Hi Toon,
    Thanks for the quick resolution. I went back and verified the table's colunm details and it has a NOT NULL constraint.
    Regards,
    Chaitanya
    P.S: Is it ok if I ask you for some help regarding a production issue I have been encountering since 15 days but haev no clear resolution yet about what/why is the reason (the said issue is neither uniform nor regular - its affecting some modules and happening on some days - i shall give the full details if you are willing to have a look) - i shall start a new post or email you directly - yur convenience.

  • Filter Function in Column Formula is not working properly

    Hi,
    I am using Filter Function in Column formula tab in Answers to calculate the Total sum from the start of the Fiscal month to the Month selected from the Prompt.
    My requirement is I have total sales column. Now I need to calculate TYYTD kind of thing for which I cant use the Time sereis due to my report constraint.
    Instead of that I am using this Filter function on TYYTD column where i am giving the filter as start of the Fiscal month to the month selected from the Prompt.
    For example if I select May month from the Prompt then this TYYTD column should give me SUM(Total Sales) between Feb and May for which I am using the Filter Function. But it giving me only May sales whcih is same as Total Sales column.
    Can anyone throw some light on this as this is very important for us or any alternate solution other than Time sereis measures.
    Did anyone got this kind of issue with Filter Function?
    Regards,
    Azad

    Ok...here's the steps to fix this as efficiently as possible.  I have a whole bunch of mailboxes under "On My Mac" and they have a bunch of mailboxes nested in them.  I get my messages into Apple Mail via IMAP.  (I don't know if this matters.)  The steps below assume you have a similar setup.
    1.  Hold the Option key down and click the dropdown arrow next to each mailbox that has one.  This will cause all nested mailboxes below it to appear.
    2.  Go to the top of the list of mailboxes under "On My Mac" and highlight the first mailbox.  Then hold the Shift key down and highlight the last mailbox in the list.  This will cause all of the mailboxes and nested mailboxes to be highlighted.
    3.  From the menu, select "Mailbox --> Rebuild" and the rebuild process will start.
    4.  Watch the top of the mail screen to see the message count change as the mailboxes are being rebuilt.  Wait until the activity stops before doing the next step.
    5.  As the mailboxes were rebuilt, many messages were reset as "Unread" even though every message was previously "Read."  Make sure the mailboxes you want to affect are still highlighted.  Right-click and select "Mark All Messages Read."
    That fixed the problem for me.

Maybe you are looking for

  • Importing from Adobe Elements into iPhoto

    I have an Elements 9 catalog on my MBA and would like to go exclusively to iPhoto. How do I bring the album structure and photo captions in to iPhoto?

  • Statement "CALL TRANSACTION" is not allowed in this form.

    Hi I have a form in which i want to call a transaction:   CALL TRANSACTION 'VL32N'  USING bdc_tab                                                    MODE    'E'                                                    UPDATE  'S'                           

  • ALV Grid OO T.O.P. center

    FORM EVENT_TOP_OF_PAGE USING   DG_DYNDOC_ID TYPE REF TO CL_DD_DOCUMENT. DATA : DL_TEXT(255) TYPE C.  "Text   CALL METHOD DG_DYNDOC_ID->ADD_TEXT     EXPORTING     TEXT = TEXT-002     SAP_EMPHASIS = CL_DD_AREA=>HEADING. * Add new-line   CALL METHOD DG_

  • How to begin a CAF/CAS development.

    Hi All, I am new to CAF. For what kind of business senearios CAF is suitable..? We have developed a Webdynpro application for a scenario which is like: Through Webdynpro frontend,  the data in R/3 system is modified. New data can also be uploaded thr

  • Formatting an inbound Decimal Field

    Hello, I have a decimal field.....> xxxxxxxxxx.yyyyy now lenght of xxx and yyy can vary.. now depending on the scenario i may hhave to round off the field to 3/4/5 places afeter the decimal....how can i acheivce this using std.pI functions.... i know