Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to get random generation with OleDb
Message
De
18/09/2006 04:53:55
 
 
À
17/09/2006 18:44:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01154512
Message ID:
01154562
Vues:
15
This message has been marked as the solution to the initial question of the thread.
Hi,

>That's the problem. In OleDb, each call is within in its own environment.

Don't think that's true - it *is* true for each connection so you should be able to do something like:
.CommandText = "RAND(-1)"
.ExecuteNonQuery()
.CommandText = "SELECT TOP 10 RAND()....."
.Fill(...)
HTH,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform