Forum Replies Created

Viewing 15 posts - 13,381 through 13,395 (of 22,213 total)

  • RE: Contention between TRUNCATE/INSERT and SELECT WITH (NOLOCK)?

    I wold get rid of the ROWLOCK hints. By putting the hint in place, you're forcing the optimizer to use row locks on inserts when page locks or even table...

  • RE: Naming conventions issue

    I agree. Don't argue with them (naming convention arguments are such a waste of time). But do ask to document the standard, just so you can better comply with...

  • RE: Naming conventions issue

    If they can at least explain their naming convention, follow it. Have you done it in a way that is clear and at least reasonably accurate? Yes. But that doesn't...

  • RE: Required help regarding Performance Tuning of Query retrieving data from 30 Million records

    Also, while it might appear to help performance, that NOLOCK hint is potentially problematic.

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (2/3/2011)


    Grant Fritchey (2/3/2011)


    It's just silly to obscure the language so badly when you're talking tech. All our little abbreviations & code words make it hard enough to understand...

  • RE: Are the posted questions getting worse?

    I have to say, it's entertaining as hell. You guys should keep poking him/her (most likely him). I'm so glad that's the exception, not the rule, for youngsters posting in...

  • RE: Are the posted questions getting worse?

    jcrawf02 (2/2/2011)


    Anybody using non-iPad tablets? If so, which one(s)?

    I've only used the iPad. But the Toshiba that's due out in the spring looks fantastic. It's a Droid and I'd go...

  • RE: Strange Problem

    A query similar to this will show what you need:

    SELECT deqp.query_plan

    FROM sys.dm_exec_requests AS der

    CROSS APPLY sys.dm_exec_query_plan(der.plan_handle) AS deqp

    CROSS APPLY sys.dm_exec_sql_text(der.sql_handle) AS dest

    WHERE ...

    In the WHERE clause, not sure what you...

  • RE: transaction in 2 so

    Something like this:

    BEGIN TRANSACTION MyTran1

    EXEC dbo.MyProcA

    BEGIN TRY

    BEGIN TRANSACTION MyTran2

    EXEC dbo.MyProcB

    COMMIT TRANSACTION MyTran2

    END TRY

    BEGIN CATCH

    ROLLBACK...

  • RE: Strange Problem

    Yes, you can query the DMV, sys.dm_exec_query_plan. You just have to combine it with sys.dm_exec_requests to get the plan_handle while it's running.

  • RE: Strange Problem

    Check the execution plans. See if they're different. Both tests are against the same server? If not, look for differences there. Look for blocking... Not being there, it's hard to...

  • RE: NEED HELP ASAP!!! Cannot shrink transaction log for prod db!!!

    If you can't shrink those files it's because SQL Server is retaining the transaction information. That usually means replication, log shipping, or mirroring is active. That's where I'd focus at...

  • RE: Strange Problem

    Are you passing it the same parameters? Are the ANSI settings the same between the app and SSMS?

  • RE: NEED HELP ASAP!!! Cannot shrink transaction log for prod db!!!

    Try adding a file on a different drive to the database as a log file. That should give you enough space so that you can then truncate it.

    Also, if the...

  • RE: transaction in 2 so

    If you nest the transactions, start one that wraps both procedures and start a second that only wraps the second procedure, you can rollback the second transaction without rolling back...

Viewing 15 posts - 13,381 through 13,395 (of 22,213 total)