METHOD:

 

 

 

 

 

 

 

DESCRIPTION:

 

 

Executes the specified SQL statement.

 

 

 

 

PROPERTY OF:

 

 

ADODatabase

 

 

 

 

SYNTAX:

 

 

<oRef>.executeSQL(<cmd expC>,[,<rowret expL>])

 

<oRef>

 

 

The database in which you want to execute the command.

 

<cmd expC>

 

 

The SQL statement, stored procedure, a URL, or provider-specific text to execute.

 

<rowret expL>

 

 

true to return the query result stored in a new ADORowset object.

 

 

 

 

DESCRIPTION:

 

 

If the command specifies a row-returning query, any results that the execution generates can be stored in a new ADORowset object. 

 

If is not a row-returning query (for example, an SQL UPDATE query) the result is always logical.

 

 

 

If the cursorLocation property is set to client-side cursor, the returned rowset use static cursor, otherwise use forward-only cursor.

 

The returned rowset is always a read-only.