Forum Replies Created

Viewing 15 posts - 12,316 through 12,330 (of 22,214 total)

  • RE: drop a login no longer works here

    Look up sp_changedbowner in the Books Online. That will let you change the database owner to another login and then you can drop hers. I would recommend dropping her login...

  • RE: drop a login no longer works here

    As long as the login isn't mapped to users that own objects or databases, sure you can drop it. But I would check the ownership very carefully before you drop...

  • RE: Proc faster when ANSI_WARNINGS is OFF

    And with all that, now it's going to be even harder trying to figure out why you're getting performance differences and where those differences are coming from. I hope you're...

  • RE: Proc faster when ANSI_WARNINGS is OFF

    61 different statements... You're on your own.

    I will note that statement 7 & 8 (two of the highest, one in ON & one in OFF) both show ANSI_WARNINGS set to...

  • RE: Left outer join and subquery.

    todinhkhoi (6/13/2011)


    Dear DAN and GRANT

    Thank you for the instructions. I followed them, and finally I was successful in retrieving the data I wanted. I have another 2 questions...

  • RE: Are the posted questions getting worse?

    Jack Corbett (6/13/2011)


    Wow, only took about 40 minutes to catch up on the Thread.

    Thanks for the congratulations. I'm looking forward to the new opportunities and challenges. ...

  • RE: Stored Proc Benchmarking

    Yeah, it's a valid approach. Just as long as you know that those procs are cache dependent which means you could lose queries as they age out of the cache,...

  • RE: Proc faster when ANSI_WARNINGS is OFF

    Are you getting different execution plans depending on if it's on or off?

  • RE: Stored Proc Benchmarking

    sql_handle is how you connect to sys.dm_exec_query_text.

    If you're concerned more about procedures, in 2008 you can use sys.dm_exec_procedure_stats. Not available in 2005, but it is 2008.

  • RE: Database Engine Tuning Advisor

    Sorry, I can't help you there. I don't have a 2000 instance available any more to test it out. You might try posting in the 2000 forum.

  • RE: CXPACKET Wait - advice on Max Dop setting

    Plus, there is no one, perfect answer. So you set the MAXDOP to 1 and "fix" the CXPACKET problem, but now you've got queries that are taking forever because they...

  • RE: Stored Proc Benchmarking

    I wouldn't mess with all the aggregations. sys.dm_exec_sql_stats is an aggregate of the performance already. You won't get differences. Also, why are you using that function instead of sys.dm_exec_sql_text and...

  • RE: Database Engine Tuning Advisor

    Yep, you could hit issues. Also, the recommendations might include statements (such as the INCLUDE statement, ha) that won't work on 2000. There was a tuning advisor for 2000 databases....

  • RE: Are the posted questions getting worse?

    Thought I'd share. My wife ordered this book and I finished it just now. Having dealt with a problem sleeper (and still dealing with him at age 13), this thing...

  • RE: Are the posted questions getting worse?

    Jack Corbett (6/13/2011)


    Haven't been on here in awhile, and haven't even tried to catch up yet. I've been packing and cleaning the last 2 weeks and tomorrow is the...

Viewing 15 posts - 12,316 through 12,330 (of 22,214 total)