Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TSQLPreparedStatement.cxx
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TSQLPreparedStatement.cxx
1
// $Id: TSQLPreparedStatement.cxx,v 1.1.1.1 2004/02/18 20:58:02 dave Exp $
2
//*-- Author : Valeriy Onuchin 14/02/2000
3
//
4
6
//
7
// An object that represents a precompiled SQL statement.
8
//
9
// A SQL statement is pre-compiled and stored in a
10
// TSQLPreparedStatement object. This object can then be used to
11
// efficiently TSQLPreparedStatement::Execute() this statement
12
// multiple times.
13
//
14
// Note: The TSQLPreparedStatement::SetXXX methods for setting IN
15
// parameter values must specify types that are compatible with the
16
// defined SQL type of the input parameter. For instance, if the
17
// IN parameter has SQL type integer, then the method
18
// TSQLPreparedStatement::SetInt() should be used.
19
//
20
// Example of TSQLPreparedStatement setting a parameter;
21
// con is an active connection
22
//
23
//
24
// TSQLPreparedStatement* pstmt =
25
// con->PrepareStatement("UPDATE EMPLOYEES SET SALARY = ?
26
// WHERE ID = ?");
27
//
28
// pstmt->SetInt(2, 110592);
29
//
30
//
31
// See also:
32
// TSQLConnection::PrepareStatement(const TString&),
33
// TSQLResultSet TSQLStatement TSQLCallableStatement
34
//
35
//
37
38
#include <
RDBC/TSQLPreparedStatement.h
>
39
#include <
RDBC/TSQLResultSet.h
>
40
41
42
ClassImpQ
(
TSQLPreparedStatement
)
RDBC
blob
master
rdbc
TSQLPreparedStatement.cxx
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:49
using
1.8.2 with
sPHENIX GitHub integration