Viewing 15 posts - 5,626 through 5,640 (of 18,926 total)
SC48035 (5/31/2011)
@ninja's_RGR'us : Thanks for your feedback, will try my best to follow your advice.
There are a lot of people following this thread... hopefully they'll have other ideas. Mine...
May 31, 2011 at 11:10 am
DECLARE @Table_Name VARCHAR(128)
DECLARE @sql0 VARCHAR(1000)
SET @Table_Name = 'MyTable'
SET @sql0 = 'sp_rename '''+ @Table_Name + '.Active'', ''IsActive'', ''COLUMN'''
PRINT @sql0
--sp_rename 'MyTable.Active', 'IsActive', 'COLUMN'
May 31, 2011 at 10:53 am
SC48035 (5/31/2011)
May 31, 2011 at 10:37 am
I've found a few links on google about this error... at least you have other options if it occurs again.
May 31, 2011 at 9:56 am
NOt 100% sure about this but if the db wasn't cleanly shutdown or if there was a very long running transaction is has to be rolled forward / back before...
May 31, 2011 at 9:53 am
1 - See if you can ping the remote server >> fix all switches routers and ports
2 - See what connection types are allowed (can try ip over server name...
May 31, 2011 at 9:13 am
SKYBVI (5/31/2011)
thanks guyz,
I again tried restoring thru query...
and this time it got restored...it took 7 hrs to retore 300gb db...
its too much time i guess....but then all's...
May 31, 2011 at 9:11 am
I'd still try the update stats trick first. Fragmentation might slow the query down but I've never read that it changes the execution plan... maybe Gail has more info...
May 31, 2011 at 8:43 am
RTaylor2208 (5/31/2011)
The tables involved are huge just over 2 TB between them....
May 31, 2011 at 8:22 am
rfr.ferrari (5/31/2011)
forsqlserver (5/31/2011)
The file size is around 1.12 Gb and it is notepad file.When it opens my system is becoming slow.
you can use the ultraedit!
Does it have a magic exec...
May 31, 2011 at 8:17 am
RTaylor2208 (5/31/2011)
However it looks like is definetly a fragmentation issue as now that I have re-ran...
May 31, 2011 at 8:09 am
GilaMonster (5/31/2011)
Why do you need a maintenance window to update statistics?
Peeking my interest... why could you need maintenant window to update the stats?
May 31, 2011 at 8:06 am
Update the stats after 90 minutes during the day.
May 31, 2011 at 8:03 am
mikes84 (5/31/2011)
I'm almost 100% certain. Just out of curiosity, what if I said that there might be another row or two? Would you refer me to your previous example?
Let me...
May 31, 2011 at 7:21 am
Viewing 15 posts - 5,626 through 5,640 (of 18,926 total)