Replies
Welcome, guest
Join CrazyEngineers to reply, ask questions, and participate in conversations.
CrazyEngineers powered by Jatra Community Platform
-
@thebigk • Apr 11, 2015
Naresh ArshI have small query please give me solution for this.
my query is i want to delete a column from a table .Right click on the column and select 'Delete'. It's very easy.
-
@prasad-aSUfhP • Apr 14, 2015
Know your DDL!
Also Google!
Alter table name drop column name; -
@neeraj-iAaNcG • Apr 18, 2015
Naresh ArshI have small query please give me solution for this.
my query is i want to delete a column from a table .## Dropping one column
ALTER TABLE table_name DROP COLUMN column_name;
##Dropping multiple columns
ALTER TABLE table_name DROP COLUMN (column_name1, column_name2,...); -
@thebigk • Apr 18, 2015
Too many assumptions here, right? ๐
-
@neeraj-iAaNcG • Apr 18, 2015
-
@thebigk • Apr 18, 2015
Neeraj SharmaI didn't get you.. ๐จ
The original question does not talk about deleting a column from mysql database or excel or an HTML table. ๐ I just wish people could ask questions without making assumptions.
-
@vishal-pysGmK • Apr 18, 2015
Kaustubh KatdareThe original question does not talk about deleting a column from mysql database or excel or an HTML table. ๐ I just wish people could ask questions without making assumptions.
We should probably wait for the #-Link-Snipped-# to return and clarify that. But i'm sure its not an excel table column or word table column ๐ And the right click, delete doesn't workout on HTML ๐
-
@rahulkumar200-AzMcLQ • Apr 27, 2015
Try this
ALTER TABLE table_name
DROP COLUMN column_name; -
@rahulkumar200-AzMcLQ • Apr 27, 2015
And if you wanna !"add some columns"! try this
ALTER TABLE table_name
ADD column_name column-definition; -
@vishal-pysGmK • Apr 27, 2015
Rahulkumar200Try this
ALTER TABLE table_name
DROP COLUMN column_name;already answered by #-Link-Snipped-#