RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DataStoreCommand.ExecuteNonQuery Method

Executes a SQL statement and returns the number of rows affected.

Pascal
function ExecuteNonQuery: Integer;
C++
int ExecuteNonQuery();

ExecuteNonQuery executes a SQL statement and returns the number of rows affected by executing this command. Use this method to execute SQL statements that do not generate a result table. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!