I am using SQL Server, Column type is IMAGE - Which should hold binary data - in this case a bitmap.
This is the trace when I am using SQL_ResultColumnBLOB - No data is returned.
Thoughts?
This is the trace when I am using SQL_ResultColumnString
This is the trace when I am using SQL_ResultColumnBLOB - No data is returned.
Thoughts?
Code:
[58299.019] >SQL_Statement|DB 1|STMT 1|IMME|SQL: "SELECT [Google_Authenticator_QR_Code] FROM [DCI].[dbo].[Google_Authenticator] where unique_id = 1"> [58299.019] | |DB 1 is OPEN [58299.019] | IMMEDIATE EXECUTION... [58299.019] | >SQL_OpenStatement|DB 1|STMT 1> [58299.019] | | |STMT 1 is currently CLOSED [58299.019] | | |DB 1|STMT 1 is now OPEN [58299.019] | <SQL_SUCCESS< [58299.020] | >SQL_AutoBindColumn|DB 1|STMT 1|COL ALL> [58299.020] | | Autobinding ALL columns [58299.020] | | >SQL_ResultColumnCount|DB 1|STMT 1> [58299.020] | | <1< [58299.020] | | >SQL_AutoBindColumn|DB 1|STMT 1|COL 1> [58299.020] | | | >SQL_ResultColumnInfoStr|DB 1|STMT 1|COL 1|RESCOL_CONCISE_TYPE/NUM> [58299.020] | | | <SQL_LONGVARBINARY< [58299.020] | | | Type SQL_LONGVARBINARY [58299.020] | | | Length 65536 [58299.020] | | | >SQL_ManualBindColumn|DB 1|STMT 1|COL 1|SQL_LONGVARBINARY|PTR|LEN 65536|IND> [58299.020] | | | | PTR 009519BC [58299.020] | | | | IND 009148B4 [58299.020] | | | | |DB 1 is OPEN [58299.020] | | | | |STMT 1 is currently OPEN [58299.020] | | | | DType SQL_LONGVARBINARY [58299.020] | | | | CType SQL_DEFAULT [58299.020] | | | | [email protected] 009519BC [58299.020] | | | | [email protected] 009148B4 [58299.020] | | | | BufLen 65536 [58299.020] | | | | |COL 1 Bound [58299.020] | | | <SQL_SUCCESS< [58299.020] | | <SQL_SUCCESS< [58299.020] | | ALL columns have been bound [58299.020] | <SQL_SUCCESS< [58299.020] <SQL_SUCCESS< [58299.020] >SQL_FetchResult|DB 1|STMT 1|ROW 0> [58299.020] | FetchType 1 [58299.020] | Fetch NEXT Row [58299.022] <SQL_SUCCESS_WITH_INFO< [58299.022] ERROR WITH SQLState 01004 IGNORED, |DB 1,|STMT 1 [58299.022] >SQL_ResultColumnBLOB|DB 1|STMT 1|COL 1|TYPE -2|FILE ""> [58299.022] | DataType 99,0 [58299.022] | Buffers 65536 * 16384 [58299.022] | ERROR WITH SQLState 07009 IGNORED, |DB 1,|STMT 1 [58299.022] | FAIL [58299.022] | JOIN? -1 [58299.022] | 64k blocks [58299.022] | -1.43750000000153E-3 seconds [58299.022] <[0 bytes]<
Code:
[58417.375] >SQL_Statement|DB 1|STMT 1|IMME|SQL: "SELECT [Google_Authenticator_QR_Code] FROM [DCI].[dbo].[Google_Authenticator] where unique_id = 1"> [58417.375] | |DB 1 is OPEN [58417.375] | IMMEDIATE EXECUTION... [58417.375] | >SQL_OpenStatement|DB 1|STMT 1> [58417.375] | | |STMT 1 is currently CLOSED [58417.375] | | |DB 1|STMT 1 is now OPEN [58417.375] | <SQL_SUCCESS< [58417.376] | >SQL_AutoBindColumn|DB 1|STMT 1|COL ALL> [58417.376] | | Autobinding ALL columns [58417.376] | | >SQL_ResultColumnCount|DB 1|STMT 1> [58417.376] | | <1< [58417.376] | | >SQL_AutoBindColumn|DB 1|STMT 1|COL 1> [58417.376] | | | >SQL_ResultColumnInfoStr|DB 1|STMT 1|COL 1|RESCOL_CONCISE_TYPE/NUM> [58417.376] | | | <SQL_LONGVARBINARY< [58417.376] | | | Type SQL_LONGVARBINARY [58417.376] | | | Length 65536 [58417.376] | | | >SQL_ManualBindColumn|DB 1|STMT 1|COL 1|SQL_LONGVARBINARY|PTR|LEN 65536|IND> [58417.376] | | | | PTR 009E66D4 [58417.376] | | | | IND 009A5044 [58417.376] | | | | |DB 1 is OPEN [58417.376] | | | | |STMT 1 is currently OPEN [58417.376] | | | | DType SQL_LONGVARBINARY [58417.376] | | | | CType SQL_DEFAULT [58417.377] | | | | [email protected] 009E66D4 [58417.377] | | | | [email protected] 009A5044 [58417.377] | | | | BufLen 65536 [58417.377] | | | | |COL 1 Bound [58417.377] | | | <SQL_SUCCESS< [58417.377] | | <SQL_SUCCESS< [58417.377] | | ALL columns have been bound [58417.377] | <SQL_SUCCESS< [58417.377] <SQL_SUCCESS< [58417.377] >SQL_FetchResult|DB 1|STMT 1|ROW 0> [58417.377] | FetchType 1 [58417.377] | Fetch NEXT Row [58417.378] <SQL_SUCCESS_WITH_INFO< [58417.378] ERROR WITH SQLState 01004 IGNORED, |DB 1,|STMT 1 [58417.378] >SQL_ResultColumnString|DB 1|STMT 1|COL 1> [58417.378] <BMš©[h01][h00][h00][h00][h00][h00]6[h00][h00][h00]([h00][h00][h00]¥[h00][h00][h00]¥[h00][h00][h00][h01][h00] [h00][h00][h00][h00][h00][h00][h00][h00][h00]Ä[h0E][h00][h00]Ä[h0E][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00][h00].....
Comment