Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Error deleteing a row in SQL 2005

Author  Topic 

engcanada
Starting Member

39 Posts

Posted - 2009-02-15 : 10:55:24
Hi,
Can someone help with this issue. A large amount of data has mistakenly inserted into a filed type(ntext) of row and when I try to delete or update the row I keep getting a MSSQL error that the "data will be truncated, no data were deleted, fix the errors or press ESC to exit".

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-02-15 : 12:54:09
From what tool are you seeing that error?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

engcanada
Starting Member

39 Posts

Posted - 2009-02-15 : 13:25:21
In the SQL Server Management Studio as follows:
NO ROWS WERE DELETED.
A PROBLEM OCCURED ATTEMPTING TO DELETE ROW 4830.
ERROR SOURCE: .Net SqlClient Data Provider
EROOR MESSAGE: String or binary data would be truncated.
The statement has been terminated.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-02-15 : 14:47:19
I assume you are running the query through the GUI. Try running it through the "New Query" window.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

engcanada
Starting Member

39 Posts

Posted - 2009-02-15 : 15:01:08
It worked.

Thank you and all the best.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-02-15 : 15:05:14
You're welcome.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -