sql delete column
snippet in sql

mysql drop column

user1730

ALTER TABLE `claims_user_settings` DROP COLUMN `super_user`;

sql server delete column

user9857


  ALTER TABLE Customers
DROP COLUMN ContactName;
 

alter table delete column

user3969

ALTER TABLE "table_name" DROP "column_name";

sql delete column

user913

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

sql delete all values in a column

user2430

UPDATE TableName SET ColumnName = NULL

alasql delete column

user7151

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