× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
Diksha.kushwah(*) reported 2015-08-08T06:27:32Z  · last modified 2017-01-03T14:44:40Z

Insert statement is not generated with right values for Export Data.


Priority Major
Complexity Complex
Component DB - Sap Hana
Version 18.0
Version: 17.0.0-alpha-7
Build #: 45104
Build Date: 2015-Aug-06 03:42:39 PM
 
Operating Environment: Windows 7 (6.1, amd64) / Cp1252 / en / US / Oracle Corporation 1.8.0_40-b26
Memory: Max=704,643,072;  Total=381,157,376;  Free=140,738,256;  CPUs=8
 
Steps to reproduce:
 
Connect to SAPHANA
Create a table and insert some values in it using following script:
 
CREATE COLUMN TABLE "Diksha"."Large_objects"  ( 
"c1" BLOB MEMORY THRESHOLD 1000,
"c2" CLOB MEMORY THRESHOLD 1000,
"c3" NCLOB MEMORY THRESHOLD 1000,
"c4" TEXT,
"c5" VARBINARY(5000) 
)
UNLOAD PRIORITY 5
GO
 
INSERT INTO "Large_objects"("c1", "c2", "c3", "c4", "c5") 
VALUES('FF3311121212EE3a','abc','afsgfs','agsfghfd',CAST('wahid' AS VARBINARY(5000)))
GO
 
Scenario 1:
 
Go to file option-> Results-> Convert binary to hex -> uncheck
 
Right click on created table and select Tools -> Export Data
Do not change default settings and click on next
In options tab set following things:
 
Destination: Preview Export
Format: INSERT Statements
Object Quoted Identifier: Double Quotes:"objects"
 
Click on Next
 
Following insert statement is generated:
 
INSERT INTO "Diksha"."Large_objects"("c1", "c2", "c3", "c4", "c5")
  VALUES([B@3828f99c, 'abc', 'afsgfs', 'agsfghfd', 0x5b42403565363337376164)
GO
 
Scenario 2:
 
Go to file option-> Results-> Convert binary to hex -> check
 
follow the same process as scenario1
 
Following insert statement is generated:
 
INSERT INTO "Diksha"."Large_objects"("c1", "c2", "c3", "c4", "c5")
  VALUES(46463333313131323132313245453361, 'abc', 'afsgfs', 'agsfghfd', 0x7761686964)
GO
 
In both Scenarios right insert statement is not generated for blob and varbinary datatype.
3 attachments

Issue #13646

Closed
Fixed
Resolved 2016-03-23T10:27:45Z
 
 
Completion
No due date
Fixed Build v17.0.0-alpha-15
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017