Viewing 15 posts - 22,036 through 22,050 (of 22,224 total)
We usually run this once a week on production servers:
sp_cycle_errorlog
We generally only keep the four weeks around. If you want to archive them after you cycle them,...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 18, 2007 at 4:29 am
In general, you don't want to. TSQL is set based and works best when you keep that in mind.
For example, where I work, we will usually write a pair...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 18, 2007 at 4:24 am
Thinking about it, that's a somewhat inadequate answer I gave.
Referring to Ambler's book on refactoring, of course you want to first add the new columns. Then you have a decision...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 17, 2007 at 6:29 am
I'm not sure I agree on this one. My manager came out of sales & has few technical skills but he's doing a pretty good job managing the team. His...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 16, 2007 at 8:11 am
If I were going to refactor this, I'd leave the existing column in place as a calculated column and then split the actual data storage into two other columns. My...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 16, 2007 at 6:35 am
Good article. Interesting points. I've been at both extremes of the scale at large & small companies. Heck, I even went through the management change at a large company where...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 16, 2007 at 6:14 am
You mean something like this?
SELECT DATEPART(month,t.SalesDate) AS Month,SUM(t.SalesQuantity),SUM(t.SalesAmt)
FROM tmpsalestarget t
GROUP BY DATEPART(month,t.SalesDate)
ORDER BY Month
Or are you trying to get them by day (1-31)?
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 11, 2007 at 7:05 am
Retire? What the heck is that?
I don't know that I can "retire" from being a geek. Even if I stop earning a living working with computers, I'll still be doing...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 5, 2007 at 5:54 am
I have to agree. I'm stuck between option 2 & 3 (with occasional forays into 4). Since defaults aren't readily visible to the developers working on stored procs and since...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 4, 2007 at 5:35 am
Neil Armstrong. I watched him walk on the Moon when I was 6 and it made me crazy for science (and science fiction). I tried to follow in his foot...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
December 22, 2006 at 3:52 am
I'm going with the DBA answer... it depends.
Microsoft showing us how well mirroring works, I want a live demo, crashes & all. If it's really going to slice, dice...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
December 1, 2006 at 5:34 am
I occured to me that I have at least one anecdotal story that may point to how the editorial policy may be applied. I wrote an article for Simple Talk...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
November 25, 2006 at 5:58 am
As to how independent should you be, how independent can you be. I'm not talking about Red Gate, I'm talking about Microsoft. Personally, where Microsoft leads, I follow. Not because...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
November 24, 2006 at 5:45 am
Go here, read.
http://www.sqlservercentral.com/columnists/pressrelease/2696.asp
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
November 22, 2006 at 7:19 am
I agree that it was overall a pretty lame presentation. I also thought the questions were silly considering the audience. Seriously, at PASS, who cares about Linux? However, I want...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
November 22, 2006 at 5:24 am
Viewing 15 posts - 22,036 through 22,050 (of 22,224 total)