I have two identical databases on two separate servers: one primary and one backup Users are currently in both servers. We have an orderorder column in both of the DB in TBOrder, such as increasing the priority auto key. Now when I publish the order office to my Amazon server, it sometimes shows an error because both The number of orders on the database is the same number and a duplicate order is not accepted by the system.
I want to get maximum order from both servers and then order new working databases. I will extract seeds from seeds that increase it, so that I insert the audiad myself at the insertion command.
Considering that there is no possibility of dealing more than 1 billion orders on each server, just set twenty to 1,000,000,000 on other servers. There is no need to change the pay scale.
Use Unique Identifier (GUID) as your primary key instead of an integer. For SQL Server 2005 and above, you can set a default barrier to NEWSEQUENTIALID (), which are continuously making page sections.
Comments
Post a Comment