Need Replication suggestion for online store db.

Need Replication suggestion for online store db.

Post by M » Wed, 28 Aug 2002 03:31:12



I'm new to SQL server and I've been reading up on replication and am
still not sure what to do.  Here's the situation.

I've got my store inventory in an SQL Server 2000 db on my local
computer, and another copy on my non-local web host's server.  I add
new inventory on my local copy and occasionaly change old listing
information.  I don't make changes on a regular schedule and don't
usually have the local server running, so I want to be able to
manually run the replication, not have it auto run on a schedule.  The
only changes made to the data at the web-host's copy would be changes
made to the quantity column of an item when it sells and that change
would be through an asp page.

Previously when I used Access I had written an asp page to just copy
the quantity info from the online db to my newly updated local one and
then replace the online one with the new updated copy.  This was a
pain to do, so I was hoping that relication would be the
solution...but it seems all forms of it want to add columns and change
my data to work.

Any suggestions as to what method and options to use would be
appreciated.

Thanks

 
 
 

Need Replication suggestion for online store db.

Post by Ron Talmag » Fri, 30 Aug 2002 13:51:00


MO,

Only Merge replication adds columns, and just one, to a table. Merge also
adds triggers. Transactional and Merge both add system tables and many
system stored procedures to the publisher and subscriber. Transactional just
adds less, but realistically it's only one-way, and not meant for only
occasional connections.

If you have to be able to update the same table or tables from both the web
site and your local machine, then Merge is the most practical solution.

Ron
--
Ron Talmage
SQL Server MVP


Quote:> I'm new to SQL server and I've been reading up on replication and am
> still not sure what to do.  Here's the situation.

> I've got my store inventory in an SQL Server 2000 db on my local
> computer, and another copy on my non-local web host's server.  I add
> new inventory on my local copy and occasionaly change old listing
> information.  I don't make changes on a regular schedule and don't
> usually have the local server running, so I want to be able to
> manually run the replication, not have it auto run on a schedule.  The
> only changes made to the data at the web-host's copy would be changes
> made to the quantity column of an item when it sells and that change
> would be through an asp page.

> Previously when I used Access I had written an asp page to just copy
> the quantity info from the online db to my newly updated local one and
> then replace the online one with the new updated copy.  This was a
> pain to do, so I was hoping that relication would be the
> solution...but it seems all forms of it want to add columns and change
> my data to work.

> Any suggestions as to what method and options to use would be
> appreciated.

> Thanks


 
 
 

Need Replication suggestion for online store db.

Post by Michael Hote » Fri, 30 Aug 2002 17:26:12


The only methods that does not require schema changes are transactional and
snapshot.   However, the data changes are only going to flow one direction.
To get data to flow in both directions, you need to make schema changes.

--

Mike
SQL Server MVP
http://www.mssqlserver.com

 
 
 

1. Backup/Recovery suggestions needed for Informix Online DS.

Dear Informix Gurus,

I'm new on Informix. I tried to search over FAQ from
http://www.iiug.org  while hoping to find one article which can help me
to do a good backup/recovery with informix but unsuccesful. Could
somebody can give me some suggestions for backup strategies for Informix
Online DS 7.1 (AIX 4.1.4).

Thank you for any help.

--
=======================================================================

          Tel: (514)340-9951 ext:315          Fax: (514) 340-9956
=======================================================================

2. PDOXWIN QUERY- HELP!

3. Please give me suggestions of Replication and Stored procedure type update

4. SQL Server 2000 classes

5. dynamic SPOOL filename

6. Suggestion needed for replication notifications

7. search error

8. Replication need some suggestions!!!

9. Need suggestion for type of replication to use

10. Replication of Access 97 with VB5 Need Advice and Suggestions

11. Data replication: suggestion needed

12. Suggestions needed: replication tool