如下所示:
复制system用户中的表到另一个表(test)中
copy from system/Sw251860@orcl append test using select sysdate from dual;
结果正确:
1 rows selected from system@orcl.
1 rows inserted into TEST1.
1 rows committed into TEST1 at DEFAULT HOST connection.
但是若复制sys用户中的表:
copy from sys/Sw251860@orcl append test using select sysdate from dual;
会出错,ORA-28009: connection as SYS should be as SYSDBA or SYSOPER 需要以sysdba或osysper身份连接, 问题在于sys怎样以sysdba 或 sysoper身份连接: system 用户写成 system/Sw251860@orcl正确 但是sys用户该怎么写,即sys/Sw251860@orcl 选项该怎么写 sys/Sw251860@orcl 写成 sys/Sw251860 as sysdba@orcl,sys as sysdba@orcl等都不对,望知道的回答下,谢谢