Skip to Main Content

Oracle Developer Tools for VS Code

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Spooling script with /*insert*/ hint gives an incorrect output

User_ZZQ0FNov 15 2021 — edited Nov 15 2021

Hello,
I am trying to use VS Code add-on to spool INSERT scripts. As instead I get the incorrect output.
When I use the same script using SQL Plus, I get the correct output containing INSERT scripts.
The code:

show serveroutput
set sqlblanklines on
set heading off
set linesize 10000
set long 90000

-- not available in VSCode
-- set ddl pretty on
-- set ddl storage on
-- set ddl segment_attributes on
-- set ddl tablespace on
-- set ddl sqlterminator on
-- set pages 999 
-- set longchunksize 1000

spool %userprofile%\Desktop\log_results.sql;
SELECT /*insert*/ * FROM CO_RDP_PROJECT where dwh_id < 0;
spool off;

It looks like the add-on is ignoring the /*insert*/ hint.
Could you please try to fix it?

This post has been answered by Christian.Shay -Oracle on Nov 16 2021
Jump to Answer

Comments

Post Details

Added on Nov 15 2021
3 comments
40 views