Forum Replies Created

Viewing 15 posts - 18,766 through 18,780 (of 22,214 total)

  • RE: SQL Server 2000 Stored Proc. Tuning

    1) Actually for performance, I'd do this:

    IF NOT EXISTS (SELECT * FROM Users WHERE UserID = @UserId)

    BEGIN

    If you need to use the parameter value @Name later, then the first choice...

  • RE: Script out Profiler Template?

    You guys are describing how to save the trace definition, not the template. Is that what you need Brandie?

  • RE: How does DTA decide on an index for large join queries?

    I don't know the precise mechanisms (you'll need to ask Microsoft) that the DTA uses, but I know that it relies on the statistics on the indexes and tables and...

  • RE: The T-SQL Quiz

    Jeff Moden (1/13/2009)


    True enough, 2000 is out of support... now, tell me it's out of use. Hmmm... that would make a good survey question... I'll think there's almost as...

  • RE: merge two databse into one by appending data of one to another

    If you're not using SSIS, you might want to look into it.

  • RE: What source control do you use?

    I've used VS2008 TSDBE in a team environment with the database objects all in source countrol in TFS. It works really well, especially the new GDR version that works with...

  • RE: Risky Backups

    Functionally, I don't see any major difference between the two. Seriously. However, since we're dealing with human beings, I agree with you. Never over-write an existing back-up, using a single...

  • RE: The T-SQL Quiz

    Jack Corbett (1/12/2009)


    Sergiy (5/28/2007)


    If you don't specify the version that means it must work on EVERY version, not only the one you know.

    Of course these means that CTE's are out...

  • RE: SORT in execution plan, but query doesnt have an order by

    Can post the whole execution plan? Save it as .sqlplan file and zip it up.

    On a guess, it's performing an aggregation to satisfy the criteria. It might be accessing the...

  • RE: Automatic Restore of database

    rons (1/12/2009)


    I am confused about 2 things regarding the restore script:

    1) What is the "logical device" and how is that usually expressed? Same question for the physical device location?

    ...

  • RE: Should i change table design to improve performance

    gary (1/12/2009)


    I think ive just found a snag to the previous code

    Im on SQL Server 2000 and i read CTEs are not supported?

    From what ive read also, my first example...

  • RE: highest unused ID

    Beating accepted. 😀

    I just remember seeing the solution in his book. It's not something I played with a lot myself, mainly because I long stopped worrying about gaps in an...

  • RE: Are the posted questions getting worse?

    Yeah, but "reflect in another block"?

  • RE: data block

    Utterly and completely lost me on that one.

  • RE: Are the posted questions getting worse?

    Jack Corbett (1/9/2009)


    Grant Fritchey (1/9/2009)


    Jack Corbett (1/9/2009)Hey, that's why I've spent the last 2+ months in NH.

    Because my wife told you too?

    Every married man has a "She who must be...

Viewing 15 posts - 18,766 through 18,780 (of 22,214 total)