# NOT RUN {
db_con <- DIZutils::db_connection(
db_name = "i2b2",
db_type = "postgres"
)
query_database(
db_con = db_con,
sql_statement = "SELECT * FROM table_name;"
)
query_database(
db_con = db_con,
sql_statement = "INSERT INTO table_name DEFAULT VALUES;",
no_result = TRUE
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab