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

前端 未结 2 1730
梦毁少年i
梦毁少年i 2021-01-20 00:02

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:49

    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.

提交回复
热议问题