Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who really uses the VFPOleDB.1 provider?
Message
De
05/10/2006 11:11:51
 
 
À
05/10/2006 04:19:33
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01158763
Message ID:
01159710
Vues:
24
>General Structure should be:
>
>*VFP Stored Procedure:
>PROCEDURE DoSomething
>  LPARAMETERS x
>  SELECT * FROM myTable WHERE something = x INTO CURSOR myCursor
>  RETURN SETRESULTSET("myCursor")
>ENDPROC
>
and in VB.NET something like:
>...
>With oCommand
>  .CommandType = CommandType.StoredProcedure
>  .CommandText = "DoSomething"
>  '.Parameters.Add .....
>End With
>da.SelectCommand = oCommand
>da.Fill(oDataSet)
Yes, there wouldn't be any problem with that. But, I just can't use files on disk. I have over 2000 SQLs and many of them are generated when required by adding INNER JOINs, based on condition statements, for example. So, I need to do it from code directly in VB.NET. It would't make any sense also to create files on disk several times per second, which would be here in the range of 40 files per second.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform