SQL::DeleteStatementValidate Method
Syntax
Arguments
- Result_Flag
TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).
- SQL::DeleteStatement
A SQL::DeleteStatement object.
- SQLConnection
Optional. A SQL::Connection object and with a defined .ConnectionString property.
- SQLConnectionString
Optional. A connection string.
Description
Execute the current statement using the current or passed connection.
The .Validate() method prepares the query and validates it, but does not execute it. (In some implementations the query is executed with a limit on rows set to 1). The intent is to force the query through a server side parse and report problems. The method connects to the back-end database using the information in the SQL::Connection::ConnectionString property or in the ConnectString string, then executes the current SQL statement stored in the SQL::DeleteStatement.SQLStatement property.
See Also