Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL 7.0 and Distributed queries
Message
From
31/07/2000 15:45:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SQL 7.0 and Distributed queries
Miscellaneous
Thread ID:
00398972
Message ID:
00398972
Views:
47
I've created a linked server in sql server using the MDASQL provider with the Microsoft Visual Foxpro odbc driver. Using this linked server I'm able to run queries and update tables from an sql script and within the ISQL query tool just fine. When I insert a similar update statement into a trigger I get the response:

OLE/DB provider returned message: [Microsoft Visual Foxpro Driver] Driver not capable.

This is some of the trigger code:

CREATE Trigger tr_CustomerChange
On mstcm
For Update
As
if Update(cm_acct)
begin
update openquery([SBT_AR],'select custno from arcust01')
set custno = inserted.cm_acct
from inserted,deleted
where custno = deleted.cm_acct
end

I'm wondering if this has to do with the join on the deleted table. Any one have any idea's?

Jeff
Reply
Map
View

Click here to load this message in the networking platform