SQLArgument

SQLArgument[arg1, arg2, ...]
holds a sequence of arguments to an SQL query.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

In[1]:=
Click for copyable input

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 package, as described in Using the Example Databases.

Open a connection:

In[2]:=
Click for copyable input

Select multiple columns:

In[3]:=
Click for copyable input
Out[3]=

Use a prepared statement to execute the same query:

In[4]:=
Click for copyable input
Out[4]=

Use a prepared statement to insert data:

In[5]:=
Click for copyable input
In[6]:=
Click for copyable input
In[7]:=
Click for copyable input
Out[7]=
In[8]:=
Click for copyable input
In[9]:=
Click for copyable input
New to Mathematica? Find your learning path »
Have a question? Ask support »