SQL_GET_TABLES
The SQL_GET_TABLES script element lists all database tables. The agent writes the result to a report. Exactly one line is output per table. If a schema is available, it is written in front of the table name. Schema and table are separated by a dot.
Syntax
SQL_GET_TABLES
Examples
All tables of the NORTHWIND database are retrieved.
SQL_GET_TABLES;
Result shown in the report:
dbo.Categories
dbo.CustomerCustomerDemo
dbo.CustomerDemographics
dbo.Customers
dbo.Employees
dbo.EmployeeTerritories
dbo.Order Details
dbo.Orders
dbo.Products
dbo.Region
dbo.Suppliers
dbo.Territories
See also: