Unix Technical Forum

Linked Server To Lotus Notes

This is a discussion on Linked Server To Lotus Notes within the SQL Server forums, part of the Microsoft SQL Server category; --> I am struggling with moving data to Lotus Notes from SQL Server. I am hoping someone has done this ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 07:06 PM
ProgrammerGal
 
Posts: n/a
Default Linked Server To Lotus Notes

I am struggling with moving data to Lotus Notes from SQL Server.

I am hoping someone has done this and can point me in the right
direction.

I have a stored procedure that collects my data into a temp table on
sql server and I want to move that data into a Lotus Notes table.

I am select rows from #tmpCases on SQL Server and trying to put them
into CaseName on Lotus Notes.

Here is my SQL moving just one row of data:
INSERT INTO OPENQUERY([Notes_DRS_CaseName DEV],
'select
DeleteDate,
CaseName,
CaseNum,
Jurisdiction,
Entity,
OCFirm,
OCName,
OCAddress,
OCCity,
OCState,
OCZIP,
OCMainPhone,
OCDirectPhone,
OCFAX,
CaseStatus,
CasePurgeFlag,
CaseCloseDate,
CasePurgeDate,
CaseRetentionDate,
HoldReviewDate,
ReasonForHold,
UpdatedTracker
from CaseName
where 1=2')
Select
Null as DeleteDate,
CaseName,
CaseNum,
Jurisdiction,
Entity,
OCFirm,
'' as OCName,
OCAddress,
OCCity,
OCState,
OCZip,
OCMainPhone,
'' as OCDirectPhone,
OCFax,
CaseStatus,
CasePurgeFlag,
CaseCloseDate,
CasePurgeDate,
CaseRetentionDate,
null as HoldReviewDate,
null as ReasonForHold,
null as UpdatedTracker
from #tmpCases
where casenum=055344 /* where clause returns one row */

This is the error I get:
Server: Msg 7390, Level 16, State 1, Line 1
The requested operation could not be performed because the OLE DB
provider 'MSDASQL' does not support the required transaction interface.
OLE DB error trace [OLE/DB Provider 'MSDASQL' IUnknown::QueryInterface
returned 0x80004002].

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:58 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com