DatabaseLink`
DatabaseLink`

SQLSchemaInformation

SQLSchemaInformation[conn]

returns information about the schemas available through an SQL connection.

Details and Options

  • To use SQLSchemaInformation, you first need to load DatabaseLink using Needs["DatabaseLink`"].
  • The following option can be given:
  • "ShowColumnHeadings"Falsewhether to return headings with the results

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:

This returns the schema details for this database connection: