Viewing 15 posts - 33,316 through 33,330 (of 59,099 total)
damen.mis (7/8/2011)
Syed Jahanzaib Bin hassan (6/30/2011)
as
Begin
Delete top(10000)
from SC_SampledNumericDataFact_Table
where DatetimeAdded<getdate()-180
End
And schedule this Store Procedure on the SQL Server Agent job with minimum interval of 15 mins,when you...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2011 at 5:24 pm
Tom Rippetoe (7/5/2011)
Thanks for your suggestion; it definitly sent me down what seems to be the right path. Not every location is associated with every segment so a...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2011 at 4:31 pm
{edit} Commented on wrong post...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2011 at 4:23 pm
sdownen05 (7/5/2011)
To get the job done quickly, and since I am not worried about performance right now, I am going to go with pure T-SQL.
Heh... famous last words. No...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2011 at 4:20 pm
opc.three (7/8/2011)
Long term I definitely want to remove the local variable swapping I just added.
Why? :blink: It works just fine the way you did it and it's a whole...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2011 at 4:51 am
The simplest, easiest, and, perhaps, the most accurate method is to determine the database size today and a month from now. Multiply the difference between those two numbers times...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 9, 2011 at 4:35 am
Deee -Daah! (7/8/2011)
Otherwise, DIR does not have a switch that has the filedates, sizes...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 8, 2011 at 8:09 pm
Since the requirements are all over hell's half-acre, let's review.
1. We have two tables which will ALWAYS have a corresponding row in the other table.
2. If there are...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 8, 2011 at 1:05 pm
opc.three (7/8/2011)
Edit 7/8/2011 7:20 Mtn: corrected property of Jeff's rendition, it "cannot be ordered by column name"
Any bets? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
July 8, 2011 at 12:51 pm
mikes84 (7/8/2011)
Jeff, I think your solution addresses requirement #1, but not #2, since it's ordering by hobby name alphabetically? Do you know how it could be modified to order in...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 8, 2011 at 12:46 pm
Nevyn (7/8/2011)
Cool stuff, Jeff!So do you ever use PIVOT and/or UNPIVOT, or are workarounds almost always better/faster?
I don't use PIVOT because Cross-Tabs are (usually) both faster and easier to read...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 8, 2011 at 12:39 pm
John Neville (7/8/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 8, 2011 at 7:54 am
Deee -Daah! (7/7/2011)
Directory of C:\temp\test1\test2
and then followed by...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 8, 2011 at 7:41 am
Greg,
Did you change ALL the variables to DECIMAL??? Even the "period" related INTs?
--Jeff Moden
Change is inevitable... Change for the better is not.
July 8, 2011 at 7:22 am
Greg Snidow (7/6/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 8, 2011 at 7:16 am
Viewing 15 posts - 33,316 through 33,330 (of 59,099 total)