C API Data Types
Data types for the MySQL client library are designed to represent the entities you deal with in the course of a session with the server. There are types for the connection itself, for results from a query, for a row within a result, and for metadata (descriptive information about the columns making up a result).
Note that the terms "column" and "field" are synonymous in the following discussion.
Scalar Data Types
MySQL's scalar data types represent values such as very large integers, boolean values, and field offsets.
my_ulonglong
A long integer type, used for return values of functions such as mysql_affected_rows(), mysql_num_rows(), and mysql_insert_id(), that return row counts or other potentially large numbers.
To print a ...
Get MySQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.