Showing posts with label replicate. Show all posts
Showing posts with label replicate. Show all posts

Sunday, March 25, 2012

Can not copy view

I have a replication job that can not replicate a view. Any ideas? I am
assuming the replication job relicates views that are associated with the
tables. Is there a way to only replicate the table and not the view?
I'm not sure I follow this Do you get an error when replicating the view?
If so, please can you post it up. If you just want to replicate the table
and not the view, sp_dropsubscription and sp_droparticle should do it for
you eg
sp_dropsubscription @.publication = 'northwindxxx'
, @.article = 'regionview'
, @.subscriber = 'pll-lt-16'
sp_droparticle @.publication = 'northwindxxx'
, @.article = 'regionview'
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)1

Tuesday, February 14, 2012

Can I replicate SBS SQL to a full install of SQL

I am running SBS 2000. I use SQL (in SBS) as the transactional database for
Great Plains and Sales Logix. I want to set up an OLAP environment for data
mining, but I want to put the OLAP stuff on another server. My plan is 1)
buy a new server, 2) buy/install Win2003 Server and SQL Server 2003 on the
new server and 3) replicate the SQL from SBS to the new server for OLAP
access. Someone told me that SQL within SBS can not be replicated to a
full-blown SQL installation, but searching the Web and newsgroups, I haven't
found anything that supports or denies that fact. Does anyone know of a
reason that I can't replicate my SBS SQL out to a SQL 2000 or SQL 2003 box?
If I can't. is there another migration path?
Thanks!
I know of no such reason.
"Toltar" <Toltar@.discussions.microsoft.com> wrote in message
news:D532AFDB-61C2-4EA3-AF7E-3400C3E48031@.microsoft.com...
>I am running SBS 2000. I use SQL (in SBS) as the transactional database
>for
> Great Plains and Sales Logix. I want to set up an OLAP environment for
> data
> mining, but I want to put the OLAP stuff on another server. My plan is 1)
> buy a new server, 2) buy/install Win2003 Server and SQL Server 2003 on the
> new server and 3) replicate the SQL from SBS to the new server for OLAP
> access. Someone told me that SQL within SBS can not be replicated to a
> full-blown SQL installation, but searching the Web and newsgroups, I
> haven't
> found anything that supports or denies that fact. Does anyone know of a
> reason that I can't replicate my SBS SQL out to a SQL 2000 or SQL 2003
> box?
> If I can't. is there another migration path?
> Thanks!

can i replicate only a part of the database

I've got a SQL Server 2000 (Personal Edition) with a database where i want replicate a few tables to several ms access 2000 databases.
The content of SQL Server database and Access databases is equal ( same tables in all databases)
I tried to make a merge replication (where i select a few tables) on the SQL Server with a couple of push subscribers ( Access databases ).
The problem now is that SQL Server starts to modify the Access databases and delete all tables which are not in the publication.
But i still need those other tables on both sides ( SQL Server and Access) but not replicated.

Is there a way to prevent the SQL Server from deleting the tables that are not uses for replication?

Thanks for helping...Hi!

Yes you can. You only need to define a filter when wou create a NEW publication on one of your tables.

You can even define which fields you want to be published and which ones not.

I suggest you try to define a new publication and select the option "I will define a filter myself..." under the Replication - Create and Manage publications menu option when you are prompted by the Wizard.

Try it out on a test database first! Dont do it outright on the production database.

Success!
VincentJS
IT Dept. City Gent|||Originally posted by VincentJS
Hi!

Yes you can. You only need to define a filter when wou create a NEW publication on one of your tables.

You can even define which fields you want to be published and which ones not.

I suggest you try to define a new publication and select the option "I will define a filter myself..." under the Replication - Create and Manage publications menu option when you are prompted by the Wizard.

Try it out on a test database first! Dont do it outright on the production database.

Success!
VincentJS
IT Dept. City Gent

The problem is not to exclude table fields or any values but prevent the replication process from overwrite, delete or replace any existing table which i have not selected in the publication.|||Hi again!

Ok. i must have misunderstood.

The trouble, i think, is in the fact that you are using MERGE replication.
One of the specificities of mergerepl. is that the database is always built up from scratch again every time records have to be added, deleted etc.

This means effectively that AT LEAST the contents of the database is always completely erased to be refreshed by new data. In effect you might think of the process as a synchronisation.

Maybe the problem would be solved if you used transaction replication or Snapshot replication. I have to confess i've never used these up to now so you might have to try it out.

Remember also that you shouldn't configure (merge) replication as being continuous or for very short periodes (couple of minutes) if the databases are large. If you do that, the previous replication might be interrupted by the next one if it doesn't complete before and that might give some problems with the data. I therefore suggest that you configure mergeing to occur only every 30 minutes or so especially on busy or slow networks. -)

I hope this might help you some-)

Success!
VincentJS

Originally posted by freeze
I've got a SQL Server 2000 (Personal Edition) with a database where i want replicate a few tables to several ms access 2000 databases.
The content of SQL Server database and Access databases is equal ( same tables in all databases)
I tried to make a merge replication (where i select a few tables) on the SQL Server with a couple of push subscribers ( Access databases ).
The problem now is that SQL Server starts to modify the Access databases and delete all tables which are not in the publication.
But i still need those other tables on both sides ( SQL Server and Access) but not replicated.

Is there a way to prevent the SQL Server from deleting the tables that are not uses for replication?

Thanks for helping...|||Hi again!

One more thing. check the following page at Microsoft/Technet

Microsoft Knowledge Base Article - 164553

It contains a document which you can download (Replic35.exe) and which also explains partial replications (if i read it well-)

Just in case it helps you -)

Success!
Vincent JS

Can I replicate data from sqlserver 6.5 to sqlserver 2000?

There are several tables in a computer running sql server 6.5.
I want to replicate it to another computer running sql server 2000.
Can it work?
How to do it?
Thank you very much.There are several tables in a computer running sql server 6.5. I want to replicate it to another computer running sql server 2000.
Q1 Can it work?
Q2 How to do it?
Thank you very much.

A1 Yes, though 6.5 does not support newer features e.g.(merge).
A2 Publish in 6.5, subscribe in 2k, For details see 6.5 and 2k BOL.|||The following article should be very helpful - I stumbled across it a couple of days ago because I am in the middle of upgrading a ss 7 to ss2k with transactional replication with immediate updating (which is a little problematic)

article (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/replsql/replimpl_4joy.asp)|||Originally posted by rnealejr
The following article should be very helpful - I stumbled across it a couple of days ago because I am in the middle of upgrading a ss 7 to ss2k with transactional replication with immediate updating (which is a little problematic)

article (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/replsql/replimpl_4joy.asp)