SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Error deleteing a row in SQL 2005
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

engcanada
Starting Member

14 Posts

Posted - 02/15/2009 :  10:55:24  Show Profile  Reply with Quote
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

USA
28965 Posts

Posted - 02/15/2009 :  12:54:09  Show Profile  Visit tkizer's Homepage  Reply with Quote
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

14 Posts

Posted - 02/15/2009 :  13:25:21  Show Profile  Reply with Quote
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

USA
28965 Posts

Posted - 02/15/2009 :  14:47:19  Show Profile  Visit tkizer's Homepage  Reply with Quote
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

14 Posts

Posted - 02/15/2009 :  15:01:08  Show Profile  Reply with Quote
It worked.

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

tkizer
Almighty SQL Goddess

USA
28965 Posts

Posted - 02/15/2009 :  15:05:14  Show Profile  Visit tkizer's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.03