Inserting a document via TSQL

Former Member
Former Member $organization

Hi:

I have a project where I need to insert a document to a list of constituents.  My initial test was to insert a document on one constituent's record (t_cust_doc.doc_contents), everything appeared to work until I tried opening the the newly inserted document, it crashed the Tessitura app on our Test server.  Tessitura re-opens OK, it just does not appear to like the hexadecimal value that is in the doc_contents field.  Has anyone experienced this problem?  Or better yet, does anyone have code that works for this purpose and is willing to share?

James