Skip to main content

database_tables

Creates, updates, deletes, gets or lists a database_tables resource.

Overview

Namedatabase_tables
TypeResource
Idazure.sql.database_tables

Fields

NameDatatypeDescription
databaseNametextfield from the properties object
memory_optimizedtextfield from the properties object
resourceGroupNametextfield from the properties object
schemaNametextfield from the properties object
serverNametextfield from the properties object
subscriptionIdtextfield from the properties object
tableNametextfield from the properties object
temporal_typetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdatabaseName, resourceGroupName, schemaName, serverName, subscriptionId, tableNameGet database table
list_by_schemaSELECTdatabaseName, resourceGroupName, schemaName, serverName, subscriptionIdList database tables

SELECT examples

List database tables

SELECT
databaseName,
memory_optimized,
resourceGroupName,
schemaName,
serverName,
subscriptionId,
tableName,
temporal_type
FROM azure.sql.vw_database_tables
WHERE databaseName = '{{ databaseName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND schemaName = '{{ schemaName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';