Oracle PL/SQL - How to escape colon (:), being misinterpreted for bind variable

前端 未结 2 513
借酒劲吻你
借酒劲吻你 2021-01-20 00:19

I have a small PL/SQL script that I\'m using to try and copy data between two Oracle database instances.

I\'m calling the SQL script with (sanitised):



        
2条回答
  •  不思量自难忘°
    2021-01-20 00:46

    to try and copy data between two Oracle database instances.

    You're mixing up SQL*Plus commands with PL/SQL. But, there is no need to write code yourself for that. You can use Oracle Data Pump Export and Import. Use it with the CONTENT=DATA_ONLY option to mimic SQL*Plus' COPY command.

    Regards,
    Rob.

提交回复
热议问题