473,387 Members | 1,476 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Not applying the initial snapshot when setting up Tran Repl.

I am setting up a combination of transactional and merge replication
on a very large database and do not want to apply the initial snapshot
since this would take to long. I am doing this with scripts that were
previosly created when the database was not this big. I want to copy
the publisher DB over to the Subscriber Server. Can I use the
parameter @sync_type to 'none' when running the sp_addsubscription?
Does anyone have any experience in doing this?

Thanks in Advance for any help on this.

Alan
Jul 20 '05 #1
2 1486
Hi Alan,
I do not know how to use the parameter with sql script. But you can do it
using Enterprise Manager. When creating subscription, just let it know that
the subcriber already has data. You can then generate the script of the
publication and subscription to see how to use script to do the same thing.
One caution, if you do not create initial snapshot, you may have to create
sp_msdel..., sp_msIns .. sp_msup.. stored procedures in the subscription
database used by the replication.

Hope it helps,
-Mokles

"Alan F." <al********@healthtrio.com> wrote in message
news:7f**************************@posting.google.c om...
I am setting up a combination of transactional and merge replication
on a very large database and do not want to apply the initial snapshot
since this would take to long. I am doing this with scripts that were
previosly created when the database was not this big. I want to copy
the publisher DB over to the Subscriber Server. Can I use the
parameter @sync_type to 'none' when running the sp_addsubscription?
Does anyone have any experience in doing this?

Thanks in Advance for any help on this.

Alan

Jul 20 '05 #2
Unfortunately I am using existing scripts generated by the DBA before
me. I have done it using EM but just need to figure out how to do it
via T-SQL.

Thanks,

Alan

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dean g | last post by:
Hi, I have a problem with running multiple sql statements using asp. Basically if there is an error with any of the statements inside the query a rollback is done. the sql and rollback work fine,...
4
by: Jennie | last post by:
I need to collect dynamic SQL execution times for a production database. However, the totals are not being updated, despite setting the DFT_MON_TIMESTAMP on. The DFT_MON_TIMESTAMP is listed in...
2
by: @ndy | last post by:
When i save my rapport as a snapshot it only saves the helft of the page. I have no idee why this happens. Have somebody allreadt has this problem.
3
by: Junyin.Wu | last post by:
what is difference between SqlTransaction and T-Sql(begin tran, commit tran, rollback tran) thanks.
4
by: xAvailx | last post by:
Hello: I didn't find any documentation that notes save point names are case sensitive, but I guess they are... Stored Proc to reproduce: /* START CODE SNIPPET */ If Exists (Select * From...
0
by: macupryk | last post by:
Hi I have the following stored proc: However @ProjectQuestionId int . Is used as input here. But I need it in the second insert. What should I declare it as. I get the id from the select...
0
fahimghauri
by: fahimghauri | last post by:
Hi, I upgraded my DB2 8.1 upto fixpack 15, before this it was on level 7. After upgrade when I explain the Sql statement I get the following error: ------------------------------ ERROR...
6
by: koszuf | last post by:
Hi, on my SQL Server data file is corrupted. Unfortunately last backup was made about half year ago. Transaction log seems to be ok. Is it possible to restore data file from old backup and apply...
6
by: =?Utf-8?B?UGF1bCBQcmV3ZXR0?= | last post by:
Hi - I have 4 webservers in my webfarm. All Win2k3 web edition. Before yesterday, none of them were service packed. I have now applied SP2 to two of them, and I'm getting a very weird MSDTC...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.