DatabaseLink`
DatabaseLink`
SQLCatalogNames
SQLCatalogNames[conn]
returns the names of the catalogs in an SQL connection.
Details and Options
- To use SQLCatalogNames, you first need to load DatabaseLink using Needs["DatabaseLink`"].
Examples
Basic Examples (1)Summary of the most common use cases
In[1]:=1

✖
https://wolfram.com/xid/0buk7pvl31omilgsp5df-csto8j
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.
In[2]:=2

✖
https://wolfram.com/xid/0buk7pvl31omilgsp5df-srb
Catalogs in the HSQLDB demo data source:
In[3]:=3

✖
https://wolfram.com/xid/0buk7pvl31omilgsp5df-f1r
Out[3]=3

In[4]:=4

✖
https://wolfram.com/xid/0buk7pvl31omilgsp5df-dny
Catalogs in a MySQL installation:
In[5]:=5

✖
https://wolfram.com/xid/0buk7pvl31omilgsp5df-1wxwhr
In[6]:=6

✖
https://wolfram.com/xid/0buk7pvl31omilgsp5df-9a5xb0
Out[6]=6

In[7]:=7

✖
https://wolfram.com/xid/0buk7pvl31omilgsp5df-ui7wuz