SPDatabaseAction.ExecuteSql method (String)
Executes a series of Transact-SQL queries based on the specified string.
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Friend Sub ExecuteSql ( _
sql As String _
)
'Usage
Dim sql As String
Me.ExecuteSql(sql)
protected internal void ExecuteSql(
string sql
)
Parameters
sql
Type: System.StringA string that contains the Transact-SQL queries to be executed.