Report SCCM Patch Deployment - Wrong Result

Hi all,
After the departure of one of my teammate, I discovered that one SCCM report that he had created is not correctly setup. The result given by this report and more precisely the result in the column called "Successfully installed update" is wrong.
We have approximatively 850 computers ...So for one KB, difficult to have1428 computers ok.
I tried to figure out SQL query created by my teammate but I'm not really a sql expert.
I can not find where could be the problem.
It's really annoying because this report is very usefull (when statistic is correct)
Could someone help me regarding a possible mistake in this SQL query ? ... thanks for your help
SQL Query:
SELECT     COUNT(v_R_System.Name0) AS NbComp, SRSN1.StateDescription AS Compliance, v_UpdateCIs.BulletinID, CustomSeverityReference.CustomName AS Criticity, SRSN2.StateDescription, v_UpdateCIs.ArticleID
FROM         v_UpdateCIs
    INNER JOIN v_CIAssignmentToCI ON v_UpdateCIs.CI_ID = v_CIAssignmentToCI.CI_ID
    INNER JOIN v_UpdateAssignmentStatus
    INNER JOIN v_CIAssignment ON v_UpdateAssignmentStatus.AssignmentID = v_CIAssignment.AssignmentID
    INNER JOIN v_R_System ON v_UpdateAssignmentStatus.ResourceID = v_R_System.ResourceID
    INNER JOIN SR_StateNames AS SRSN1 ON v_UpdateAssignmentStatus.LastComplianceMessageID = SRSN1.StateID AND SRSN1.TopicType = 300
    INNER JOIN SR_StateNames AS SRSN2 ON v_UpdateAssignmentStatus.LastEnforcementMessageID = SRSN2.StateID AND SRSN2.TopicType = 301 ON v_CIAssignmentToCI.AssignmentID = v_CIAssignment.AssignmentID
    INNER JOIN CustomSeverityReference ON v_UpdateCIs.Severity = CustomSeverityReference.SeverityID
WHERE     (v_CIAssignment.AssignmentName LIKE @ComputerType) AND (NOT (v_CIAssignment.AssignmentName LIKE @currentMonth)) AND (v_R_System.Obsolete0 = '0')AND (v_UpdateCIs.IsDeployed = '1') AND (v_UpdateCIs.IsExpired = '0') AND (v_UpdateCIs.IsSuperseded
= '0')
GROUP BY SRSN1.StateDescription, v_UpdateCIs.BulletinID, CustomSeverityReference.CustomName, SRSN2.StateDescription, v_UpdateCIs.ArticleID
HAVING      (v_UpdateCIs.BulletinID <> '')
Report:

You can close this thread even if no solution was found.
if you still have not get this to work correctly then I would suggest hiring a consultant to help update the report. SU reports are among the hardest to write and can take days / weeks to get right.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ

