Subject | Octets search |
---|---|
Author | Marcelo |
Post date | 2009-06-11T23:51:46Z |
Hi all!
How do I write a secure sql sentence involving a condition on a char(16) octects field(GUID)?
In a delphi dataset the sql is something like this:
"select product from table where guid=:guid"
It works with most conbinations, but when the array includes a "'"(aphostrophe) it fails...
Thanks in advance.
Marcelo.
How do I write a secure sql sentence involving a condition on a char(16) octects field(GUID)?
In a delphi dataset the sql is something like this:
"select product from table where guid=:guid"
It works with most conbinations, but when the array includes a "'"(aphostrophe) it fails...
Thanks in advance.
Marcelo.