Skip to Main Content

SQL Developer

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!

Data export from table with BINARY_DOUBLE data type generates wrong insert statement

3328671Oct 13 2016 — edited Oct 13 2016

Hi there,

I have an issues with row export on tables which contain field type BINARY_DOUBLE. Lets say there is a BINARY_DOUBLE type with value 15.234 in a row.. I use the right click menu in 'data' tab to export the insert statements into my clipboard, so I get something like this:

-> Insert into…. values… (… ,’15.234‘,…);

When I use this Insert statement in SQL Developer it works - but only there.. running it in an automated deploy process I get ORA-01722 (invalid number). So I manually changed the insert statement to:

-> Insert into…. values… (… ,15.234,…); -- removed the quotes around the number

This insert statement works in SQL Developer and also works in automated deploy process - so I guess those quotes can be considered as an error in exported insert statements. I have testet it on the latest version 4.1.5.21 (Build MAIN-21.78) and it can be reproduced in that version (+older ones).

I would be very grateful if someone could fix those quotes around BINARY_DOUBLE insert statement exports because we have so many of them :/ Thanks!

Kind Regards

Korhan

Comments

Fran
welcome to OTN forums.

Please search before post:
9648502
2305368
2201373

When the issue will be solved, remember mark this question as answered to keep clean that forum.
900442
you may try and use fully qualified host names instead of the simple host name when trying to establish a connection from sql developer.

Regards,
Raj K.
Osama_Mustafa
Refer to
SQL Developer Shows "Connection Closed" Error When Running a Query [ID 1297692.1]
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 10 2016
Added on Oct 13 2016
0 comments
173 views