Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  

SQL.MySQL.InsertID

For MySQL Connection queries the last insert ID.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SQL 2.9 Yes Yes Yes Yes Yes

MBS( "SQL.MySQL.InsertID"; Connection )

Parameters

Parameter Description Example value
Connection The connection reference number gained with SQL.NewConnection. $Connection

Result

Returns the ID or error message.

Description

For MySQL Connection queries the last insert ID.

see also
http://dev.mysql.com/doc/refman/5.1/en/mysql-insert-id.html

See also


SQL.ListConnections   -   SQL.NewCommand

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins