Search
 
SCRIPT & CODE EXAMPLE
 

SQL

psql filed name alter

ALTER TABLE table_name 
RENAME column_name TO new_column_name;
Comment

how to update column name in psql

ALTER TABLE order_details
  DROP COLUMN notes;
Comment

how to update column name in psql

ALTER TABLE order_details
  RENAME TO order_information;
Comment

PREVIOUS NEXT
Code Example
Sql :: oracle add column 
Sql :: VERIFY INDEXES IN SQL ORACLE 
Sql :: create new table plsql 
Sql :: sql auto update dupdated_at 
Sql :: sql query to find duplicates in column 
Sql :: mysql where one year ago 
Sql :: mysql allow remote connections 
Sql :: oracle start job 
Sql :: see all users mysql 
Sql :: add primary key constraint in oracle 
Sql :: mysql history command 
Sql :: PLS-00225 type 
Sql :: postgresql drop primary key constraint 
Sql :: t-sql test if table exists 
Sql :: file /etc/init.d/mysql not exists 
Sql :: import sql file laravel cmd 
Sql :: pip install mysqlclient error 
Sql :: mysql remove last empty newline 
Sql :: how to delete view in sql 
Sql :: day of the week sqlite 
Sql :: postgres convert exisiting column to text 
Sql :: ordering by issue with 4 digit numbers in sql 
Sql :: change default maximum runtime mariadb from phpmyadmin 
Sql :: postgres truncate with cascade 
Sql :: postgresql create table with timestamp 
Sql :: oracle sql truncate table 
Sql :: show table columns 
Sql :: sql update query 
Sql :: mysql tinyint max value 
Sql :: mysql change data type of column 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =