SQLDropTable

SQLDropTable[conn, table]
drops a table in an SQL connection.

DetailsDetails

  • To use SQLDropTable, you first need to load DatabaseLink using Needs["DatabaseLink`"].
  • Use this function with caution, as you can lose data permanently!
  • Returns an integer specifying the number of rows affected by the query.
  • The following option can be given:
  • "Timeout"Nonethe timeout for the query

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
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=
In[6]:=
Click for copyable input
New to Mathematica? Find your learning path »
Have a question? Ask support »