Viewing 15 posts - 526 through 540 (of 1,170 total)
Hi
I use the standard report "Index usage statistics" in ssms. I analyse the Index usage statistics and the Index operational statistics to determine the degree of usefulness of an index.
June 20, 2014 at 1:39 pm
It does depend how your delete query is doing.
If it makes a table scan for the rows to delete then it can cause a table-level lock.
If it uses an index...
June 20, 2014 at 1:26 pm
ScottPletcher (6/20/2014)
Is snapshot isolation in use?
The fact that his delete had been waiting to commit tells you that it's not a snapshot isolation level in use.
June 20, 2014 at 1:13 pm
GilaMonster (6/19/2014)
The problem, however, is that statistics IO lies any time there are scalar UDFs in use. The profiler trace doesn't.
Thanks for this Gail!
June 20, 2014 at 12:23 pm
The question "... so he can see the reads/writes used by his queries ..."
Info for logical, physical, read-ahead, ... is given.
What about the writes?
I set
SET STATISTICS IO
and made thousand...
June 20, 2014 at 12:21 pm
What about in "Computer management"? You should have two menu-nodes "SQL Server Configuration Manager". Under each "SQL Server Configuration Manger" you should have "SQL Server network configuration (32bit)" and "SQL...
June 20, 2014 at 11:46 am
Don't underestimate any job. What if I were your manager and I told you to develop code to restore databases from one server to another automatically, so any time we...
June 20, 2014 at 11:37 am
Revenant (6/20/2014)
SQLRNNR (6/20/2014)
Ed Wagner (6/20/2014)
jasona.work (6/20/2014)
Ed Wagner (6/20/2014)
Stuart Davies (6/20/2014)
BWFC (6/20/2014)
AtheistMuse
Beckett
Castle
Car Crash
suspense
suspenders (different meaning in UK and US English...)
Suarez
June 20, 2014 at 11:25 am
Koen Verbeeck (6/17/2014)
Easy one (as I recently read this blogpost: Change data through CTE’s[/url]). Thanks for the question!
+1
Thanks too
June 17, 2014 at 3:43 am
Hi
When you make changes to the executable you can recompile the SP.
You could also create the SP with recompile option, so it removes and creates new plans for next...
June 15, 2014 at 4:57 am
Jack Corbett (6/10/2014)
My first suggestion would be to batch the updates using explicit begin and commit tran statements and...
June 11, 2014 at 6:26 am
rockstar283 (6/7/2014)
If we reseed the identity to -1 then the 2nd row in the table will have id 0..which is wrong
..and what is your desire for the second row?
June 7, 2014 at 9:33 pm
Hi
You reseed the identity columns with the following command
dbcc checkident('YourTable',reseed,reseed_value)
you can set the reseed_value = -1 and the identity starts from -1, otherwise it by default starts from 1.
Reference http://technet.microsoft.com/en-us/library/aa933196(v=sql.80).aspx
June 7, 2014 at 4:06 pm
Hi
Did you try to find out the value for which the conversion is failing?
June 7, 2014 at 3:59 pm
Viewing 15 posts - 526 through 540 (of 1,170 total)