?
Solved

Microsoft Word OLE object in a SQL 2008 database table.

Posted on 2008-10-20
5
Medium Priority
?
392 Views
Last Modified: 2012-05-05
After upsizing Access to SQL2008. My OLE field data type converted to varbinary(max). I have in the OLE field MS Word doc text. This text displays okay in a form and prints ok in a report. However the text cannot be edited and a new MS Word objected can't be inserted in a new record. When I try I get the error message. Thank you in advance for your help!!

0
Comment
Question by:dongatlin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 51

Expert Comment

by:Mark Wills
ID: 22765205
How are you trying to add that new data ? What is the user interface, and how are you connecting to the database ?
0
 

Author Comment

by:dongatlin
ID: 22770895
I have an ODBC link from Access 2007 to a SQL database backend.
0
 
LVL 51

Accepted Solution

by:
Mark Wills earned 2000 total points
ID: 22772977
Part of the problem can be the datatypes being used... There are some limitations :

See : http://msdn.microsoft.com/en-us/library/bb177899.aspx
And : http://msdn.microsoft.com/en-us/library/bb208866.aspx

Should be using the IMAGE datatype I think, and/or not have bounded fields, as much as copy the document to a "network" friendly place and then (if really needed) call a stored proced to do the update which can update the inidividual columns and insert the document.

But first do a simple test using the IMAGE datatype.
0
 
LVL 51

Expert Comment

by:Mark Wills
ID: 22773032
Oh, and make sure you are using the latest drivers... so double check that connection string, and the driver options...
0
 

Author Closing Comment

by:dongatlin
ID: 31508017
Thanks for the tip. I'm new to SQL and thought the 'image' data type was obsolete in SQL2008. The error cleared up after changing the data type to 'image'.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question