Search
 
SCRIPT & CODE EXAMPLE
 

SQL

mysql drop column

ALTER TABLE `claims_user_settings` DROP COLUMN `super_user`;
Comment

how to remove a column from a table in MySQL

ALTER TABLE table_name DROP column_name;
#example
ALTER TABLE student DROP first_name;
Comment

delete column from table mysql query

ALTER TABLE tableName CHANGE oldcolname newcolname datatype(length);
Comment

delete column from table mysql query

ALTER TABLE tableName CHANGE oldcolname newcolname datatype(length);
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql show charset 
Sql :: oracle sql truncate table 
Sql :: display users in mysql 
Sql :: mysqldump csv 
Sql :: my sql version 
Sql :: import sql file in mysql 
Sql :: show table columns 
Sql :: oracle split string 
Sql :: oracle pl/sql prevent sql injection 
Sql :: sql update query 
Sql :: how to get the ddl for datafile in oracle tablespace 
Sql :: ALL_TAB_PARTITIONS 
Sql :: access the postgres psql 
Sql :: alter table change default 
Sql :: v$session not found in oracle 
Sql :: woocommerce mysql price table 
Sql :: sql server drop table if exists 
Sql :: SQL query to convert DD/MM/YYYY to YYYY-MM-DD 
Sql :: oracle create program if not exists 
Sql :: mysql change primary key 
Sql :: mysqldump: couldn 
Sql :: oracle grants 
Sql :: script to add datafile to tablespace 
Sql :: add auto increment column mysql 
Sql :: get two decimal places in sql server 
Sql :: DB::transaction 
Sql :: docker mysql random root password 
Sql :: sql delete join 
Sql :: sql timestamp to date 
Sql :: drop foreign key mysql 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =