answersLogoWhite

0


Best Answer

Can you be more specific? What kind of table do you mean, and what program are you using? A SQL statement like this will do it: alter table tblName drop column colName tblName is the name of the table colName is the name of the column

User Avatar

Wiki User

17y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How you can delete a column from the table?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Shortcut command used to delete a table column?

Delete column


To delete a field in a table right-click the column heading for the field and then click on the shortcut menu?

I believe it is "Delete Column"


IN ACCESS How DO YOU delete a column from the table?

Go to the Design View for the table. Then click on the field name for the column you want to get rid of and press the delete key. It will prompt you to make sure you want to do it, as you will lose the data in it if you do. Click OK if you want to and it will be gone. When you next open the table, the column will no longer be in it.


What are the parts of a basic SQL query?

The basic parts of a SQL Select query are: SELECT column names FROM table name WHERE conditions ORDER BY column names The basic parts of an insert query would be: INSERT INTO table name (VALUES) The basic parts of a delete query would be DELETE FROM table name WHERE conditions The basic parts of an update query would be UPDATE TABLE table name SET column name = value WHERE conditions


Delete column vba excel?

to delete column B Columns("B:B").Delete Shift:=xlToLeft


How do you declare foreign key in db2?

-- two dashes mean a comment in DB2 for VM and z/OS -- 1st design your table - considered optional -- 2nd declare your table - maditory. You still can not alter a table that -- does not exist -- 3rd alter the table to add the foreign key -- DB2 for FOREIGN KEY ALTER TABLE owner.Tablename ADD CONSTRAINT name FOREIGN KEY (column name(s) ) REFERENCES REDBA.RESF_FINAL_CARD (column name(s) ) ON DELETE RESTRICT -- means stop them or ON DELETE cascade -- Cascade means to delete everthing here or ON DELETE SET value -- update the value of the column ; -- note since you are doing DDL not dml the commit is implicit!! so -- there is no COMMIT WORK needed


What is the shortcut command used to delete a column?

There is no keyboard shortcut key to delete a column, nor is there any special command. The quickest way to delete the contents of a column is to click on the letter at the top of the column you want to delete and press the Del key.


How do you delete an entire row or column in Excel?

Click on the row or column header you want to delete. Then right click and pick Delete.


What is a column on a period table is called?

a column or family on the Periodic Table


What is the first column on the table?

For the table, turn on the First Column option


To add a column to the right of the last column of an existing Word table select table then?

to add a column to the right of the last column of an existing Word table select table then A. insert Columns to the Right B. insert Column C. insert Cells Column Right D. insert column 1


What is the difference between a column constraint and a table constraint?

column constraint is for a single column. table constraint is for an entire table.