I have column (binary) in KPIimg table, I need to insert image into KPIimg
Insert [KPIimg] (rate,[img])
Values (1,(Select * from Openrowset( Bulk 'D:\PIC\green.jpg', Single_Blob) as KPI))
I got error:
Msg 8152, Level 16, State 10, Line 1
String or binary data would be truncated.
The statement has been terminated.