YohLee / Learning

学习资料
2 stars 0 forks source link

oracle 导入脚本 #15

Open YohLee opened 4 years ago

YohLee commented 4 years ago

imp scott/1qazxsw2@orcl file=D:\oracle_data\test_data\emr.dmp log=D:\oracle_data\logs.log full=y ignore=y;

imp scott/1qazxsw2@orcl file=D:\oracle_data\test_data\ehr.dmp log=D:\oracle_data\logs.log full=y ignore=y;

YohLee commented 4 years ago

#################oracle启动关闭####################### (1) 切换需要启动的数据库实例:export ORACLE_SID=C1 ##########如果报错,从第二步开始 (2) 进入Sqlplus控制台,命令:sqlplus /nolog (3) 以系统管理员登录,命令:connect / as sysdba (4) 如果是关闭数据库,命令:shutdown abort (5) 启动数据库,命令:startup (6) 退出sqlplus控制台,命令:exit