Viewing 15 posts - 2,686 through 2,700 (of 5,841 total)
SELECT CASE WHEN number%3 = 0 THEN 0 ELSE number END AS a
INTO #tmp
FROM kgbtools.dbo.BigNumbers
(100000 row(s) affected)
CREATE CLUSTERED INDEX idx ON #tmp (a)
DBCC freeproccache
go
SELECT *
FROM #tmp...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 6, 2013 at 8:15 pm
Jeff Moden (3/6/2013)
TheSQLGuru (3/6/2013)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 6, 2013 at 7:22 pm
So, you update the DOB with the sproc UPDATE statement, and then the trigger updates the DOB too (after removing the time)? Uh, maybe just strip off the time...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 6, 2013 at 3:20 pm
My vote is for the huge covering index being the culprit here...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 6, 2013 at 1:18 pm
shaycullen (3/6/2013)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 6, 2013 at 8:58 am
Jeff Moden (3/6/2013)
kk1173 (3/5/2013)
SELECT minormkt
,Sum(admits) as 'Total Admits' ,Sum([days]) as 'Total Days' , sum(OppAdm) as...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 6, 2013 at 8:15 am
1) http://blogs.msdn.com/bartd/archive/2006/09/09/Deadlock-Troubleshooting_2C00_-Part-1.aspx. Note there are 2 additional parts to this blog series.
2) With such a complex construct (2000 line sproc, trigger(s) in play, etc) you may be...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 6, 2013 at 8:06 am
shaycullen (3/6/2013)
I have a 3rd party application that allows me to run SQL against the...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 6, 2013 at 7:59 am
"always on" and readable secondaries is just improved database mirroring.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 6, 2013 at 6:20 am
shaycullen (3/6/2013)
I have setup a clustered environment for my SQL Server database and configured Always On replication with no issues, everything seems to be working perfectly, however I have one...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 6, 2013 at 6:19 am
Database mirroring tracks (and exposes via the database mirroring monitor gui) a variety of metrics about delay, ship rate, restore rate, how far behind, etc. See books online topic...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 5, 2013 at 3:20 pm
Lowell (3/5/2013)
Create table tbname (colname...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 5, 2013 at 6:43 am
with that few spindles I would simply do a 12-disk RAID10 set and drop everything on it. Spindle-aggregation is usually a good thing. I have had good success...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 4, 2013 at 10:48 am
surprisingly linear!
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 2, 2013 at 9:27 pm
Jeff Moden (3/2/2013)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
March 2, 2013 at 11:36 am
Viewing 15 posts - 2,686 through 2,700 (of 5,841 total)