Viewing 15 posts - 301 through 315 (of 334 total)
I'll move the delete statement and give it a try.
January 25, 2011 at 11:55 am
Yeah, I think the quirky update is probably my most efficient solution. Thanks everyone for your answers.
January 21, 2011 at 10:25 am
Thank you. I thought of using the "with cte " formula but I'm working with a dataset of over 700 million rows.
January 21, 2011 at 9:16 am
Right. I'm hoping to do it in the original select statement without building a temp table or reseting and inserting into a static report table.
January 20, 2011 at 2:16 pm
If I use that, Lowell, then I only get the total for that row and not the cumulative aggregated total as the rows are retrieved.
Don
January 20, 2011 at 2:04 pm
Still a work in progress so don't hate on me too much.
declare @Startdate datetime = '2011-01-16'
declare @EndDate datetime = '2011-01-19'
Declare @TotalUpdates int = 0
Declare @WebUpdates int = 0
Declare @TotalUpdateMsg int...
January 20, 2011 at 2:02 pm
Thank you for the note!
I'll try to be more specific in the future!
Donalith
January 12, 2011 at 4:00 pm
Nevermind, I figured it out.
Needed to use the IP address or the DNS string rather than the actual server name.
Donalith
January 12, 2011 at 1:42 pm
*bump*
Does anyone have a SQL Server 2008 Management studio connection to an Amazon cloud database? If so, how did you do it?
January 12, 2011 at 11:32 am
It doesn't use any disk space? Is it faster or slower than a regular, disk-using, restore?
January 10, 2011 at 3:54 pm
Ok, thanks everyone. It was an accidental conditional delete on some 26 rows on a relatively inactive table. It made more sense, I guess, to do a full restore to...
January 7, 2011 at 2:44 pm
Absolutely. Always makes me curious though since we're often given lots of rope and different types of rope with which to hang ourselves.. lol
Thanks folks.
Don
November 30, 2010 at 10:57 am
What I'm actually doing is raising the limit to 500 and then using left() on my insert in T-SQL to have it function correctly. Having done that is what made...
November 30, 2010 at 10:51 am
Michael,
Does shrinking the database in small increments have a greater or lesser fragmentation effect on the indexes? Or does it really make no difference?
Don
October 19, 2010 at 10:50 am
Absolutely, which is why they hired me. They didn't have a dba when business built and implemented their database design.
Don
October 19, 2010 at 9:01 am
Viewing 15 posts - 301 through 315 (of 334 total)