登录 注册
当前位置:主页 > 资源下载 > 在SQL语言基础中,删除一列的操

在SQL语言基础中,删除一列的操

  • 更新:2024-07-07 10:53:50
  • 大小:5.26MB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:Informix - 数据库
  • 格式:PPT

资源介绍

丢弃一个列 * 使用 DROP COLUMN来丢弃一个表中将来不使用的列. SQL> ALTER TABLE dept30 2 DROP COLUMN job ; Table altered. * Dropping a Column You can drop a column from a table by using the ALTER TABLE statement with the DROP COLUMN clause. This is a feature available from Oracle8i onward. Guidelines The column may or may not contain data. Only one column can be dropped at a time. The table must have at least one column remaining in it after it is altered. Once a column is dropped, it cannot be recovered.