Query: fbsql_insert_id
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FBSQL_INSERT_ID(3) 1 FBSQL_INSERT_ID(3) fbsql_insert_id - Get the id generated from the previous INSERT operationSYNOPSISint fbsql_insert_id ([resource $link_identifier])DESCRIPTIONGets the id generated from the previous INSERT operation which created a DEFAULT UNIQUE value. Note The value of the FrontBase SQL function fbsql_insert_id(3) always contains the most recently generated DEFAULT UNIQUE value, and is not reset between queries.PARAMETERSo $ link_identifier -A FrontBase link identifier returned by fbsql_connect(3) or fbsql_pconnect(3).If optional and not specified, the function will try to find an open link to the FrontBase server and if no such link is found it will try to create one as if fbsql_connect(3) was called with no arguments.RETURN VALUESReturns the ID generated from the previous INSERT query, or 0 if the previous query does not generate an DEFAULT UNIQUE value. If you need to save the value for later, be sure to call this function immediately after the query that generates the value.SEE ALSOfbsql_affected_rows(3). PHP Documentation Group FBSQL_INSERT_ID(3)
Related Man Pages |
---|
fbsql_create_blob(3) - php |
fbsql_autocommit(3) - php |
fbsql_error(3) - php |
fbsql_list_fields(3) - php |
fbsql_query(3) - php |
Similar Topics in the Unix Linux Community |
---|
awk command for INSERT statement |
Very Urgent guys!!! |
previous posts |
Getting error in sql query |
Regular expression question |