# tDBLastInsertId

Obtains the primary key value of the record that was last inserted in a database table by a user.

This component works with a variety of databases depending on your selection.

### In this section

* [tDBLastInsertId Standard properties](https://help.qlik.com/talend/en-US/components/7.2/db-generic/tdblastinsertid-standard-properties)