Viewing 15 posts - 16 through 30 (of 53 total)
Optimization is not easy and really depends on your application an needs. You can change the isolation level (see books online and refer to the SET TRANSACTION ISOLATION LEVEL command...
April 30, 2007 at 9:17 pm
You did replace ##temptablename with the name of the table that you see in your database, right? For Example ##MyTable?
April 30, 2007 at 4:02 pm
Sridhar,
The steps should NOT HAVE deleted anything. They were supposed to return results. Please post these results so I can better see what's going on. That was the reason for...
April 30, 2007 at 3:21 pm
I have read the SQL architecture books several times and cannot recall any lock coverage in granular details, which is what you are looking for. Very interesting question. I would...
April 28, 2007 at 1:23 pm
I don't believe that the above is correct. The shared locks will not be released in the example below (which is not issued from a query but from an INSERT...
April 27, 2007 at 9:30 am
You got the parameters in the CHARINDEX backwards. THe space should be the first param.
April 27, 2007 at 9:16 am
If you'd like to dig into the speed problems with this particular column- can you please post the DDL (schema) of the table?
April 27, 2007 at 9:12 am
What is the data type for the ProdDate column?
How about using the following statement instead? There is no need to convert datetime back to itself and the 102 doesn't help...
April 27, 2007 at 8:49 am
Do you understand how b-trees work?
Look at the b-trees and SQL architecture in the following best-practices presentation:
http://education.sqlfarms.com/ShowPost.aspx?PostID=797
You can get it in other places on the web. This presentation...
April 27, 2007 at 8:39 am
How are you filtering the data? Can you please post the T-SQL statement(s)?
April 27, 2007 at 8:30 am
"It DID sound like a shameless plug... "
All is fair in love and war... (Francais Edward Smedley)
April 27, 2007 at 4:55 am
The problem posted above says that there are 5 cols that uniquely identify each row EXCEPT for one row that has dups (i.e., values...
April 26, 2007 at 4:12 pm
Yes to all, but there may be simpler solutions.
Can you please run the following SQL statements and post the results?
1.
USE MASTER
SELECT OBJECT_ID('tempdb..##TempTableName')
2. Run the below and see if anything...
April 26, 2007 at 4:03 pm
Hmm... What about the insertion of 1 row among all duplicate rows? That's where the challenge is
April 26, 2007 at 3:47 pm
Viewing 15 posts - 16 through 30 (of 53 total)