Similar Messages

  • Windows 2008 R2 Server without Service Pack 1 was flag "Not Required" during the SCCM patching/deploying SP1 for 2008

    Dear Brothers,
    I come to a scenario were one of our Windows 2008 R2 Server without Service Pack 1, was Flag under SCCM 2007 Reports Update Status for Service Pack 1 deployment to be "Not
    Required" which definitely inaccurate.
    What I want to know what are the conditions for the Software Update to send a status to SCCM Server that the Service Pack is “Not
    Required” instead of the other way around?
    Is there anyone that can guide me to any KB Article regarding this behavior?
    Regards,

    Yes, I know this is an old post, I’m trying to clean them up. Did you figure this out, if so how?
    I have seen this before and what I have done is manually applied the SP1 to the server. Only then did the error show up as why SP1 didn’t apply. After fixing the error, CM was apply to apply SP1 and other SU to the server.
    http://www.enhansoft.com/

  • SCCM Patch Deployment Severity and Update Classifications

    SCCM 2012 SP1
    I'm a little confused by MSFT terminology
    http://support.microsoft.com/kb/824684/en-us versus terminology used in setting up an automatic deployment.  Let's use Lync 2010 as an example.  I wish to deploy Lync 2010 updates outside of our regular patching via SCCM as I don't have Update
    Classification None set so I don't capture a whole bunch on non-essential patches.
    When I look at current Lync client update:
    http://support.microsoft.com/kb/2815347  I don't see the classification MSFT used on their terminology page so not 100% know how to target it.  It indicates its an UPDATE package but I don't see a SEVERITY level assigned.  So if I use the
    following search criteria would this work?
    Date released:  Last 3 months
    Product:  Microsoft Lync 2010
    Severity: None
    Update Classification:  Updates

    SCCM 2012 SP1
    I'm a little confused by MSFT terminology
    http://support.microsoft.com/kb/824684/en-us versus terminology used in setting up an automatic deployment.  Let's use Lync 2010 as an example.  I wish to deploy Lync 2010 updates outside of our regular patching via SCCM as I don't have Update
    Classification None set so I don't capture a whole bunch on non-essential patches.
    When I look at current Lync client update:
    http://support.microsoft.com/kb/2815347  I don't see the classification MSFT used on their terminology page so not 100% know how to target it.  It indicates its an UPDATE package but I don't see a SEVERITY level assigned.  So if I use the
    following search criteria would this work?
    Date released:  Last 3 months
    Product:  Microsoft Lync 2010
    Severity: None
    Update Classification:  Updates
    I would just remove the Classification and try it that way. I did
    Date released: Last 3 months
    Product: Microsoft Lync 2010
    then just match up the KB article

  • Wrong result in Web Intelligence Report

    Post Author: shriram81
    CA Forum: WebIntelligence Reporting
    When I run a query for web inteeligence documnet I receive a wrong result. But when I run the same SQL query in SQL analyzer of MS SQL server I get correct result.
    e.g. I get the same value of measure object against different dimension in web inteeligence report but I get correct values of measure when I run the query in query analyzer on SQl server
    Pl guide me to get correct result in Webi

    Post Author: GregPye
    CA Forum: WebIntelligence Reporting
    Are you copying and pasting the query from WebI into SQL Server? Seems a bit odd, as the SQL should be sent to SQL Server to run...
    I would check the report level settings, such as filters, or what have you... also check that there aren't more than one SQL query being run in WebI that you haven't noticed...
    Cheers

  • Questions on Patch Deployment - From older post.

    Almost a year ago I had a post with questions on the patch scan process.
    https://forums.novell.com/novell-pro...s-updates.html
    I have been reviewing my patch process again due to Student laptop's getting re-imaged this summer. I am hoping I can get some additional information based off the replies from that post.
    1. It was stated that monthly patch bundles were created and deployed. I am unsure how that is best accomplished. If I create an all Microsoft (Windows 7 for example) Patch bundle for each month, yet the workstations it is deployed to may not require the patch, would this not cause the bundle to fail? If it just fails on that section will the remaining patch's continue to deploy?
    What is the best way to deploy a monthly patch bundle? In the past I would create a patch bundle through the Patch Management area for Windows 7 but assign to only a single workstation and then go back and assign to the Windows 7 group as a "run on ref" option. Is it better to assign the patch bundle to all nonpatched devices? If this is done will a system that is reimaged and no longer has the patch or a new system created after the bundle create be automatically assigned said bundle?
    Any other good strategies for patching systems? I create custom bundles for Adobe, Java, and Quicktime to ensure I control how they are deployed. Java seems to be one that works better when older versions are not installed. This method seems to be working well for those products. It is my MS Windows updates that are way off the mark. I have most of my systems with 60 to 80 patches reported ready. No matter how many times I deploy the patches they never seem to report as patched on the devices (Even tho the bundle reports back as successful). I am getting ready to start an SR since I think this is an issue with the server since so many of my systems are doing this. Good deployment procedures would be nice since I really hate to mess with my Universal WIndows image since it is working so well. Recreating it just to patch it with the latest Windows Updates would be pain.
    Thanks
    Richard

    rhuhman,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Crosstab report with null or wrong totals

    I have a crosstab report that when I put a field in an item report area and setting <all> for values I get null values and with other fields I get wrong results (less than I wait). If there's no report item, it's return the correct results.
    I have checked the SQL and it not return any null value.
    I believe that the crosstab try to aggragate and sum the null values of the empty cells in my crosstab.
    Anyone knows how to fix it?
    I'm using Discoverer 10g Desktop.

    can you send your xml data and template to [email protected]

  • Bug 2679062 - Wrong results possible from multi-column INLIST - though stat

    Hi,
    The following test case is supplied in the metalink in bug no. 2871341, the base bug for this bug is 2679062.
    REPRODUCIBILITY:
    Reproduces constantly with simple test case below:
    TEST CASE:
    DROP TABLE A1
    CREATE TABLE A1 (X1 VARCHAR2(10), X2 VARCHAR2(10))
    REM *********** Create the second table: ***************
    DROP TABLE A2
    CREATE TABLE A2 (X1 VARCHAR2(10), X2 VARCHAR2(10))
    INSERT INTO A1 VALUES ('1','2');
    INSERT INTO A2 VALUES ('3','4');
    COMMIT;
    CREATE INDEX A1_X1 ON A1(X1 );
    CREATE INDEX A1_X2 ON A1(X2);
    CREATE INDEX A2_X1 ON A2(X1);
    CREATE INDEX A2_X2 ON A2(X2);
    CREATE OR REPLACE VIEW A_ALL AS SELECT * FROM A1 UNION ALL SELECT * FROM A2;
    ANALYZE TABLE A1 COMPUTE STATISTICS;
    ANALYZE TABLE A2 COMPUTE STATISTICS;
    SELECT * FROM A_ALL;
    SELECT * FROM A_ALL WHERE (X1='1' AND X2='2') ;
    SELECT * FROM A_ALL WHERE ((X1='1' AND X2='2') OR (X1='3' AND X2='4'));
    The 2nd query returns answer while the second is not !
    The following is published in the 9.2.0.4 fixed bug list:
    " 9204 - 2679062 - Wrong results possible from multi-column INLIST "
    I have installed 9.2.0.4 patch set on a win 2000 machine Oracle and saw that the above case is actually solved but our application which has a very similar case doesn't.
    After investigating I found the following test case that fails, it reproduces only when you have index on all columns (covering index):
    drop table t1_1;
    drop table t1_2;
    create table t1_1(c1 number, c2 number, c3 number);
    create table t1_2(c1 number, c2 number, c3 number);
    create index t1_1_ix on t1_1(c1, c2, c3);
    create index t1_2_ix on t1_2(c1, c2, c3);
    create or replace view t1 as select * from t1_1 union all select * from t1_2;
    insert into t1_1 values(1, 2, 100);
    insert into t1_2 values(1, 2, 200);
    commit;
    analyze table t1_1 compute statistics;
    analyze table t1_2 compute statistics;
    prompt
    prompt #######################################
    prompt try 1 - works fine
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    ( (c2=2) and (c3=100)
    prompt
    prompt #######################################
    prompt try 2 - works fine
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    (c2=2) and (c3=200)
    prompt
    prompt #######################################
    prompt try 3 - try 1 OR try 2 does not work !
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    ( ( (c2=2) and (c3=100) )
    or
    ( (c2=2) and (c3=200) )
    opened a TAR and wanted to share with you.
    Tal Olier ([email protected]).

    Hi,
    The following test case is supplied in the metalink in bug no. 2871341, the base bug for this bug is 2679062.
    REPRODUCIBILITY:
    Reproduces constantly with simple test case below:
    TEST CASE:
    DROP TABLE A1
    CREATE TABLE A1 (X1 VARCHAR2(10), X2 VARCHAR2(10))
    REM *********** Create the second table: ***************
    DROP TABLE A2
    CREATE TABLE A2 (X1 VARCHAR2(10), X2 VARCHAR2(10))
    INSERT INTO A1 VALUES ('1','2');
    INSERT INTO A2 VALUES ('3','4');
    COMMIT;
    CREATE INDEX A1_X1 ON A1(X1 );
    CREATE INDEX A1_X2 ON A1(X2);
    CREATE INDEX A2_X1 ON A2(X1);
    CREATE INDEX A2_X2 ON A2(X2);
    CREATE OR REPLACE VIEW A_ALL AS SELECT * FROM A1 UNION ALL SELECT * FROM A2;
    ANALYZE TABLE A1 COMPUTE STATISTICS;
    ANALYZE TABLE A2 COMPUTE STATISTICS;
    SELECT * FROM A_ALL;
    SELECT * FROM A_ALL WHERE (X1='1' AND X2='2') ;
    SELECT * FROM A_ALL WHERE ((X1='1' AND X2='2') OR (X1='3' AND X2='4'));
    The 2nd query returns answer while the second is not !
    The following is published in the 9.2.0.4 fixed bug list:
    " 9204 - 2679062 - Wrong results possible from multi-column INLIST "
    I have installed 9.2.0.4 patch set on a win 2000 machine Oracle and saw that the above case is actually solved but our application which has a very similar case doesn't.
    After investigating I found the following test case that fails, it reproduces only when you have index on all columns (covering index):
    drop table t1_1;
    drop table t1_2;
    create table t1_1(c1 number, c2 number, c3 number);
    create table t1_2(c1 number, c2 number, c3 number);
    create index t1_1_ix on t1_1(c1, c2, c3);
    create index t1_2_ix on t1_2(c1, c2, c3);
    create or replace view t1 as select * from t1_1 union all select * from t1_2;
    insert into t1_1 values(1, 2, 100);
    insert into t1_2 values(1, 2, 200);
    commit;
    analyze table t1_1 compute statistics;
    analyze table t1_2 compute statistics;
    prompt
    prompt #######################################
    prompt try 1 - works fine
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    ( (c2=2) and (c3=100)
    prompt
    prompt #######################################
    prompt try 2 - works fine
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    (c2=2) and (c3=200)
    prompt
    prompt #######################################
    prompt try 3 - try 1 OR try 2 does not work !
    prompt #######################################
    prompt
    select * from t1
    where
    (c1=1)
    and
    ( ( (c2=2) and (c3=100) )
    or
    ( (c2=2) and (c3=200) )
    opened a TAR and wanted to share with you.
    Tal Olier ([email protected]).

  • Patch deployment with status "Enforcement state unknown"

    Hi All
    I am pretty new to the patch deployment.
    I generated a report and see there is Last State column with "Enforcement state unknown", not sure if it means failed for those hostnames or will be retried for the installation.
    Kindly clarify.
    Regards
    Ramesh
    Regards Ram

    They will only start to install updates automatically when there is an active update deployment with a scheduled deadline that has past. See for a lot more information:
    http://technet.microsoft.com/en-us/library/gg682168.aspx#BKMK_SUMCompliance
    Also, when Days since last communication is more than 0, that's usually an indication that the client is not communicating any more. That can be caused by a lot of things including something simple as that the device is turned of, or not
    connected with the network.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • SCCM patch not reaching the Client

    Hello All,
    I am facing issue in patch deployment. Here is my case story.
    I have one primary site. DP, SUP and FSP is configured in another servers which hosts the WSUS too. I am able to sync updates with SUP, create software update group and corresponding deployment package. Updates are getting downloaded to shared location
    (Every one has full control on this share). My package is getting distributed to DP, I can see the content status as successful and the one .ini file in the name of Package ID is present is PakageLib too.
    But still this is not getting deployed on my client machine. Here is what all the logs says:
    UpdatesDeployment.log
    =====================
    Message received: '<?xml version='1.0' ?>
     <CIAssignmentMessage MessageType='Activation'>
         <AssignmentID>{FBCED315-2ED9-4DA0-8A73-003229DB33ED}</AssignmentID>
     </CIAssignmentMessage>' UpdatesDeploymentAgent 03/02/2015 15:06:11 3524 (0x0DC4)
    Assignment {FBCED315-2ED9-4DA0-8A73-003229DB33ED} has total CI = 2 UpdatesDeploymentAgent 03/02/2015 15:06:11 3524 (0x0DC4)
    Assignment ({FBCED315-2ED9-4DA0-8A73-003229DB33ED}) received activation trigger UpdatesDeploymentAgent 03/02/2015 15:06:11 3524 (0x0DC4)
    Detection job ({763BFB0C-283F-4522-8C42-D0FE88C7C387}) started for assignment ({FBCED315-2ED9-4DA0-8A73-003229DB33ED}) UpdatesDeploymentAgent 03/02/2015 15:06:11 3524 (0x0DC4)
    DetectJob completion received for assignment ({FBCED315-2ED9-4DA0-8A73-003229DB33ED}) UpdatesDeploymentAgent 03/02/2015 15:06:11 2592 (0x0A20)
    Update (Site_AA3D21FB-01AC-4E92-A3FF-A038E1628EB0/SUM_695961b4-6e6c-4fe4-9b47-6e51d05f6186) added to the targeted list of deployment ({FBCED315-2ED9-4DA0-8A73-003229DB33ED}) UpdatesDeploymentAgent 03/02/2015 15:06:11 2592 (0x0A20)
    Update (Site_AA3D21FB-01AC-4E92-A3FF-A038E1628EB0/SUM_36451b50-3f6f-48cb-89d0-ee69ff62a67f) added to the targeted list of deployment ({FBCED315-2ED9-4DA0-8A73-003229DB33ED}) UpdatesDeploymentAgent 03/02/2015 15:06:11 2592 (0x0A20)
    Updateshandler.log
    ==================
    Initiating updates scan for checking applicability. UpdatesHandler 03/02/2015 15:06:11 2592 (0x0A20)
    Successfully initiated scan. UpdatesHandler 03/02/2015 15:06:11 2592 (0x0A20)
    Updates scan completion received, result = 0x0. UpdatesHandler 03/02/2015 15:06:11 2592 (0x0A20)
    UpdatesStore.log
    ================
    Querying update status of 2 updates. UpdatesStore 03/02/2015 15:06:11 2592 (0x0A20)
    Querying update status completed successfully. UpdatesStore 03/02/2015 15:06:11 2592 (0x0A20)
    Querying update status of 2 updates. UpdatesStore 03/02/2015 15:06:11 2592 (0x0A20)
    Querying update status completed successfully. UpdatesStore 03/02/2015 15:06:11 2592 (0x0A20)
    WUAhandler
    =======
    Its a WSUS Update Source type ({AA3D21FB-01AC-4E92-A3FF-A038E1628EB0}), adding it. WUAHandler 03/02/2015 14:24:23 3020 (0x0BCC)
    Existing WUA Managed server was already set (http://<ServerName>/SMS_DP_SMSPKG$/Content_b16ab79e-2914-4835-aaae-32c5399363b5.1 ContentAccess 03/02/2015
    15:07:11 228 (0x00E4)
    Download request only, ignoring location update ContentAccess 03/02/2015 15:07:11 228 (0x00E4)
    Location update from CTM for content Content_65c5626e-d263-4c1f-b813-8cc10dd6cc17.1 and request {24ABBA1F-2AC2-4F4B-B9E9-85A3FB8FA53B} ContentAccess 03/02/2015 15:07:11 228 (0x00E4)
    Download location found 0 - <a href="http:///SMS_DP_SMSPKG$/Content_65c5626e-d263-4c1f-b813-8cc10dd6cc17.1">http://<ServerName>/SMS_DP_SMSPKG$/Content_65c5626e-d263-4c1f-b813-8cc10dd6cc17.1 ContentAccess 03/02/2015 15:07:11 228
    (0x00E4)
    Download request only, ignoring location update ContentAccess 03/02/2015 15:07:11 228 (0x00E4)
    LocationServices.log
    ====================
    Executing Task LSRefreshLocationsTask LocationServices 03/02/2015 15:31:47 3724 (0x0E8C)
    Unable to retrieve AD site membership LocationServices 03/02/2015 15:31:48 3724 (0x0E8C)
    Unable to retrieve AD site membership LocationServices 03/02/2015 15:31:48 3724 (0x0E8C)
    Unable to retrieve AD site membership LocationServices 03/02/2015 15:31:48 3724 (0x0E8C)
    Unable to retrieve AD site membership LocationServices 03/02/2015 15:31:48 3724 (0x0E8C)
    Unable to retrieve AD site membership LocationServices 03/02/2015 15:31:48 3724 (0x0E8C)
    Unable to retrieve AD site membership LocationServices 03/02/2015 15:31:48 3772 (0x0EBC)
    Calling back with empty distribution points list LocationServices 03/02/2015 15:31:48 3772 (0x0EBC)
    CAS.log
    =======
    Location update from CTM for content Content_6a5bb598-43c9-4923-95e0-a6fa3ec4224d.1 and request {65A53442-51A0-495A-960F-E3147FD676E6} ContentAccess 03/02/2015 15:31:48 3724 (0x0E8C)
    Download request only, ignoring location update ContentAccess 03/02/2015 15:31:48 3724 (0x0E8C)
    My site was crashed recently and we made this up from site backup. Other features including Application Deployment is working fine. I tried uninstallation and reinstallation of SUP too. But couldn't give any result.
    Please help.
    V I S H N U

    I verified all this logs but couldn't find any errors. Attaching the contents of DISTMGR.Log
    DistMgr.log
    ===========
    Found notification for package 'QP10002A' SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:37 4056 (0x0FD8)
    Used 0 out of 3 allowed processing threads. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:37 4056 (0x0FD8)
    Starting package processing thread, thread ID = 0x1DEC (7660) SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:37 4056 (0x0FD8)
    Sleep 3600 seconds... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:37 4056 (0x0FD8)
    STATMSG: ID=2300 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS= <Server> SITE=QP1 PID=3148 TID=7660 GMTDATE=Wed Feb 04 15:15:37.904 2015 ISTR0="Windows 7 patches" ISTR1="QP10002A" ISTR2=""
    ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="QP10002A" SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:37 7660 (0x1DEC)
    Start updating the package QP10002A... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:37 7660 (0x1DEC)
    CDistributionSrcSQL::UpdateAvailableVersion PackageID=QP10002A, Version=2, Status=2300 SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:37 7660 (0x1DEC)
    Taking package snapshot for package QP10002A SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:37 7660 (0x1DEC)
    Snapshot processing content with ID 16809628 ... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:38 7660 (0x1DEC)
    Taking snapshot for content 87f42587-6d52-4bf9-9f7e-03c5f06f666e from source
    \Updates\Windows_7_Patches\dd89c8a0-ec68-4f58-81d9-be5ac9543718">\\<Server>\Updates\Windows_7_Patches\dd89c8a0-ec68-4f58-81d9-be5ac9543718 SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:38 7660 (0x1DEC)
    The size of content is 412 KB SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:38 7660 (0x1DEC)
    STATMSG: ID=2376 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=<Server> SITE=QP1 PID=3148 TID=7660 GMTDATE=Wed Feb 04 15:15:38.429 2015 ISTR0="dd89c8a0-ec68-4f58-81d9-be5ac9543718" ISTR1=""
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="QP10002A" SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:38 7660
    (0x1DEC)
    Snapshot processing content with ID 16795826 ... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:38 7660 (0x1DEC)
    Taking snapshot for content ded59a17-a070-4629-8136-283014593c86 from source
    \Updates\Windows_7_Patches\c3909510-f16f-44b3-a605-cab122c8ac20">\\<Server>\Updates\Windows_7_Patches\c3909510-f16f-44b3-a605-cab122c8ac20 SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:38 7660 (0x1DEC)
    The size of content is 23 KB SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:38 7660 (0x1DEC)
    STATMSG: ID=2376 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=<Server> SITE=QP1 PID=3148 TID=7660 GMTDATE=Wed Feb 04 15:15:39.031 2015 ISTR0="c3909510-f16f-44b3-a605-cab122c8ac20" ISTR1=""
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="QP10002A" SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660
    (0x1DEC)
    The size of package QP10002A is 6960 KBytes SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    CDistributionSrcSQL::UpdateAvailableVersion PackageID=QP10002A, Version=2, Status=2376 SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    The source for package QP10002A has changed or the package source needs to be refreshed SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    Adding these contents to the package QP10002A version 2. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    Adding content c3909510-f16f-44b3-a605-cab122c8ac20. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    Adding content ded59a17-a070-4629-8136-283014593c86. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    Adding content dd89c8a0-ec68-4f58-81d9-be5ac9543718. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    Adding content 87f42587-6d52-4bf9-9f7e-03c5f06f666e. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    The Package Action is 1, the Update Mask is 32 and UpdateMaskEx is 0. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    Use drive D for storing the compressed package. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    Successfully created/updated the package QP10002A SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    STATMSG: ID=2311 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS= <Server> SITE=QP1 PID=3148 TID=7660 GMTDATE=Wed Feb 04 15:15:39.514 2015 ISTR0="QP10002A" ISTR1="" ISTR2="" ISTR3=""
    ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="QP10002A" SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    Start adding package to server ["Display=\\<Server>\"]MSWNET:["SMS_SITP1"]\\<Server>\... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    Will wait for 1 threads to end. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    Thread Handle = 000000000000279C SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 7660 (0x1DEC)
    Attempting to add or update a package on a distribution point. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 9456 (0x24F0)
    The distribution point is on the siteserver and the package is a content type package. There is nothing to be copied over. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:39 9456 (0x24F0)
    STATMSG: ID=2342 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=<Server>=QP1 PID=3148 TID=9456 GMTDATE=Wed Feb 04 15:15:39.686 2015 ISTR0="Windows 7 patches" ISTR1="["Display=\\<Server>\"]MSWNET:["SMS_SITE=QP1"]\\<Server>\"
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="QP10002A" AID1=404 AVAL1="["Display=\\<Server>\"]MSWNET:["SMS_SITE=QP1"]\\<Server>\" SMS_DISTRIBUTION_MANAGER 04/02/2015
    15:15:39 9456 (0x24F0)
    The current user context will be used for connecting to ["Display=\\<Server>\"]MSWNET:["SMS_SITE=QP1"]\\<Server>\. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:40 9456 (0x24F0)
    No network connection is needed to ["Display=\\<Server>\"]MSWNET:["SMS_SITE=QP1"]\\<Server>\ as this is the local machine. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:40 9456 (0x24F0)
    Ignoring drive C:\.  File C:\NO_SMS_ON_DRIVE.SMS exists. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:40 9456 (0x24F0)
    user(NT AUTHORITY\SYSTEM) runing application(SMS_DISTRIBUTION_MANAGER) from machine (<<Server>) is submitting SDK changes from site(QP1) SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:40 9456 (0x24F0)
    CreateSignatureShare, connecting to DP SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:42 9456 (0x24F0)
    Signature share exists on distribution point path
    \SMSPKGE$">\\<Server>\SMSPKGE$ SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:42 9456 (0x24F0)
    Sleep 30 minutes... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:42 3552 (0x0DE0)
    user(NT AUTHORITY\SYSTEM) runing application(SMS_DISTRIBUTION_MANAGER) from machine (<Server>) is submitting SDK changes from site(QP1) SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:42 9456 (0x24F0)
    Used 1 out of 3 allowed processing threads. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:43 4056 (0x0FD8)
    Sleep 3600 seconds... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:43 4056 (0x0FD8)
    STATMSG: ID=2330 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=<Server> SITE=QP1 PID=3148 TID=9456 GMTDATE=Wed Feb 04 15:15:43.947 2015 ISTR0="QP10002A" ISTR1="["Display=\\<Server>\"]MSWNET:["SMS_SITE=QP1"]\\<Server>\"
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="QP10002A" AID1=404 AVAL1="["Display=\\<Server>\"]MSWNET:["SMS_SITE=QP1"]\\<Server>\" SMS_DISTRIBUTION_MANAGER 04/02/2015
    15:15:43 9456 (0x24F0)
    StateTable::CState::Handle - (2330:1 2015-02-04 15:15:43.947+00:00) >> (2331:1 2015-02-03 13:00:26.735+00:00) SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:43 9456 (0x24F0)
    CStateMsgReporter::DeliverMessages - Queued message: TT=1401 TIDT=0 TID='7F6041B0-3EE2-427F-AB72-B89610A6331C' SID=2330 MUF=0 PCNT=2, P1='QP1' P2='2015-02-04 15:15:43.947+00:00' P3='' P4='' P5='' SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:43 9456
    (0x24F0)
    CStateMsgReporter::DeliverMessages - Created state message file: D:\Program Files\Microsoft Configuration Manager\inboxes\auth\statesys.box\incoming\16on4il1.SMX SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:44 9456 (0x24F0)
    Successfully send state change notification 7F6041B0-3EE2-427F-AB72-B89610A6331C SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:44 9456 (0x24F0)
    Successfully created/updated the package server in the data source SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:44 9456 (0x24F0)
    Performing cleanup prior to returning. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:44 9456 (0x24F0)
    DP thread with array index 0 ended. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:44 7660 (0x1DEC)
    DP thread with thread handle 000000000000279C and thread ID 9456 ended. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:44 7660 (0x1DEC)
    Created policy provider trigger for ID QP10002A SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:45 7660 (0x1DEC)
    Package QP10002A does not have a preferred sender. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:45 7660 (0x1DEC)
    A program for package QP10002A has been added or removed, therefore it needs to be replicated to all child sites. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:45 7660 (0x1DEC)
    Package QP10002A is new or has changed, replicating to all applicable sites. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:45 7660 (0x1DEC)
    CDistributionSrcSQL::UpdateAvailableVersion PackageID=QP10002A, Version=2, Status=2301 SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:45 7660 (0x1DEC)
    StoredPkgVersion (2) of package QP10002A. StoredPkgVersion in database is 2. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:45 7660 (0x1DEC)
    SourceVersion (2) of package QP10002A. SourceVersion in database is 2. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:45 7660 (0x1DEC)
    STATMSG: ID=2301 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=<Server> SITE=QP1 PID=3148 TID=7660 GMTDATE=Wed Feb 04 15:15:45.402 2015 ISTR0="Windows 7 patches" ISTR1="QP10002A" ISTR2=""
    ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="QP10002A" SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:45 7660 (0x1DEC)
    Exiting package processing thread. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:45 7660 (0x1DEC)
    Sleep 30 minutes... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:47 3552 (0x0DE0)
    Used 0 out of 3 allowed processing threads. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:48 4056 (0x0FD8)
    Sleep 3600 seconds... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:48 4056 (0x0FD8)
    Sleep 30 minutes... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:52 3552 (0x0DE0)
    Used 0 out of 3 allowed processing threads. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:53 4056 (0x0FD8)
    Sleep 3600 seconds... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:53 4056 (0x0FD8)
    Sleep 3600 seconds... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:15:53 4056 (0x0FD8)
    Sleep 30 minutes... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:31:50 3552 (0x0DE0)
    Found package properties updated notification for package 'QP10002A' SMS_DISTRIBUTION_MANAGER 04/02/2015 15:31:55 4056 (0x0FD8)
    Found notification for package 'QP10002A' SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:00 4056 (0x0FD8)
    Used 0 out of 3 allowed processing threads. SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:00 4056 (0x0FD8)
    Starting package processing thread, thread ID = 0x20FC (8444) SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:00 4056 (0x0FD8)
    Sleep 3600 seconds... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:00 4056 (0x0FD8)
    STATMSG: ID=2300 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=<Server> SITE=QP1 PID=3148 TID=8444 GMTDATE=Wed Feb 04 15:32:00.910 2015 ISTR0="Windows 7 patches" ISTR1="QP10002A" ISTR2=""
    ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="QP10002A" SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:00 8444 (0x20FC)
    Start updating the package QP10002A... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:00 8444 (0x20FC)
    CDistributionSrcSQL::UpdateAvailableVersion PackageID=QP10002A, Version=3, Status=2300 SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:00 8444 (0x20FC)
    Taking package snapshot for package QP10002A SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:00 8444 (0x20FC)
    Snapshot processing content with ID 16809628 ... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:01 8444 (0x20FC)
    Skipping content 87f42587-6d52-4bf9-9f7e-03c5f06f666e, 168 KB, since snapshot for this content already exists... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:01 8444 (0x20FC)
    STATMSG: ID=2376 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=<Server> SITE=QP1 PID=3148 TID=8444 GMTDATE=Wed Feb 04 15:32:01.085 2015 ISTR0="87f42587-6d52-4bf9-9f7e-03c5f06f666e" ISTR1=""
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="QP10002A" SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:01 8444
    (0x20FC)
    Snapshot processing content with ID 16795843 ... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:01 8444 (0x20FC)
    Skipping content dd89c8a0-ec68-4f58-81d9-be5ac9543718, 412 KB, since snapshot for this content already exists... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:01 8444 (0x20FC)
    STATMSG: ID=2376 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=<Server> SITE=QP1 PID=3148 TID=8444 GMTDATE=Wed Feb 04 15:32:01.142 2015 ISTR0="dd89c8a0-ec68-4f58-81d9-be5ac9543718" ISTR1=""
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="QP10002A" SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:01 8444
    (0x20FC)
    Snapshot processing content with ID 16795826 ... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:01 8444 (0x20FC)
    Skipping content ded59a17-a070-4629-8136-283014593c86, 6356 KB, since snapshot for this content already exists... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:01 8444 (0x20FC)
    STATMSG: ID=2376 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=<Server> SITE=QP1 PID=3148 TID=8444 GMTDATE=Wed Feb 04 15:32:01.203 2015 ISTR0="ded59a17-a070-4629-8136-283014593c86" ISTR1=""
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="QP10002A" SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:01 8444
    (0x20FC)
    Snapshot processing content with ID 16795825 ... SMS_DISTRIBUTION_MANAGER 04/02/2015 15:32:01 8444 (0x20FC)
    Skipping content c3909510-f16f-44b3-a605-cab122c8ac20, 23 KB, since snapshot for t
    V I S H N U

  • Wrong results after upgrading 10g database to 11.2.0.2.6

    Hi,
    Do anyone know, why the following query results are different?
    Not Working query:
    sql1:
    select col1 from tab1
    where col1 = (select '123' from dual)
    Working query:
    sql2:
    select col1 from tab1
    where col1 = '123';
    Both the sql1 and sql2 are returning same reseults in 10g database , but not in 11g.

    Pl post OS details along with sample outputs and explain plans from the the sql1 statement from the two databases. These MOS Docs may help also
    Things to Consider Before Upgrading to 11.2.0.2 to Avoid Poor Performance or Wrong Results [ID 1320966.1]
    Wrong Results on 11.2.0.2 with Function-Based Index and OR Expansion [ID 1264550.1]
    Wrong Results/No Rows for Sql Involving Functions in 11.2.0.2. [ID 1380679.1]
    HTH
    Srini

  • Report and data comming wrong after compress data with full optimization

    In SAP BPC 5.1 version to increase the sysetm performance we did full optimization with compress data.
    Theis process end with error, after login into system the report and values comming wrong,
    What is the wrong,how to rectify it
    Regards
    prakash J

    This issue is resolved,

  • Content Search Web Part displaying wrong Results for anonymous Users.

    HI Forum Group,
    I am getting Wrong results for my content search web part. The requirement is to show the News Description for the selected news item.
    I have a catalog site which stores News like 
    News1
    News2
    News3
    as Items. and i have connected this catalog in publishing site which is anonymous. In the publishing site created one page "News.aspx"added search results webpart which shows all the news item. Added one page "Description.aspx" to show
    description to show the selected news item.
    When ever user selects any news from news.aspx page it will redirected to description.aspx with the selected item ID
    The "Description.aspx" the search results page gets the data based on the URL by QueryString parameter as shown below
    The problem is, if i multiple items to open in tabs all the items are showing the data same as the first selected item, though the article ID is different.
    Thanks
    Sithender

    Hi,
    Thank you for your feedback on how you were successful in resolving this issue.
    Your solution will benefit many other users, and we really value having you as a Microsoft customer.
    Have a nice day!
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • NOT IN operator giving the wrong results

    DB version:10gR2
    Why is NOT IN giving the wrong results. Isn't NOT EXISTS operator a flawless alternative to NOT IN?
    create table my_table1 (col1 number);
    insert into my_table1 values (1);
    insert into my_table1 values (2);
    commit;
    create table my_table2 ( col1 number);
    insert into my_table2 values (1);
    commit;
    select * from my_Table1;
           COL1
              1
              2
    select * from my_table2;
           COL2
              1
      --correct result
      SELECT * FROM my_table1 t1 WHERE NOT EXISTS
    (SELECT * FROM my_table2 t2 WHERE t1.col1 = t2.col1)
           COL1
              2
    ---correct result using IN
    SELECT * FROM my_table1 t1 where col1 not in (select col1 FROM my_table2 t2);
           COL1
              2
    Inserting a NULL to my_Table2
    Now the query using NOT IN is returning wrong results.
    insert into my_table2 values (null);
    commit;
    SELECT * FROM my_table1 t1 where col1 not in (select col1 FROM my_table2 t2);
    no rows selected
    Query using NOT EXISTS is still giving the right results.
    SELECT * FROM my_table1 t1 WHERE NOT EXISTS
       (SELECT * FROM my_table2 t2 WHERE t1.col1 = t2.col1);
           COL1
              2

    ScottsTiger wrote:
    can i use NOT EXISTS(with a proper Co-related subquery) as a safe alternative to NOT IN?Depends on your data and what you need to achieve.
    Personally I avoid using NOT EXISTS or NOT IN if I can really help it.
    My preferred method is to outer join the tables together and then remove any resultant rows where a value exists and I didn't want one. ;)

  • Wrong results for context search on empty element tags

    I'm using Oracle DBMS 11.1 and 11.2 and created a context index on an XML column (section group: PATH_SECTION_GROUP).
    When entering a query like
    SELECT count(*) FROM my_table t WHERE contains (t.co_xml,'hasPath(/tag1/tag2)') > 0
    I get wrong results if tag2 is an empty element tag (<tag2/>) that appears somewhere within the
    XML instance, but NOT directly under tag1.
    E.g., the following XML instance is found (but shouldn't!):
    <a>
    <tag1>bla<tag3>bla</tag3></tag1>
    <tag4>bla<tag2/></tag4>
    </a>
    This seems to happen only for empty element tags. Is this a known bug and does anybody know a workaround?
    Thanks in advance for your help!
    Roman

    I am unable to reproduce the problem. Can you provide a copy and paste of an actual run, including create table, insert data, create index, and select, as I have done below?
    SCOTT@orcl_11g> select * from v$version
      2  /
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE     11.1.0.6.0     Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SCOTT@orcl_11g> create table my_table
      2    (co_xml     xmltype)
      3  /
    Table created.
    SCOTT@orcl_11g> insert into my_table values (
      2  xmltype ('<?xml version="1.0"?>
      3  <tag5>
      4    <tag1>bla<tag3>bla</tag3></tag1>
      5    <tag4>bla<tag2/></tag4>
      6  </tag5>'))
      7  /
    1 row created.
    SCOTT@orcl_11g> create index my_idx
      2  on my_table (co_xml)
      3  indextype is ctxsys.context
      4  parameters ('section group ctxsys.path_section_group')
      5  /
    Index created.
    SCOTT@orcl_11g> SELECT count(*)
      2  FROM   my_table t
      3  WHERE  contains (t.co_xml, 'hasPath (//tag1/tag2)') > 0
      4  /
      COUNT(*)
             0
    SCOTT@orcl_11g> SELECT count(*)
      2  FROM   my_table t
      3  WHERE  contains (t.co_xml, 'hasPath (//tag1/tag3)') > 0
      4  /
      COUNT(*)
             1
    SCOTT@orcl_11g>

  • Timestamp - wrong results during clock change

    When I run for example:
    SELECT TO_TIMESTAMP('28.03.2010 02:00:00','DD.MM.YYYY HH24:MI:SS') FROM dual
    on worksheet, I receive two different results:
    Script Output:
    28.03.2010 02:00:00
    Query Result:
    28.03.2010 03:00:00
    What is the reason for the wrong result in "Query Result"?
    Rainer

    Things that might influence, but could be different for you:
    - WinXP SP3 Catalonia/Spain locale (adjusts to summer-time)
    - AddVMOption -Duser.language=en
    - AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
    - sqldev NLS Language/Territory: American/America
    Hope that helps,
    K.

Maybe you are looking for

  • WRT54G2 and WRT54G locks-up (freezes) when blocking web sites using Access Restrictions

    I am convinced that a few Linksys routers such as WRT54G2 and WRT54G have a major issue when blocking web sites using Access Restrictions (Internet Access Policy). After a few hours of internet access by 15 wired users the Linksys locks-up and blocks

  • HT204053 Changing Apple ID

    When I set up my iPad some time ago I entered an Apple id, (e.g. xxx@ me.com) but subsequently I set up a different Apple id and password for ITunes store on my Mac and iPad. How can I change the Apple id in my iCloud Account ?

  • Creation of a Popup Menu for a Tree Node

    Hi Ppl,   I need to create a Pop-up Menu for a tree node in WebDynpro Application, please give me a "How to .." sort of material or a link which would have same sort of information... Also, My requirement is to call the pop-up on the right click of m

  • Table with two headers

    i have a designed a table with 2 headers(say H1 AND H2), and  dynamic body rows (with three columns) the issue is when the table is oveflowing in to next page only one of the header is showing on the next page, i have noticed that the option  " INCLU

  • Using external trigger channels with PCI-1422

    I need to trigger some 5 volt relays with my PCI1422 board similar to the way it is done with digital I/O on a standard board. Can this be done using the trigger channels? I have tried this and only get a 2V state change...