Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow SPT with Oracle Diver
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Oracle
Application:
Desktop
Miscellaneous
Thread ID:
01581828
Message ID:
01581857
Views:
42
Hi,
I found nothing,
here is code, time is average of several attempts (with tracing off), sql.log included,
database Oracle 11g,
private pnID
pnid=346119

SqlDisconnect(0)
lcD="{Oracle in OraClient11g_home1}"
lnH=SqlStringConnect("Driver="+lcD+";UID="+lcUser+";PWD="+lcPass+";Dbq="+lcServer+";")
ss=seconds()
SqlExec(lnH,"select * from uVuz where uVlakID=346119")
?seconds()-ss
*0.010 sec, 28 records

SqlDisconnect(0)
lnH=SqlStringConnect("Driver="+lcD+";UID="+lcUser+";PWD="+lcPass+";Dbq="+lcServer+";")
ss=seconds()
SqlExec(lnH,"select * from uVuz where uVlakID=?pnid")
?seconds()-ss
*0.744 sec

SqlDisconnect(0)
lcD="{Microsoft ODBC for Oracle}"
lnH=SqlStringConnect("Driver="+lcD+";UID="+lcUser+";PWD="+lcPass+";Server="+lcServer+";")
ss=seconds()
SqlExec(lnH,"select * from uVuz where uVlakID=346119")
?seconds()-ss
*0.014 sec

SqlDisconnect(0)
lnH=SqlStringConnect("Driver="+lcD+";UID="+lcUser+";PWD="+lcPass+";Server="+lcServer+";")
ss=seconds()
SqlExec(lnH,"select * from uVuz where uVlakID=?pnID")
?seconds()-ss
*0.014 sec
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform