当前位置:数据库 > Oracle >>

oracle高级语句

oracle高级语句
 
1.oracle复制表:create table A as select * from B
 
2.oracle导出导入数据库:
将数据库TEST完全导出,用户名system 密码manager 导出到D:\daochu.dmp中
exp system/manager@TEST file=d:\daochu.dmp
将D:\daochu.dmp 中的数据导入 TEST数据库中。
imp system/manager@TEST  file=d:\daochu.dmp
 
3.oracle导入导出表:
将数据库中的表inner_notify、notify_staff_relat导出    
exp aichannel/aichannel@TESTDB2 file= d:datanewsmgnt.dmp tables=(inner_notify,notify_staff_relat) 
将d:daochu.dmp中的表table1 导入 
imp system/manager@TEST  file=d:daochu.dmp  tables=(table1)
 
Oracle
MySQL
Access
SQLServer
DB2
Excel
SQLite
SYBASE
Postgres
如果你遇到数据库难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,