Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Server equivalent of OLE Object

Status
Not open for further replies.

yu217171

Programmer
Aug 2, 2002
203
CA
Hi everyone,

What's the SQL Server equivalent of the OLE Object datatype in Microsoft Access? I tried Binary, VarBinary and Image. All three of those datatypes give me a type mismatch when I try to insert an image into SQL Server.

The insert works when I insert into a MS Access DB with the OLE Object datatype but fails (type mismatch) when I try inserting to SQL Server 2000.

Keith
 
There is also a text or ntext data type in sql server. How are you inserting the object - need more information.
 
Hi cmmrfrds,

I got it to work. My program was returning a type mismatch but I later found out that it was a foreign key constraint violation.

Thanks again,

Keith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top