The SQLStatement property specifies the SQL statement to be executed.
| ExecuteSQLTask Object |
object.SQLStatement [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | SQL statement |
String
Read/write
HRESULT GetSQLStatement(BSTR *pRetVal);
HRESULT SetSQLStatement(BSTR NewValue);