# dbinsert

### (PRO) dbinsert(connector, updateString, dispMessages)

Performs a SQL INSERT on a database. This can be using the source or target connector.

## Arguments

Argument | Data Type | Description
connector | string | The Connector to use to perform the lookup in. 'T' for the target connector and 'S' for the source connector.
insert String | string | SQL INSERT statement to perform.

## Returns

Nothing

## Description

Performs the query passed into the function.

## Examples

Example | Description
dbinsert("S", "INSERT INTO myTable (myField) VALUES ('T') WHERE key = '#keyVal'" ) | Execute an INSERT statement on the source connector, setting the field "myField" to the value 'T' where the key field has the value contained in the #keyVal field of the import data.

## See Also

dbselect(), dblookup(), dbupdate()