Viewing 15 posts - 1,501 through 1,515 (of 15,381 total)
fergfamster (5/26/2016)
May 26, 2016 at 2:34 pm
fergfamster (5/26/2016)
I am trying to create one function with multiple sub queries based on the param value passed in. If i try to use the IF statement I...
May 26, 2016 at 12:01 pm
Lynn Pettis (5/26/2016)
peter.row (5/26/2016)
Sean Lange (5/25/2016)
gjuarez (5/24/2016)
The table has 67404675, i need to keep 180 days, I calculated about 10,000000 for a year.
So you are only going to keep 180...
May 26, 2016 at 8:19 am
Grant Fritchey (5/24/2016)
Sean Lange (5/23/2016)
Jack Corbett (5/23/2016)
Sean Lange (5/20/2016)
GilaMonster (5/20/2016)
Ed Wagner (5/20/2016)
May 25, 2016 at 8:14 am
gjuarez (5/24/2016)
The table has 67404675, i need to keep 180 days, I calculated about 10,000000 for a year.
So you are only going to keep 180 rows out of 67,404,675 rows?...
May 25, 2016 at 8:07 am
gjuarez (5/23/2016)
DECLARE @days2keep INT
SET @days2keep =180
while @@ROWCOUNT > 0
begin
delete top 10000...
May 23, 2016 at 2:38 pm
gjuarez (5/23/2016)
May 23, 2016 at 12:53 pm
boughrogers (5/23/2016)
Thanks for the advice I wasn't sure if it would have any performance impact but I can see this would as you advise be a bad idea.I...
May 23, 2016 at 12:47 pm
boughrogers (5/23/2016)
I am looking to set up a view from a selection of other views and tables and grant access to a new login to only access this view.
I have...
May 23, 2016 at 8:36 am
Here is a great place to start. http://spaghettidba.com/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/%5B/url%5D
May 23, 2016 at 8:02 am
Here is another way you can do this.
select *
from #Work
order by Case when ActivityCode IS NULL then 1 else 0 end
, ActivityCode
May 23, 2016 at 8:01 am
ThomasRushton (5/23/2016)
Been a bit quiet here over the weekend - was there an outage, or did everyone else suddenly have an attack of Real Life?
Soccer tournament this weekend so I...
May 23, 2016 at 7:50 am
Jack Corbett (5/23/2016)
Sean Lange (5/20/2016)
GilaMonster (5/20/2016)
Ed Wagner (5/20/2016)
May 23, 2016 at 7:21 am
GilaMonster (5/20/2016)
Ed Wagner (5/20/2016)
ON the SQL Saturday topic, the rumor is that a Detroit one will hopefully be scheduled for February 2017. I hope you can make it.
And further...
May 20, 2016 at 12:58 pm
randyetheridge (5/20/2016)
did you open the attached word document?
No I didn't. I don't usually open Office documents from people I don't know. Too many nasty things can get hidden...
May 20, 2016 at 10:36 am
Viewing 15 posts - 1,501 through 1,515 (of 15,381 total)