home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Talk
Synchronizing client databases
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Anthony Vaughan" data-source="post: 1269370" data-attributes="member: 153283"><p>I understand that, but a compound key is no good for what I need to do. I have to have an integer unique identifier that contains a number that is ordered in arrival sequence so I can guarantee that a record in a table in one database will have the same value as the equivalent record in another database. This allows me, as the code I showed you above demonstrates, to find the highest id in the To database and know that any id higher than that in the From database must be a new record. Your compound key cannot help me do that.</p><p></p><p>I can live with things as they are, but we have to accept there will be a significant performance hit by doing so. Having said that, using unique identifiers that autoincrement is standard practice in the SQL database industry - as VideoDatabaseV5.db3 demonstrates.</p><p></p><p>Tony</p></blockquote><p></p>
[QUOTE="Anthony Vaughan, post: 1269370, member: 153283"] I understand that, but a compound key is no good for what I need to do. I have to have an integer unique identifier that contains a number that is ordered in arrival sequence so I can guarantee that a record in a table in one database will have the same value as the equivalent record in another database. This allows me, as the code I showed you above demonstrates, to find the highest id in the To database and know that any id higher than that in the From database must be a new record. Your compound key cannot help me do that. I can live with things as they are, but we have to accept there will be a significant performance hit by doing so. Having said that, using unique identifiers that autoincrement is standard practice in the SQL database industry - as VideoDatabaseV5.db3 demonstrates. Tony [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Synchronizing client databases
Contact us
RSS
Top
Bottom