How can I easily insert a blob into a varbinary(MAX) field?
varbinary(MAX)
As an example:
thing I want to insert is: c:\\picture.png the table is mytable
Do you need to do it from mgmt studio? Here's how we do it from cmd line:
"C:\Program Files\Microsoft SQL Server\MSSQL\Binn\TEXTCOPY.exe" /S < Server> /D < DataBase> /T mytable /C mypictureblob /F "C:\picture.png" /W"where RecId=" /I