.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

Session.ExecuteNonQuery Method

Name Parameters Description
ExecuteNonQuery(String) sql Executes the specified SQL statement and returns the number of rows affected.
ExecuteNonQuery(String, Object[]) sql, parameterValues Executes the specified SQL statement and returns the number of rows affected.
ExecuteNonQuery(String, String[], Object[]) sql, parameterNames, parameterValues Executes the specified SQL statement and returns the number of rows affected.