Field is not Blob

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
carlonarcisi
Posts: 29
Joined: Fri 10 Dec 2010 15:07

Field is not Blob

Post by carlonarcisi » Wed 23 Mar 2016 04:55

Delphi Xe2
Unidac 6.2.10
MSSQL 2008

I try to read a blob field on MSSQL on a simple table like this
ID varchar(50)
FBlob varBinary(MAX)

connection options
Uniconnection.SpecificOptions.Values['Provider'] := 'prDirect';

open table as usual ...
....
Stream := WuSchema.CreateBlobStream(WuSchema.FieldByName('FBlob'), bmRead);

raise exception "Field is not BLOB'

if i change connection options
Uniconnection.SpecificOptions.Values['Provider'] := 'prNativeClient';

it's work !

Let me know
bye
Carlo

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: Field is not Blob

Post by azyk » Thu 24 Mar 2016 06:23

We have already fixed this problem. This fix will be included in the next UniDAC build.

Post Reply