Home > Database > Oracle > body text

What is the statement to delete table fields in oracle database

王林
Release: 2020-06-19 11:58:10
Original
7392 people have browsed it

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);
Copy after login

(Recommended tutorial: oracle tutorial)

Example:

alter table T_Student2 drop (sex);
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!