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
 New to SQL Server Administration
 Row was not comitted!!!

Author  Topic 

ninjadude
Starting Member

2 Posts

Posted - 2011-02-12 : 12:30:04
I hit edit top 200 rows

i edit row and then ERROR


No row updates
The data in row 10 was not committed
error source: .net sqlClient Data provider
Error message: String or Binary data would be truncated

Correct errors or press esc to cancel



GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2011-02-12 : 12:38:14
You're trying to enter data longer than the column allows.

That said, stop using the bug-ridden edit rows 'feature' and start using insert or update statements.

--
Gail Shaw
SQL Server MVP
Go to Top of Page

ninjadude
Starting Member

2 Posts

Posted - 2011-02-12 : 12:47:32
where do i place the update statements iam am new to SQL, I use only MySql but this client has SQL for their database
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2011-02-12 : 18:23:18
From management studio (the tool you're using), click 'new query' on the tool bar, or right-click the database in object explorer and select new query, or go to the menu, file-> new -> query.

--
Gail Shaw
SQL Server MVP
Go to Top of Page
   

- Advertisement -