Welcome to MSDN Blogs Sign in | Join | Help

January 2009 - Posts

SqlCommand.ExecuteNonQuery() returns -1 when doing Insert / Update / Delete

Sometimes you end up with a return value of -1 when using the SqlClient.SqlCommand.ExecuteNonQuery method. Why is that? Well, the ExecuteNonQuery method is there for statements for changing data, ie. DELETE / UPDATE /INSERT, and the returned value are
Posted by maspeng | 0 Comments
Filed under:

How to prepare for a SQL Developer / Connectivity case

Today I thought I give you some tips on how to prepare for a SQL Developer / Connectivity case. Sometimes when a case gets logged the information provided is not that great or the information provided is not very informational to me. Let’s illustrate
Posted by maspeng | 4 Comments
 
Page view tracker