Viewing 15 posts - 1 through 15 (of 129 total)
It isn't a PIVOT ... you are just assembling single values into the fields of a single row:
with q0 as (
select ...
April 11, 2013 at 7:27 am
Evil Kraig F (10/22/2012)
Eventually everything in a shipment/order would have to age past the 2 year mark, at which point I'd archive. Even though yes, they chain, at some...
October 22, 2012 at 11:37 am
2 days 2 years 2 millenia won't make any difference as they are all linked in a chain!
October 22, 2012 at 10:35 am
WaIIy (7/16/2011)
July 16, 2011 at 2:32 pm
this is working for me:
begin tran '20110716_1030' with mark 'NameOfDatabaseSet'
create table db01.dbo.SomeRubbish ( [field] int ); drop table db01.dbo.SomeRubbish;
create table db02.dbo.SomeRubbish ( [field] int ); drop table db02.dbo.SomeRubbish;
...
create table db11.dbo.SomeRubbish...
July 16, 2011 at 1:22 am
declare @stopat datetime
set @stopat = {ts'2011-01-01 12:50:00'}
restore database blah from disk = 'blah.bak' with replace, norecovery
restore database blah from disk = 'blah.diff' with norecovery
restore log blah from disk = 'blah1.trn'...
July 14, 2011 at 1:26 pm
I would be worried if my SQL didn't use 100% of available memory
what is the point in buying the memory if you don't use it?
July 14, 2011 at 7:20 am
hopefully we can agree that transaction marks are required for successful restores of related databases
the problem is knowing which marks are in which log file
the solution I came up with...
July 14, 2011 at 7:12 am
Jayanth_Kurup (7/14/2011)
July 14, 2011 at 3:01 am
GilaMonster (7/13/2011)
July 14, 2011 at 2:52 am
GilaMonster (7/13/2011)
Just having schedules transactions in each individual database every 10 min that mark the log and do nothing...
July 14, 2011 at 2:32 am
GilaMonster (7/13/2011)
If all you're doing is putting a mark in the log at a specific time, how is that any different to restoring with stopat that specific time?
the difference is...
July 13, 2011 at 4:09 pm
the link states in a big yellow box with the word "important":
"You can recover related databases only to a marked transaction, not to a specific point in time."
as for why:
why...
July 13, 2011 at 6:25 am
GilaMonster (7/13/2011)
Why is stopat = time not reliable across multiple servers if you want to stop at a point in time?
Microsoft explain it better than I can:
July 13, 2011 at 2:50 am
Jayanth_Kurup (7/12/2011)
However I think you would suffer significant data loss in your current model because fail...
July 12, 2011 at 2:53 pm
Viewing 15 posts - 1 through 15 (of 129 total)