AnsweredAssumed Answered

vrf sending binary data to SQL Server

Question asked by VRFuser on Oct 31, 2007
Hi All


Does anyone have an example of how to upload a binary object (such as a jpg or other file) to a SQLServer database field using


I currently talk to the SQL server using and the oledbconnection.


Someone who uses through VB has given me an example SQL string that looks like:


Cmd = "UPDATE " & TableName & " SET " & FieldName & " = @img WHERE ID=" & ID


In his case, he stores the file to large byte array called img before running this SQL command. 


I just can’t get my head around how to use this command from within vee.  Any help would be greatly appreciated.


Thanks and regards





You are currently subscribed to vrf as:
To subscribe please send an email to: "" with the word subscribe in the message body.
To unsubscribe send a blank email to "".
To send messages to this mailing list, email "".
If you need help with the mailing list send a message to
Search the "unofficial vrf archive" at "".
Search the Agilent vrf archive at "".