Skip to Main Content
The world's most popular open source database
Contact MySQL  | 
Login  |  Register
  • MySQL.com
  • Downloads
  • Documentation
  • Developer Zone
Developer Zone Downloads MySQL.com
Documentation
  • MySQL Server
  • MySQL Enterprise
  • Workbench
  • InnoDB Cluster
  • MySQL NDB Cluster
  • Connectors
  • More
  • MySQL.com
  • Downloads
  • Developer Zone
Section Menu:  
Documentation Home
MySQL 9.3 C API Developer Guide
  • Preface and Legal Notices
  • The MySQL C API
  • MySQL C API Implementations
  • Writing C API-Based Client Applications
  • C API Function Reference
  • C API Basic Interface
  • C API Prepared Statement Interface
    • Overview of the C API Prepared Statement Interface
    • C API Prepared Statement Data Structures
      • C API Prepared Statement Type Codes
      • C API Prepared Statement Type Conversions
    • C API Prepared Statement Function Reference
    • C API Prepared Statement Function Descriptions
      • mysql_stmt_affected_rows()
      • mysql_stmt_attr_get()
      • mysql_stmt_attr_set()
      • mysql_stmt_bind_named_param()
      • mysql_stmt_bind_param()
      • mysql_stmt_bind_result()
      • mysql_stmt_close()
      • mysql_stmt_data_seek()
      • mysql_stmt_errno()
      • mysql_stmt_error()
      • mysql_stmt_execute()
      • mysql_stmt_fetch()
      • mysql_stmt_fetch_column()
      • mysql_stmt_field_count()
      • mysql_stmt_free_result()
      • mysql_stmt_init()
      • mysql_stmt_insert_id()
      • mysql_stmt_next_result()
      • mysql_stmt_num_rows()
      • mysql_stmt_param_count()
      • mysql_stmt_param_metadata()
      • mysql_stmt_prepare()
      • mysql_stmt_reset()
      • mysql_stmt_result_metadata()
      • mysql_stmt_row_seek()
      • mysql_stmt_row_tell()
      • mysql_stmt_send_long_data()
      • mysql_stmt_sqlstate()
      • mysql_stmt_store_result()
  • C API Asynchronous Interface
  • C API Thread Interface
  • C API Client Plugin Interface
  • C API Binary Log Interface
  • Index
Download this Manual
PDF (US Ltr) - 1.4Mb
PDF (A4) - 1.4Mb


version 9.3
9.2
9.1
9.0
8.4  current
8.0
5.7
MySQL 9.3 C API Developer Guide  /  C API Prepared Statement Interface  /  C API Prepared Statement Function Descriptions

6.4 C API Prepared Statement Function Descriptions

6.4.1 mysql_stmt_affected_rows()
6.4.2 mysql_stmt_attr_get()
6.4.3 mysql_stmt_attr_set()
6.4.4 mysql_stmt_bind_named_param()
6.4.5 mysql_stmt_bind_param()
6.4.6 mysql_stmt_bind_result()
6.4.7 mysql_stmt_close()
6.4.8 mysql_stmt_data_seek()
6.4.9 mysql_stmt_errno()
6.4.10 mysql_stmt_error()
6.4.11 mysql_stmt_execute()
6.4.12 mysql_stmt_fetch()
6.4.13 mysql_stmt_fetch_column()
6.4.14 mysql_stmt_field_count()
6.4.15 mysql_stmt_free_result()
6.4.16 mysql_stmt_init()
6.4.17 mysql_stmt_insert_id()
6.4.18 mysql_stmt_next_result()
6.4.19 mysql_stmt_num_rows()
6.4.20 mysql_stmt_param_count()
6.4.21 mysql_stmt_param_metadata()
6.4.22 mysql_stmt_prepare()
6.4.23 mysql_stmt_reset()
6.4.24 mysql_stmt_result_metadata()
6.4.25 mysql_stmt_row_seek()
6.4.26 mysql_stmt_row_tell()
6.4.27 mysql_stmt_send_long_data()
6.4.28 mysql_stmt_sqlstate()
6.4.29 mysql_stmt_store_result()

To prepare and execute queries, use the functions described in detail in the following sections.

All functions that operate with a MYSQL_STMT structure begin with the prefix mysql_stmt_.

To create a MYSQL_STMT handler, use the mysql_stmt_init() function.


PREV   HOME   UP   NEXT
Download this Manual
PDF (US Ltr) - 1.4Mb
PDF (A4) - 1.4Mb
Contact MySQL Sales
USA/Canada: +1-866-221-0634   (More Countries »)
  © 2025 Oracle

  • Products
  • HeatWave
  • MySQL Enterprise Edition
  • MySQL Standard Edition
  • MySQL Classic Edition
  • MySQL Cluster CGE
  • MySQL Embedded (OEM/ISV)
  • Services
  • Training
  • Certification
  • Support
  • Downloads
  • MySQL Community Server
  • MySQL NDB Cluster
  • MySQL Shell
  • MySQL Router
  • MySQL Workbench
  • Documentation
  • MySQL Reference Manual
  • MySQL Workbench
  • MySQL NDB Cluster
  • MySQL Connectors
  • Topic Guides
  • About MySQL
  • Contact Us
  • Blogs
  • How to Buy
  • Partners
  • Job Opportunities
  • Site Map
  © 2025 Oracle
Privacy / Do Not Sell My Info | Terms of Use | Trademark Policy |