Sql delete column

This article is tagged with: Sql delete column and mysql

sql server delete column

ALTER TABLE Customers
DROP COLUMN ContactName;

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

alter table delete column

ALTER TABLE "table_name" DROP "column_name";

mysql drop column

ALTER TABLE `claims_user_settings` DROP COLUMN `super_user`;

sql delete all values in a column

UPDATE TableName SET ColumnName = NULL

alasql delete column

var data = [{a:1,b:10},{a:2,b:20}];
var res = alasql('SELECT * REMOVE COLUMN b FROM ?',[data]);
// returns [{a:!},{a:2}]

This article is tagged with: Sql delete column and mysql