Retail Management System database needs primary keys in all tables

Jun 09, 2005 2 Replies

Some tables in RMS lack primary keys. This prevents setting up transactional replication using MS Sql Server to a second Server. Transactional replication would be handy since you could have an up to date copy of your database available on a server that could be geographically separate from your main server. That way failover time is minimized.



This is on RMS version 1.2.0171 with SQL Server 2k SP3 on SBS 2k3 and Server



2k3.


---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane.



formatting link


All tables of RMS have primary key.. or a IDENTITY key..

Table.ID or Table.TableNumber

antonio

yup, we ran into the same issue and finally stopped trying to replicate tables. Figured we'd have to write SP's to copy and schedule if push came to shove. See below for more details.

--------------------------

The RMS synch application is disabling a trigger on the itemdynamic table. While a table is being replicated, SQL prohibits change to the structure because the destination must match the structure of the table exactly to be able to receive repilicated data. If you change the table on the source but not the destination, replication breaks. To preserve performance in the future, reporting should be done on a replicated copy of the data on a reporting server. Per our discussion, we will drop replication on the database for now, you will check with the verdor to see what the extent of table change is, and we can determine the best way to make the data available to the business

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required