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

  • Home
  • SEARCH
  • 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

I am using SSMS 2008 and trying to insert with this query but am
In SSMS 2008 R2, I created a table: aTest(Albnian varchar(10), Dflt varchar(10)) In SSMS
in SQL Server Management Studio (SSMS) 2008 R2 Dev on the table (because I
I right click on my table in ssms 2008 and select Script Table as
Assume I connect to SQL server 2008 via SQL Server Management Studio ( SSMS
In SSMS 2008 I created a new query window and issued the following statement
We're using SqlServer 2008. In SSMS, queries on the full text catalog might take
Having the table, defined by script [1], I execute scripts in 2 windows of
After launching SSMS (2008 R2) on my dev machine, which I launch with D:\Program
I only have SSMS 2008 Express on my dev machine. What tools are there

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.