Search
 
SCRIPT & CODE EXAMPLE
 

SQL

alter table delete column

ALTER TABLE "table_name" DROP "column_name";
Comment

how to delete columns in sql

ALTER TABLE tableName
DROP COLUMN columnName;
Comment

sql drop column

ALTER TABLE my_schema.my_table DROP COLUMN my_column;
Comment

sql delete column

Deletes a column from a table.
Example: Removes the first_name column from the users table.
ALTER TABLE users
DROP COLUMN first_name
Comment

PREVIOUS NEXT
Code Example
Sql :: sql server list database 
Sql :: mysql order by date asc null last 
Sql :: postgresql check total storage 
Sql :: sql delimiter to columns 
Sql :: mysql import from sql file 
Sql :: bigquery get last month 
Sql :: postgres trigger insert into another table 
Sql :: sql server convert to guid 
Sql :: add not null constraint sql server 
Sql :: move table to a different schema 
Sql :: postgres order by month 
Sql :: sql not equal 
Sql :: oracle simple quote 
Sql :: mysql where length greater than 
Sql :: oracle previous year 
Sql :: grant all privileges database postgres to user 
Sql :: sqlite insert if not exists 
Sql :: mysql Client does not support authentication protocol requested by server; consider upgrading MySQL client 
Sql :: SQL SELECT DISTINCT Statement 
Sql :: update select mysql 
Sql :: oracle list days between two dates 
Sql :: sql server version check 
Sql :: oracle error compilation line 
Sql :: mysql not starting in xampp 
Sql :: rand mysql 
Sql :: duplicate record mysql 
Sql :: postgresql héritage 
Sql :: run psql postgres docker 
Sql :: BigQuery Remove Duplicate Keys From Table 
Sql :: sql insert into statement 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =