Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i see actual query sent through SQLEXEC
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Database:
MS SQL Server
Miscellaneous
Thread ID:
01648813
Message ID:
01648836
Views:
46
>>Hi
>>Assuming i have the following:
>>myVar = "test"
>>mySql = "select * from myTable where someField=?myVar"
>>=sqlExec( Handle, mySql )
>>
>>
>>How can i see the actual query sent to the backend DB? I need this to build an auditlog. Afterwards, i will cursortoxml() the resulting sqlresult cursor for the saved response, but i need the actual values sent...
>>
>>Many thanks
>>Jaime
>
>Jaime, assuming a SQL Server back end, are you familiar with SQL Server Profiler?

SQL Profiler is good way and profiler api is simply, but... Has a standard user TRACE permission?

MartinaJ
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform