Forum Replies Created

Viewing 15 posts - 5,761 through 5,775 (of 5,841 total)

  • RE: Performance tuning

    Jeff, be careful with your derived table example:

    --===== Derived table

     SELECT @BitBucket = t1.RowNum

       FROM JBMTest t1,

            (SELECT RowNum FROM JBMTest WHERE RowNum <= 1000000) d

      WHERE t1.RowNum = d.RowNum

    IIRC, Microsoft...

  • RE: Regarding a deadlock scenario

    1) A web search and also a perusal/search of BOL (book online for sql server) will provide a wealth of information about the tempdb.  Note that it's usage has changed...

  • RE: Problem with large delete (sql 2000)

    I agree that in this case (70% flush) a bulk migration process is most efficent.  However, since there is already much discussion in this thread about using a batch delete...

  • RE: RAM incrases and Queries time out

    1) Definitely limit max memory.

    2) Have you check perfmon for paging?  This is likely the 'actual' cause of the slowness.  You need to set max memory for sql such that...

  • RE: Tdb log filling up

    Personally I would be doing whatever is necessary to get what I assume is very important off-hours jobs to complete successfully.  So stop fooling around and simply make tempdb as...

  • RE: cannot add (maxdop 1) option to a sql2000 view

    >>an answer no would have probably been better than a link

    I strongly disagree with that statement.  This is a forum, and thus (IMHO) a learning environment.  Not only does the...

  • RE: Performance tuning

    1) IN and JOIN run in same time because the optimizer is most likely rewriting the IN as a JOIN under the covers (show estimated query plan for both to...

  • RE: Performance tuning

    1) IN and JOIN run in same time because the optimizer is most likely rewriting the IN as a JOIN under the covers (show estimated query plan for both to...

  • RE: Char or Int, Char or Int which one is correct

    Better would be to use SSIS and let it handle data cleansing/rejecting for you!  🙂

  • RE: DB Artisan

    I have actually been using their (embarcadero) products for many years now.  I have become increasingly disappointed with their quality control over time.  The latest versions I upgraded too have...

  • RE: DBCC DBREINDEX, scan density not improved

    I get the same problem on any number of production databases when using sys.dm_db_index_physical_stats as the source of density/frag information too.  Part of it is due to having databases that don't...

  • RE: Strange blocking

    1) are you absolutely certain that it is the select statement that is blocking?  use sp_who2 active to determine the blocking spid and dbcc inputbuffer to see the statement of...

  • RE: Recommended book for practising writing SQL queries

    Funny how different people can read the same post and take away two completely different ideas about what was said/asked!!  :-))

    In my 15 years or so of database development (10...

  • RE: Recommended book for practising writing SQL queries

    >>...We have a need to only every insert data, no updates. ...

    Can't you simply do a not exists clause to see if the record of concern already exists?  I can't...

  • RE: 3 questions on database mirroring

    >>"Microsoft support policies do not apply to the database mirroring feature in SQL Server 2005 ........ Database mirroring should not be used in production environments, and Microsoftsupport services will not...

Viewing 15 posts - 5,761 through 5,775 (of 5,841 total)