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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:55:47+00:00 2026-06-05T11:55:47+00:00

Just happened to check on the sysmessages in different versions of MS SQL Server

  • 0

Just happened to check on the sysmessages in different versions of MS SQL Server and I observed a difference in the text.

Message ID : 2627

In one of the version(SQL Server 2008 R2 RTM) the Text is : Violation of %ls constraint ‘%.*ls’. Cannot insert duplicate key in object ‘%.*ls’.

and in another(SQL Server 2008 R2 Service Pack 1 (SP1)) the text is : Violation of %ls constraint ‘%.*ls’. Cannot insert duplicate key in object ‘%.*ls’. The duplicate key value is %ls. –> This one gives more details.

Is there any specific document available which can tell me what changes were done to the sysmessages in different versions of SQL.

Please advise.

Thanks

  • 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-05T11:55:50+00:00Added an answer on June 5, 2026 at 11:55 am

    Why not just run this query on both systems:

    select * from master.dbo.sysmessages 
    where msglangid = 1033
    order by error
    

    and then compare the two results with WinMerge or any other diff tool? You could also import the results into a spreadsheet and use formulas to find and/or filter differences.

    Here’s a quick screen cap of a WinMerge Diff of SQL Server 2005 and 2008 R2:

    WinMerge Diff of sql server 2005 and 2008 R2

    As you can see by the amount of orange there were many changes between those two versions. Doing this with your particular versions should produce fewer changes.

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

Sidebar

Related Questions

This just happened to one of my sites and I have no idea what
I wanted to check out an older version of the project in a different
I'm just mucking around a bit with HTML5 canvas and painting. I happened to
It just happened to me that I commented out a line of code for
I am just learning some pointers stuff in C and I happened to learn
I am getting a System.OutOfMemoryException from my vb.net application, it happened from one certain
This SQL (called from c#) occasionally results in a deadlock. The server is not
Using SQL Server 2005, I have a table where certain events are being logged,
Just wondering how I can make my app open automatically at login, but make
Just wondering if the following is considered to be good programming practice or not?

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.