Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL 7.0 and Distributed queries
Message
De
31/07/2000 15:45:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SQL 7.0 and Distributed queries
Divers
Thread ID:
00398972
Message ID:
00398972
Vues:
42
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
Répondre
Fil
Voir

Click here to load this message in the networking platform