Hi
I need to change a JPG to BYTE and insert it to SQL database.
I used a function to read the JPG and change it to BYTE using oStream.Read
bData = oStream.Read
Now I need to send this value to my storedprocedure. I need to create a text command like this
l_SQL = " exec dbo.sp_Custom_UpdateAnagpersPhoto " & bData
I get type mismatch.
Would you please tell me ?
Thank you
Kati
I need to change a JPG to BYTE and insert it to SQL database.
I used a function to read the JPG and change it to BYTE using oStream.Read
bData = oStream.Read
Now I need to send this value to my storedprocedure. I need to create a text command like this
l_SQL = " exec dbo.sp_Custom_UpdateAnagpersPhoto " & bData
I get type mismatch.
Would you please tell me ?
Thank you
Kati