× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
swapnil.chaudhari(*) reported 2014-01-07T14:05:32Z  · tariqrahiman last modified 2014-05-23T19:17:57Z

BLOB data is imported as TEXT in SQLite


Dev
John LH
JohnLH
QA
Tariq Rahiman
tariqrahiman
Priority Low
Complexity Unknown
Component Tools - Import Tool
Version Future - .9

Aqua Data Studio 15.0.0-dev-63
Build #: 35415
Built on: 2014-Jan-03 09:09:58 AM     

Database: SQLite 3

Windows 7: 64 bit

Step 1: Connect to SQLite server.

Step 2: Create a table having column with blob datatype and blob data.

CREATE TABLE "table_test"  ( "col1" BLOB )
GO
INSERT INTO "table_test"("col1") VALUES(x'0500')
GO
 
Step 3: Export data from "table_test" in any file (please refer attached file, 'test_blob.csv' )
 
Step 4: Right click on table "table_test" -> Select option Tools ->  Select Import data.
Import data window opened successfully.
 
Step 5: Brows to attached file "test_blob.csv" -> Check option "First row contains column names" -> Click Next -> In format tab, in table column info, datatype "blob" is already selected -> click Next -> In option tab, Select destination "preview insert statements" ->Click Next -> Click Next.
 
Here you will observe that insert statement generated is "INSERT INTO "table_test"("col1") VALUES('0500')" it should be "INSERT INTO "table_test"("col1") VALUES(x'0500')" for blob data.
Morover, if in step 5 we select destination as "import ito database", data imported successfully, but data imported in "text" format.
2 attachments

Issue #11290

Closed
 
 
Completion
No due date
No fixed build
No time estimate

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