Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Renaming a column

ALTER TABLE table_name 
RENAME COLUMN column_name TO new_column_name;
Code language: SQL (Structured Query Language) (sql)
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #Renaming #column
ADD COMMENT
Topic
Name
8+1 =