Home  >  Article  >  Database  >  What is the statement to delete table fields in oracle database

What is the statement to delete table fields in oracle database

王林
王林Original
2020-06-19 11:58:107368browse

What is the statement to delete table fields in oracle database

The statement to delete table fields in oracle database is:

alter table 表名 drop (column);

(Recommended tutorial: oracle tutorial)

Example:

alter table T_Student2 drop (sex);

The above statement means to delete the sex field in the T_Student2 data table.

The above is the detailed content of What is the statement to delete table fields in oracle database. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn