Parameters an SQL statement...
From: Jose Maria Veneroso (jmvene_at_sgie.com)
Date: 01/25/04
- Next message: Martijn Tonies: "Re: Why can't I execute this script in ADO?"
- Previous message: Sasa: "Re: List and recall deleted records"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 25 Jan 2004 20:30:19 +0100
I'm using parameters in a Tadoquery. I need to debug the SQL statement to
see if there is any syntax error. Could someone explain me how to read o
obtain the SQL statement generated after the asignation of the parameters
value?
For ej
Miquery.sql.Add('Select * FROM empleados WHERE id=:id);
Miquery.parameters.parambyname('id').value:='888';
After that i need to see the "SELECT * FROM empleados WHERE id=888"...
Thank you
- Next message: Martijn Tonies: "Re: Why can't I execute this script in ADO?"
- Previous message: Sasa: "Re: List and recall deleted records"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|