DatabaseLink provides functions for working with data stored in tables in SQL databases. Operations such as searching, inserting, and deleting are supported. They also convert between the different types of data stored in the database and Mathematica expressions.
SQLSelect — select data from a database
SQLUpdate — update existing data
SQLExecute — execute a raw SQL query
SQLArgument — a sequence of arguments to a raw SQL query
$SQLTimeout — how long Mathematica waits while executing queries