Database.ExecuteNonQuery Method

Executes a collection of batches in the context of the database where there are no results returned.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
Database.ExecuteNonQuery (String)
Executes a statement in the context of the database where there are no results returned.
Database.ExecuteNonQuery (StringCollection)
Executes a batch in the context of the database where there are no results returned.
Database.ExecuteNonQuery (String, ExecutionTypes)
Executes a batch in the context of the database where there are no results returned for the specified execution type only.
Database.ExecuteNonQuery (StringCollection, ExecutionTypes)
Runs a collection of batches in the context of the database where there are no results returned for the specified execution type only.

See Also

Reference

Database Class
Database Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

How to: Create, Alter, and Remove a Database in Visual Basic .NET
Creating, Altering, and Removing Databases
CREATE DATABASE (Transact-SQL)