Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select for read only
Message
De
24/05/2005 12:55:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Select for read only
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
DB2
Divers
Thread ID:
01017135
Message ID:
01017135
Vues:
60
hi, i need to perform continuos select to find some data, but db2 is returning this cursor with modifications capability and i just need data for read only.
If i use sqlexec(conn,"select * from xtab1 where codigo='001'") then this cursor return in 1 min. aprox, but if i use sqlexec(conn,"select * from xtab1 where codigo='001' for read only") this cursor return in 10 secs aprox. and reading db2 documentation, every select that i use is asumed by read write by db2 and uses more resources from server.
Is there some instruction or "set " command in vfp or db2 to change the way of db2 return the cursor? i need cursor for read only.
Thanks in advace.
John Harold Belalcázar Lozano
Associate Director Of Development
http://www.belvicto.co/
jhbelalc@gmail.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform