Viewing 15 posts - 256 through 270 (of 684 total)
You could force a page lock by using the paglock hint. I'm not sure on the implications on doing this but Kalen Delaney wrote a good article in SQL...
March 28, 2008 at 4:22 am
UDBNT (3/28/2008)
March 28, 2008 at 3:59 am
At first glance I can't think of a way of doing this without a cursor. But essentially you'd want to cursor through each row and then split the agencies...
March 28, 2008 at 3:54 am
I just realised that my previous post didn't necessarily give you a solution.
You could try and filter the number of rows you're returning even further. This will...
March 28, 2008 at 3:41 am
This isn't so much how the optimizer works but how locking works.
It all depends on how many rows your query returns. If it returns too many rows then SQL...
March 28, 2008 at 3:31 am
Don't think so. I just created a test function and created a comment that was 11,000 lines long and it made no difference to the execution times. I...
March 28, 2008 at 2:16 am
Unfortunately there aren't any T-SQL commands for this.
You'd have to track data modifications yourself by implementing your own solution. For example, you could add a Last_Modified column and ensure...
March 28, 2008 at 2:02 am
Kiran,
Try dbcc show_statistics.
dbcc show_statistics('kiranaddress.table_a', )
--you can supply statistics name or column name (assuming there are stats on the column you specify) in place of index_name.
March 28, 2008 at 1:59 am
Pam Pinnacle (3/26/2008)
I am going to create login names by removing the @companyname.com from...
March 26, 2008 at 8:26 am
Jeff Moden (3/26/2008)
Matt Miller (3/26/2008)
Jeff - George has inherited one of your long-term Nemeses as a problem ("manual" identity fields, and yes, used RBAR).
How do you know that, Matt? ...
March 26, 2008 at 8:16 am
George Heinrich (3/26/2008)
There has to be a way to have SP's in transactions and yet still allow multiple calls...isn't there?
Hey George,
Looks like this is related to the problem you posted...
March 26, 2008 at 7:09 am
Ankit Mathur (3/26/2008)
Can you please tell me how did you got IO stats for just one query.
I'm new to SQL and am trying to learn some techniques for Performance Tuning....
March 26, 2008 at 6:36 am
I think you might need to add the user to some of the roles in the msdb database - in addition to the TargetServerRole. I can't quite remember now...
March 25, 2008 at 9:55 am
As far as I'm aware the only thing that could be affected are the statistics, so when you're detaching make sure that the @skipchecks parameter is set to false (or...
March 25, 2008 at 9:51 am
vijay (3/25/2008)
Non-SysAdmins have been denied permission to run DTS Execution job steps without a proxy account. ...
March 25, 2008 at 8:55 am
Viewing 15 posts - 256 through 270 (of 684 total)