DatabaseLink`
DatabaseLink`

SQLArgument

SQLArgument[arg1,arg2,]

holds a sequence of arguments to an SQL query.

Details and Options

  • To use SQLArgument, you first need to load DatabaseLink using Needs["DatabaseLink`"].
  • SQLArgument is always used as an argument to SQLExecute.

Examples

Basic Examples  (1)

If you find that the examples in this section do not work as shown, you may need to install or restore the example database with the "DatabaseLink`DatabaseExamples`" package, as described in Using the Example Databases.

Open a connection:

Select multiple columns:

Use a prepared statement to execute the same query:

Use a prepared statement to insert data: