show_create_table: Generate the query that created a table: 'SHOW CREATE TABLE...

View source: R/wrap.R

show_create_tableR Documentation

Generate the query that created a table: 'SHOW CREATE TABLE table;'.

Description

Generate the query that created a table: 'SHOW CREATE TABLE table;'.

Usage

show_create_table(table, database)

Arguments

table

Table name

database

AWS Glue/Athena database name

Value

The query that created the table

Examples

`df_table = dbtools::show_create_table(table='my_table', database='my_db')`

moj-analytical-services/dbtools documentation built on Sept. 29, 2024, 2:06 a.m.