Link to home
Start Free TrialLog in
Avatar of prinsbj
prinsbjFlag for Netherlands

asked on

How to insert tif pdf into SQL VarBinary(max) field?

How can I insert tif or pdf files into a MS SQL 2005 server? I can use VBScript an JScript because my scanning software is supporting that.

My Databasename is dbFiles
My Tablename is EmployeeProfile
The fields are:
EmpId (int, not null)
EmpText (varchar(max), null)
EmpPhoto (varbinary(max), null)

Does somebody has a code including database connection

Thanks a lot

Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

a TIF should go into VARBINARY(MAX), and not VARCHAR(MAX), to start with.

apart from that: EE is not a rent-a-coder forum ...
ASKER CERTIFIED SOLUTION
Avatar of Raja Jegan R
Raja Jegan R
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of prinsbj

ASKER

Thanks It works
Welcome..