Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 Other Topics
 SQL Server and DBase files

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2000-11-27 : 13:42:06
Paul writes "I'm trying to get SQL Server 7 to talk to Dbase files.

I had success on queries using a linked server over the Jet engine. However I cannot get updates/inserts/deletes to work.

I can do inserts, I get an error message

Server: Msg 7331, Level 16, State 2, Line 1
Could not release a row from OLE DB provider 'Microsoft.Jet.OLEDB.4.0'. Unknown provider error

When I query the row has been added. Due to the fact that it's a Level 16 error I cannot suppress it. This is a shame because really I only need Select and Insert.

Any experiance?

Paul

EXEC sp_addlinkedserver
'dbase',
'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0',
'C:\',
NULL,
'dBase IV'
GO

exec sp_addlinkedsrvlogin
@rmtsrvname = 'dbase',
@useself = false,
@locallogin = NULL,
@rmtuser = NULL,
@rmtpassword = NULL
go

SELECT * FROM dbase...dbbasefile"
   

- Advertisement -