mysql_stmt_prepare - Online Linux Manual PageSection : 3
Updated :
Source : Version 3.2.2
Note : MariaDB Connector/C
Namemysql_stmt_prepare − Prepares an SQL string
Synopsis
#include <mysql.h>
int mysql_stmt_prepare(MYSQL_STMT * stmt,
const char * query,
unsigned long length);
DescriptionPrepares the SQL query.
Parameter• stmt − a statement handle, which was previously allocated by mysql_stmt_init(3). • query − SQL statement • length − length of SQL statement
Return valueZero on success, non zero on error.
Notes• The parameter markers must be bound to application variables using mysql_stmt_bind_param(3). • The maximum number of parameters is 65535 (0xFFFF). • The markers are legal only in certain places in SQL statements. For example, they are allowed in the VALUES() list ofINSERT statement (to specify column values for a row), or in a comparison with a column in a [select()](WHERE]] clause to specify a comparison value. However, they are not allowed in identifiers (such as table or column names) in the select list that names the columns to be returned by SELECT statement, or to specify both operands of a binary operator such as the equal sign. The latter restriction is necessary because it would be impossible to determine the parameter type. In general, parameters are legal only in Data Manipulation Language (DML) statements, and not in Data Definition Language (DDL) statements.
See Also• mysql_stmt_init(3) • mysql_stmt_param_count(3) • mysql_stmt_execute(3) 0
Johanes Gumabo
Data Size : 7,233 byte
man-mysql_stmt_prepare.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 5 / 186,475
Visitor ID : :
Visitor IP : 52.14.234.146 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.