日期:2014-05-17  浏览次数:21112 次

oracle适用用语句收藏,欢迎补充..
create tablespace aaa datafile '/opt/oracle/aaa.dat' size 100M;
create user aaa identified by aaa default tablespace lxx profile default;
grant create session,create table to aaa;
grant create view to aaa;
grant create sequence to aaa;
grant create procedure to aaa;
grant UNLIMITED TABLESPACE to aaa;
grant dba to aaa;
commit;

alter database datafile '/opt/oracle/aaa.dat' resize 1000 M;

imp aaa/aaa ignore=y rows=y indexes=yes buffer=4024000 file= aaa2010.dmp log=aaa.log full=y 

exp aaa/aaa rows=y indexes=y compress=n buffer=1024000 direct=y feedback=100000 file=aaa.dmp





------解决方案--------------------

这个太多了,楼主还是慢慢积累吧。以前我也搞过类似的,后来就没继续整理了。

Oracle 小知识 总结(一)
http://blog.csdn.net/tianlesoftware/article/details/5622268
------解决方案--------------------
基本语句就很多了。楼主可以google一下。文档很多的。而且比较全
------解决方案--------------------
很多很多的。