Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8026869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:37:36+00:00 2026-06-04T23:37:36+00:00

My situation is : I have a number of client applications, which is using

  • 0

My situation is :

  1. I have a number of client applications, which is using local DB (MS SQL, MS Access – sorry, this is Enterprise system, I have to support legacy…)
  2. I don’t know anything of trend among clients – now it’s ~10 but it may
    be ~100 in a year.
  3. Data from those tables comes to my central server and is put into one common table
  4. Sometimes existing (client) data is changed – I have to perform update/delete operations
  5. I don’t want use GUID’s (.NET type System.Guid) – It’s hard to simply implement and support on MS Access. Besides, it’s not good for performance
  6. I need a fast search on that common table, so it would be nice to use int or long int as a PK

So, I want:

  1. Something unique to avoid collisions (it will be used as a PK)
  2. It should hopefully be int or long int
  3. Must be assignable client-side before being inserted

My current solution is to take the CRC from a concatenation of:

  • ProcessodID
  • Bios date
  • User name (strings, hardware\user related data)
  • DateTime.Now (UNC)

Currently it works for me, but maybe there is a better approach to achieve my goals?
Any comments, suggestions, examples, or experience of your own?

UPDATE : synchronization between client and server is periodic action, so it can occurs 2-3 times per day (it’s config variable)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T23:37:38+00:00Added an answer on June 4, 2026 at 11:37 pm

    If data from multiple tables comes to one central table and you need to address changes to these records then my suggestion is to use two columns as PK of you central table. One column could be the Identity field from clients (not unique) and one column could be a client code (not unique) assigned by you to your client apps. The aggregate from ID and client code will be your PK

    This solution has the advantage to not require any changes on the client side apps (perhaps some identity code to send to your central server where you could use for some security measure)
    Of course, if the customer base grows (hopefully) you need to keep a centralized table of code assigned to each client. The search on the central table should not be a problem because you are using two numbers (or short string for the identity code).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The situation is like this. We have a form with a large number of
We have a situation where we want to limit the number of paralell requests
I have the following situation: A stackpanel contains a number of elements, including some
Situation I have a client library that uses the Windows Azure AppFabric Service Bus
i have situation like this: class IData { virtual void get() = 0; virtual
In my situation I have a number of files that will be stored on
The situation is next: I have php file, which parses a web-page. on that
This is often situation, but here is latest example: Companies have various contact data
I have a Flex-based client app which talks to the back-end through BlazeDS. In
I have a situation where I have a number of objects that are dynamically

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.