Viewing 15 posts - 5,761 through 5,775 (of 5,842 total)
1) When you dropped/recreated the sproc (without the variable kludge), did you execute it immediately with an appropriate batchid BEFORE executing the SELECT statement in isolation?
2) If possible (be...
May 14, 2007 at 10:10 am
>>Dropping and recreating the proc helps to remove any previous query plans from the proc. Generally its a good practice to drop/recreate as
>>Is this technic any better than...
May 14, 2007 at 7:14 am
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 =...
May 12, 2007 at 2:43 pm
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...
May 10, 2007 at 10:42 am
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...
May 10, 2007 at 9:15 am
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...
May 10, 2007 at 9:06 am
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...
May 10, 2007 at 9:00 am
>>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...
May 9, 2007 at 8:51 am
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...
May 9, 2007 at 8:43 am
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...
May 9, 2007 at 8:43 am
Better would be to use SSIS and let it handle data cleansing/rejecting for you! 🙂
May 8, 2007 at 9:47 am
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...
May 8, 2007 at 5:13 am
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...
May 8, 2007 at 5:09 am
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...
May 8, 2007 at 5:05 am
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...
May 7, 2007 at 2:01 pm
Viewing 15 posts - 5,761 through 5,775 (of 5,842 total)