Oracle 5.0 Reference Manual page 2181

Table of Contents

Advertisement

String format:
INSERT INTO ... VALUES (...),(...),(...)...
String format:
LOAD DATA INFILE ...
String format:
ALTER TABLE
String format:
UPDATE
String format:
Note that
mysql_info()
row form of the statement (that is, only if multiple value lists are specified).
Return Values
A character string representing additional information about the most recently executed statement.
if no information is available for the statement.
NULL
Errors
None.
20.6.6.36.
mysql_init()
MYSQL *mysql_init(MYSQL *mysql)
Description
Allocates or initializes a
pointer, the function allocates, initializes, and returns a new object. Otherwise, the object is initialized
and the address of the object is returned. If
mysql_close()
Return Values
An initialized
Errors
In case of insufficient memory,
20.6.6.37.
mysql_insert_id()
my_ulonglong mysql_insert_id(MYSQL *mysql)
Description
Returns the value generated for an
statement. Use this function after you have performed an
contains an
LAST_INSERT_ID(expr)
More precisely,
C API Function Descriptions
Records: 100 Duplicates: 0 Warnings: 0
Records: 3 Duplicates: 0 Warnings: 0
Records: 1 Deleted: 0 Skipped: 0 Warnings: 0
Records: 3 Duplicates: 0 Warnings: 0
Rows matched: 40 Changed: 40 Warnings: 0
returns a
object suitable for mysql_real_connect(). If
MYSQL
is called to close the connection.
handle.
MYSQL*
NULL
NULL
field, or have used
AUTO_INCREMENT
[961].
mysql_insert_id()
non-NULL
value for
INSERT ... VALUES
mysql_init()
if there was insufficient memory to allocate a new object.
is returned.
column by the previous
AUTO_INCREMENT
INSERT
INSERT
is updated under these conditions:
2161
only for the multiple-
mysql
allocates a new object, it is freed when
INSERT
statement into a table that
or
to set a column value with
UPDATE
is a
NULL
or
UPDATE

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents