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 7908485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T11:57:48+00:00 2026-06-03T11:57:48+00:00

In my legacy web application, here is the structure of customer table in sql

  • 0

In my legacy web application, here is the structure of customer table in sql server 2005:-

custId, custName,custAddress,custGUID
1        scott    mark       B36AF54E-F2B5-4845-9595-AC05K898AE14

My question is about the column custGUID which is declared as uniqueIdentifier()which is GUID). I am not getting whats the difference between primary key and uniqueIdentifier and whats the reason to introduce extra column as guid.As per different sites i came to know that uniqueIdentifier is uniques across the whole sqlserver 2005 but primary key is unique is unique in that particular table . But i am not able to think of any scenario of making any column as GUID/unique across the sql server. Want to understand
when and how does GUID column makes sense? As all team meamber are new, not able to figure out the mystery

  • 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-03T11:57:49+00:00Added an answer on June 3, 2026 at 11:57 am

    This is a tough one to answer, as there are many reasons to do this, most of them not good at all.

    You might be looking at a legacy application, where data was stored across multiple servers. To avoid having data overwritten when the data is was finally merged, a GUID column was introduced.

    I’ve seen this in applications before where, for example, staff had a copy of the program on their laptops, and were working remotely without a reliable internet connection. So, all the invoices etc. are linked to the GUID and not the customer ID, making it possible to later merge all the data into a single database, without running the risk of having things get linked to each other the wrong way.

    You are correct in your statements that the unique identifiers should have been enough, but think about what would happen if you had multiple databases running at the same time. You could end up with five customers, each having customer ID 4, for example. If I were to make a guess, I’d say this is why the original designers went this route.

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

Sidebar

Related Questions

I maintain a legacy ASP.Net Web application (using .Net 2.0 + SQL Server 2005
A legacy web application written using PHP and utilizing MySql database needs to be
We have a legacy web application (not Spring based) and are looking for best
I have the 'luck' of develop and enhance a legacy python web application for
I downloaded nUnit and TestDriven.net. I have a legacy Web Site application and I
Migrating a legacy application from WebSphere v.6 to WebSphere v.8. The application's web.xml only
My project is converting a legacy fat-client desktop application into the web. The database
So I've started to add Entity Framework 4 into a legacy web application (ASP.NET
Is it possible to integrate Zend Framework with already existing legacy web application? The
I'm coverted legacy code of a .NET Framework 1.0 web application. It contains the

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.