Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to update dbf from Openrowset?
Message
De
07/01/2009 06:04:56
 
 
À
05/01/2009 14:55:24
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01368838
Message ID:
01371602
Vues:
16
Cetin,

You are a prince!
Thank's a lot and a prosperous and happy new year to you and yours.

BR

Peter

>>>Peter,
>>>Update command in openrowset() errors but works despite the error. I would however use a CLR procedure if I had to update from within SQL server.
>>>
>>>
select * from openrowset('VFPOLEDB', 
>>> 'c:\myPath\testdata.dbc';'';'',
>>>  'update customer set contact="Ana TrujilloXX" where cust_id = "ANATR"')
>>>
>>>Cetin
>>
>>Cetin,
>>
>>I'm sure you would, and so would I if I only knew what you are talking about :-))
>>
>>I'm behind on Visual Studio - Common Language Runtime (right?) procedure fit's in how and where?
>
>You write your procedure using C# or VB (and thus can use OleDbConnection and such if you mark it unsafe) and add that assembly to a database. Once added it is part of the database and you can use that as if it were native SQL server function, SP etc. In the help check Create assembly ... I will try to send a sample when I get to ny work computer.
>Cetin
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform