|
dainova
Starting Member
29 Posts |
Posted - 01/15/2013 : 19:56:35
|
Hi, all I'm on SQL 2008 and trying to do some testing so need to store some extenal .pdf into db column:
xData [varbinary](max) NULL
I tried to open sample.pdf in textpad and use this string to convert it, but it doesn't work, some special chars I think, do you think I need to convert it before sql? This is just a sample how I tried to do conversion: insert into sandbox.dbo.xSample (xData) values (cast ('0x1BC4002F279E2086944B' as varbinary(max)))
Appreciate your help.
Dai |
|