sqlplus连接远程oracle&&sqlplus导入、导出dmp文件

一、sqlplus连接远程oracle
oracle远程登录解决办法
Oracle远程登录:
在cmd中:sqlplus    scott/tiger@oracle   //在tiger和@中间不能加空格,oracle为你自己在netca中添加的远程连接的服务名
在cmd中:sqlplus   /nolog

slqplus scott/[email protected]:1521/orcl  //orcl为服务器上的服务名。

二、

1.cmd导入dmp文件

imp 用户名/密码@实例名 file=xxxx.dmp full=y;

imp ytslpt/[email protected]:1521/syrjfxgl full=y file=D:\dump\ytslpt.dmp;

2.cmd导出dmp文件

exp用户名/密码@实例名 full=y inctype=complete    file=x'x'x'x.dmp

exp ytslpt/[email protected]:1521/syrjfxgl full=y file=D:\dump\ytslpt.dmp;


以上。谢我跟你急。

猜你喜欢

转载自blog.csdn.net/zflovecf/article/details/79881481
今日推荐