Forum Replies Created

Viewing 15 posts - 1,036 through 1,050 (of 5,504 total)

  • RE: Select where statement issue

    Salil-386686 (9/2/2011)


    Hi

    I think this would be a better bet

    select * from Form where FromID not in(3,4)

    Thanks

    Salil

    I recommend to run both versions and compare the exection plans... 😉

    (Hint: FromID not in(3,4)...

  • RE: 50 Gb msdb ate disk

    juan08 (9/2/2011)


    Thank you for helping ALZDBA.

    The guy that came yesterday freed some space and the server is up and running, but the msdb is still 42GB in size. He didn´t...

  • RE: 50 Gb msdb ate disk

    Thank you Johan for "joining the party"!!! Much appreciated.

    Your script should help to narrow it down even further.

    One thing I noticed:

    In the last section of the script where END Conversation...

  • RE: Are the posted questions getting worse?

    Is there a Service Broker guru around?

    I could need some help on this thread: http://www.sqlservercentral.com/Forums/FindPost1167028.aspx

    I think I narrowed it down to the WMIEventProviderNotificationQueue associated with the

    SQL/Notifications/ProcessWMIEventProviderNotification/v1.0 message type.

    But since...

  • RE: 50 Gb msdb ate disk

    juan08 (9/1/2011)


    One last question, what do you think of doing this:

    http://sqlplanet.blogspot.com/2008/07/recreate-corrupt-msdb-database.html

    Regards,

    Juan

    A clear and easy answer: NO!!!!!

    As long as you don't know what process is responsible for the messages, rebuilding the...

  • RE: Need help with cte or self Join

    What would be the logic to populate those values?

    Do you already have the columns defined?

    Is the start value a running total?

  • RE: Select where statement issue

    What doesn't work as expected?

    The following code snippet does neither return 3 nor 4:

    DECLARE @form TABLE (FromID INT)

    INSERT INTO @form VALUES (1),(2),(3),(4),(5)

    SELECT *

    FROM @form

    WHERE FromID <> 3 AND...

  • RE: 50 Gb msdb ate disk

    It seems like there is no processing logi at all to Receive the messages and actually perform any actions based on it.

    To get someone in to look at the system...

  • RE: OPENXML Query Help.....

    Change your query to

    SELECT

    nodeParams.value('PName[1]','VARCHAR(250)') AS PName,

    nodeParams.value('PGrpId[1]','INT') AS PGrpId,

    nodeParams.value('AsOf[1]','DATETIME') AS AsOf,

    nodeSummStat.value('TrackError[1]','FLOAT') AS TrackError,

    nodeSummStat.value('S_V_95[1]','FLOAT') AS V_95,

    nodeSummStat.value('S_V_99[1]','FLOAT') AS V_99,

    nodeSummStat.value('PValue[1]','FLOAT') AS Value,

    D2.TracingDetails,

    D2.SysDate,

    D2.Name

    FROM XmlDataTable D1

    OUTER APPLY D1.ResultXML.nodes('SinglePVar') nodeslist(nodeEntry)

    OUTER APPLY nodeEntry.nodes('Params') nodeslist2(nodeParams)

    OUTER APPLY nodeEntry.nodes('SummStat') nodeslist3(nodeSummStat)

    LEFT OUTER...

  • RE: 50 Gb msdb ate disk

    We're getting closer...

    As expected, it's a ServiceBroker communication causing the issue. Namely a WMI Provider. But at this point I'm getting lost since I've never used WMI. It seems like...

  • RE: 50 Gb msdb ate disk

    What does the following statement return:

    SELECT *

    FROM sys.service_queues

    WHERE object_id=1165247206

    I still assume it has to do with ServiceBroker.

    About 6000 rows in sys.conversation_endpoints sounds unusual...

    Could you also...

  • RE: Help with Deadlock

    It seems like the function is called 14 times (once for each SELECT value). It might help to shred the data using the function and insert it into an indexed...

  • RE: Code Speed

    I would check if the following section of the code is one of the performance killers:

    CASE WHEN A.TransactionType in ('I', 'D', 'DYS', 'E') AND LEN(RTRIM(A.Reference)) = 4 THEN

    (SELECT...

  • RE: Help with Deadlock

    You'll need to look at the performance of each query. It seems like both can be optimized.

    What does the fnOrderDetailsXML() function actually do? Can you post the code of it?...

  • RE: Insert More than 2GB Data into the Column

    angadsk83 (8/30/2011)


    Data type is ntext.Its an requirement from the client.

    If ntext is a requirement from the client, then you cannot store more than 2GB in the db.

    You could store the...

Viewing 15 posts - 1,036 through 1,050 (of 5,504 total)