![]() |
|
|||
File indexing completed on 2025-08-03 08:22:06
0001 // $Id: TSQLPreparedStatement.cxx,v 1.1.1.1 2004/02/18 20:58:02 dave Exp $ 0002 //*-- Author : Valeriy Onuchin 14/02/2000 0003 // 0004 0005 ///////////////////////////////////////////////////////////////////// 0006 // 0007 // An object that represents a precompiled SQL statement. 0008 // 0009 // A SQL statement is pre-compiled and stored in a 0010 // TSQLPreparedStatement object. This object can then be used to 0011 // efficiently TSQLPreparedStatement::Execute() this statement 0012 // multiple times. 0013 // 0014 // Note: The TSQLPreparedStatement::SetXXX methods for setting IN 0015 // parameter values must specify types that are compatible with the 0016 // defined SQL type of the input parameter. For instance, if the 0017 // IN parameter has SQL type integer, then the method 0018 // TSQLPreparedStatement::SetInt() should be used. 0019 // 0020 // Example of TSQLPreparedStatement setting a parameter; 0021 // con is an active connection 0022 // 0023 // 0024 // TSQLPreparedStatement* pstmt = 0025 // con->PrepareStatement("UPDATE EMPLOYEES SET SALARY = ? 0026 // WHERE ID = ?"); 0027 // 0028 // pstmt->SetInt(2, 110592); 0029 // 0030 // 0031 // See also: 0032 // TSQLConnection::PrepareStatement(const TString&), 0033 // TSQLResultSet TSQLStatement TSQLCallableStatement 0034 // 0035 // 0036 ///////////////////////////////////////////////////////////////////// 0037 0038 #include <RDBC/TSQLPreparedStatement.h> 0039 #include <RDBC/TSQLResultSet.h> 0040 0041 0042 ClassImpQ(TSQLPreparedStatement)
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |