pg_renameColumn | R Documentation |
Helper command to rename a column via ALTER TABLE.
pg_renameColumn(column_name, new_column_name)
column_name |
A string, the name of the column to change. |
new_column_name |
A string, the new name for the column. |
A string, PostgreSQL helper statement to rename a column using ALTER TABLE.
pg_renameColumn(
column_name = "newCol",
new_column_name = "col1"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.