RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomSQLDataSet.PrepareStatement Method

Performs a prepare on the SQL statement.

Pascal
procedure PrepareStatement; virtual;
C++
virtual __fastcall PrepareStatement();

The prepare operation is a type of pre-compile that checks the performance of the SQL statement. Some databases support a prepare statement that creates an execution plan that speeds processing. 

 

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