Oracle 常用语句
生活随笔
收集整理的這篇文章主要介紹了
Oracle 常用语句
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
select * from sys.dba_tablespaces; ? ? ? ? ? ?查詢表空間 ?
select * from v$tablespace; ? ? ? ? ? ? ? ? ? 查詢表空間一些參數 ? ? ? ? ? ? ? ?
select * from dba_users; ? ? ? ? ? ? ? ? ? ? ?查詢用戶 ? ? ?
drop user user_name cascade; ? ? ? ? ? ? ? ? ?刪除用戶
drop tablespace tablespace_name including contents and datafiles; ? ?刪除表空間
alter tablespace tablespace_old_name rename to tablespace_new_name; ?重命名表空間
alter table <table_name> add <column_name> <data_type> ? ? ? ? ? ? ? 表添加字段
轉載于:https://blog.51cto.com/aatend/1363333
總結
以上是生活随笔為你收集整理的Oracle 常用语句的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 动态执行c# 脚本片段
- 下一篇: 查看Aix系统配置命令