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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:23:44+00:00 2026-05-18T12:23:44+00:00

In SSMS 2008 R2 I execute: create table aaa(col1 xml); go insert into aaa

  • 0

In SSMS 2008 R2 I execute:

create table aaa(col1 xml);
go
insert into aaa (col1)
values('<ccc>ddd</ccc>')
go 2

Then, open table in SSMS (right-clicking the table in Object Explorer) with “Edit top 200 rows” option, select a row, press delete (keyboard button),
click “Yes” to confirm and receive error [ 1 ]

Why cannot I delete or edit a row?

[ 1 ]

---------------------------
Microsoft SQL Server Management Studio
---------------------------
No rows were deleted.

A problem occurred attempting to delete row 1.
Error Source: Microsoft.SqlServer.Management.DataTools.
Error Message: The row value(s) updated or deleted either do not make the row unique or they alter multiple rows(2 rows).

Correct the errors and attempt to delete the row again or press ESC to cancel the change(s).
---------------------------
OK   Help   
---------------------------

Update:
I thought SSMS is XML-antogonistic, but it is the same with any types

create table bbb(col1 int);
go
insert into bbb (col1)
values(33)
go 2
  • 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-05-18T12:23:45+00:00Added an answer on May 18, 2026 at 12:23 pm

    This is a limitation of the designer/wizard

    Since the rows are identical there is nothing that tells sql server which of those 2 rows to delete, remember it is a program not a human… (this is also a reason to have a PK on a table)

    You can however do it from a query window

    delete top (1)
    from aaa
    where convert(varchar(max),col1) = '<ccc>ddd</ccc>'
    

    or with older syntax

    set rowcount 1
    
    delete 
    from aaa
    where convert(varchar(max),col1) = '<ccc>ddd</ccc>'
    
    set rowcount 0
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Assume I connect to SQL server 2008 via SQL Server Management Studio ( SSMS
We're upgrading from SQL Server 2005 to 2008. Almost every database in the 2005
I have a requirement in SQL Server 2008 in development database Only DBA's (
In VB pseudocode, I'm trying to accomplish the following using SSIS (either 2008 or
I'm able to execute a stored procedure which queries a Linked Server directly, but
I am getting the above error in my VS 2008 C# method when I
I'm working on a C# application that queries a SQL Server 2008 Express instance
I've notice an issue - it feels like a bug but I suspect a
Created a stored procedure in SQL 9 (2005) and have since upgraded to SQL
OK, so I think I'm going mad here! Here's where I am. SQL Server

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.