Viewing 15 posts - 916 through 930 (of 1,539 total)
Sarvesh, I did not run the script, if it's running fine, why not put it under scripts section. Will be useful for future use as well. 😉
June 23, 2009 at 6:59 am
We were like studying backup/restoration and we forgot the main topic!!
Did you automate log shipping? I'm sure you're not running enterprise edition.
June 23, 2009 at 6:48 am
thang_ngo_2002 (6/23/2009)
You're right. I've doneHow to get the last LSN of current DB, how to get current LSN of file created by Backup Log?
restore headeronly from disk='your backup file name'
This...
June 23, 2009 at 3:15 am
1. drop all connections by running alter database mydb set single_user with rollback immediate
2. select master database as active db and then run the query.
EDIT:- corrected query.
June 23, 2009 at 2:14 am
You can do stripped backup. Backup data will be written to two backup devices simulateneously.
backup database test
to disk='c:\test1.bak',
disk='c:\test2.bak'
2nd path can be your network path.
During restoration too, you...
June 22, 2009 at 9:54 pm
satishthota (6/22/2009)
Hi,It should display 6 records only
You have got 2 records with T1 in transID column in trans table and 2 records in payment table. so joining the table on...
June 22, 2009 at 9:12 pm
thang_ngo_2002 (6/22/2009)
Could you please show me the way to switch Standby DB from ReadOnly to main DB after apply LOG backup files
I try to uncheck "Read Only"...
June 22, 2009 at 9:02 pm
allenjasonbrown (6/22/2009)
select
cast(convert(decimal,a.totaltransactions) / convert(decimal,b.totaltransactions) as decimal (8,8))
from table1
I need to be able to add a 'NULLIF' because I currently get...
June 22, 2009 at 7:59 pm
Dont you have a unique transaction ID on trans table? Joining these tables will produce double the number of records.
--============
create table trans
(
transid varchar(10),
transdate datetime,
status varchar(20),
userID varchar(20)
)
create table Payment
(
TransID varchar(10),
Payid int...
June 22, 2009 at 7:42 pm
rames.net (6/22/2009)
Thanks for ur reply.could u pls explain me how to manage in P2P replication.
thanks a lot.
This article by Paul Ibison explains various methods to manage Identity Range in P2P...
June 22, 2009 at 10:41 am
Pls go through attached Microsoft whitepaper on P2P replication.
June 22, 2009 at 10:37 am
In transaction replication, identity column is automatically managed by the sql server. It allocates a range for publisher and different set of ranges for subsribers.
For p2p replication, you need to...
June 22, 2009 at 9:21 am
select collist into NewTable from OldTable is the right syntax.
June 22, 2009 at 9:17 am
Abhay, as rightly pointed by Homebrew01 in last post, you need to plan you restoration strategy carefully, based on which you should create your backup jobs.
First question that's asked is...
June 22, 2009 at 9:14 am
Viewing 15 posts - 916 through 930 (of 1,539 total)