cmd命令连接oracle数据库,导入,导出

1.window系统使用win+R可以快速打开cmd命令窗口如图:


2.授权某个用户dba权限:grant dba to 用户名;

3.取消dba授权:revoke dba from 用户名;

4,命令导出:exp user_xx/[email protected]:1521/orcl  file=e:\foa.dmp  owner=(foa) 

5.命令导入:imp user_xx/[email protected]:1521/orcl file="e:\foa.dmp" full=y buffer=64000

猜你喜欢

转载自blog.csdn.net/linadadan/article/details/80239617