Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why I prefer stored procs
Message
 
 
À
15/06/2007 12:44:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01232867
Message ID:
01233586
Vues:
8
Cetin,

It can be done even simpler with SQL Server OLE DB provider in VFP
WITH This.oCommand
  .CommandType = ADCMDSTOREDPROC
  .CommandText = <Name of a stored procedure>
  .Parameters.Refresh
  * Now Parameters collection is populated with stored procedure parameters
  FOR Each loPrm In .Parameters
    ...
  ENDFOR
ENDWITH
>This wouldn't work if you use a generic driver like OleDb, no?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform