RAD Studio VCL Reference
|
Executes an SQL command that does not include parameters.
function ExecuteDirect(const SQL: UnicodeString): Integer;
__fastcall int ExecuteDirect(const UnicodeString SQL);
Call ExecuteDirect to execute a single parameterless command on the server without the overhead of using an SQL dataset or preparing the statement before it executes. If the statement ordinarily returns a cursor, ExecuteDirect executes the statement, but does not return a cursor.
SQL is the command to execute.
ExecuteDirect returns the number of rows that were affected by the execution of the SQL query.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|