t_sql_script_create_table: Generate a CREATE TABLE statement for an existing table in...

View source: R/sql_helpers.R

t_sql_script_create_tableR Documentation

Generate a CREATE TABLE statement for an existing table in Microsoft SQL Server.

Description

Generate a CREATE TABLE statement for an existing table in Microsoft SQL Server.

Usage

t_sql_script_create_table(con, table)

Arguments

con

A database connection that can be passed to DBI::dbSendQuery/DBI::dbGetQuery.

table

A string, the schema qualified table name of an existing SQL table.

Value

A data table, contains the DDL scripts for creating a table.

Examples

t_sql_script_create_table(con = NULL)

sqlHelpers documentation built on Oct. 15, 2023, 1:07 a.m.