Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Connection:-GetTables - get a list of tables from the database
Calling Sequence
connection:-GetTables( opts )
Parameters
connection
-
Connection module
opts
(optional) equation(s) of the form option=value where option is one of catalog, schema, table, or output
Description
GetTables returns an Array where each row of the Array contains matches from one table in the database connected to using connection. A column in the Array is data associated with the table. The output option controls the columns and their order in the returned Array.
The opts argument can contain one or more of the following equations.
output = list containing a selection of symbols from: name, catalog, schema, and type
The output option specifies the columns to return. The order of the columns in the output is the same as the order of the symbols in the list. By default, only the name is returned. Some databases do not support all of these fields.
- name returns the name of the table.
- catalog returns the name of the catalog that contains the table.
- schema returns the name of the schema that the table uses.
- type returns the type of the table. These are a database-specific values. Typical results are "TABLE", "VIEW", "SYSTEM TABLE","GLOBAL TEMPORARY", "LOCAL TEMPORARY", "ALIAS", and "SYNONYM".
catalog = string
Return only columns from the specified catalog. To return columns from tables not in a catalog, specify the empty string (""). By default, no restrictions are applied.
schema = string
Return only columns from databases in which the schema matches the specified pattern. The pattern can consist of any valid schema name characters and the special characters % and _. A % matches any string and an _ matches any character. To match a literal _ or %, you must prepend the escape character \. For example to match a _ use \_. By default, no restrictions are applied.
table = string
Return only columns for which the table matches the specified pattern. The pattern can consist of any valid table name characters and the special characters % and _. A % matches any string and an _ matches any character. To match a literal _ or %, you must prepend the escape character \. For example to match a _ use \_. By default, no restrictions are applied.
Examples
See Also
Array, Database, Database[Connection], Database[Connection][GetCatalogs], Database[Connection][GetColumns], Database[Connection][GetSchemas], Database[Driver], Database[usage]
Download Help Document