Forum Replies Created

Viewing 15 posts - 346 through 360 (of 708 total)

  • RE: Passed My Exam

    Congrats! 🙂

    Remember, folks, that certification isn't necessarily proof of expertise, but proof to yourself that you can go outside your comfort zone and learn new things.

    It's also proof to employers...

  • RE: Increasing CPUs hurts Perf

    agreeing with Patrick in a big way (wait stats is the key to, um, well, everything)

    If you see lots of CMEMTHREAD (not a normal wait) then it's off to patch...

  • RE: Partition Alignment & Stripe Size Best Setup

    Provided you are formatting the disk with Windows2008 (just guessing, you're using SQL2008 so I hope you're also using Win2008), you'll get an automatic disk partition offset of 1MB. Leave...

  • RE: Increasing CPUs hurts Perf

    check the wait type of the running statements when things are spiking in CPU... if you seed a lot of CMEMETHREAD waits then you could be hitting a bug in...

  • RE: Trying to capture no record inserted.

    The PK violation is error severity 14 - it's a correctable error that leaves the XACT_STATE() value at 1.

    The better colution is to not program by exception, to not use...

  • RE: Dectecting Memory Pressure

    I've spoken about this at a few SQL Saturdays and SQL Rally (or at least it's been part of the presentations). This seems like a good topic for me to...

  • RE: Inserting XML into SQL Server 2008 table

    Use the XQuery .nodes method to shred the XML into a series of individual nodes, then the XQuery .value method on those nodes to extract values that can be manipulated...

  • RE: Remove or stop caching of specific inserts

    The inserts look like:

    insert into ScanTable (field, field, field, field, field,) values

    ("value","value","value","value","value")

    Have you tried the database setting 'Force Paramaterization'? Turning that on for the database should turn those calls into...

  • RE: Missing Drive where SQL Server instance installed - Urgent help required

    viduvs (6/16/2011)


    SQL service for that instance is not starting up giving following error:

    "The SQL Server service terminated with service-specific error 17058 (0x42A2)"

    Application logs show up an error that it...

  • RE: nodes and xml

    Here's a hint:

    SELECT ParamValues.Practices.value('../@ID','VARCHAR(20)') AS OfficeID,

    ParamValues.Practices.value('@ID','VARCHAR(20)') AS PracticeID

    FROM @Offices.nodes('/Offices/Office/Practice') as ParamValues(Practices)

  • RE: event notifications

    There's a few examples in Book Online, but the key point is the Event Notifications is that there are no Events for DML.

    To see all of the event types for...

  • RE: %used: sp_spaceused vs. sys.sysindexes.used?

    Get rid of the WHERE clause and you'll see the sys.partition_stats query return data similar to sp_spaceused.

    -Eddie

  • RE: Query for left join

    If I understand the question correctly, you're asking the difference between this:

    LEFT JOIN V_ReportComputerDetailsSoftware r ON r.Client = c.Client

    AND r.ManufacturerName = s.Mfg AND r.Product = s.Name AND r.VersionNumber =...

  • RE: UPDATE with WHERE clause frowned upon by OUTPUT?

    Being SQL Server 2008, you can use Composable DML, which lets you wrap a statement generating an OUTPUT set with another DML operation:

    INSERT INTO [Sandbox].[dbo].[CarProductionHistory](CarID, BuildStateID, DateofState)

    SELECT CarID, BuildStateID, DateofState

    ...

  • RE: Insert into table using XQuery and XML document

    The link only gets you so far, as you have to pivot the results because your elements are key-value pairs instead of named elements.

    I saw nothing in the sample xml...

Viewing 15 posts - 346 through 360 (of 708 total)