At 20:58 12/07/00 -0700, Scott Holmes wrote:
>
>This function works but is not selective enough. The tg_argv[] are pointers
>to the arguments passed. And they do work correctly.
>
...
>
>Is there a syntax that will allow me to build an sql statement for use in
>theis funcation (ie delete from stxnoted where filename = fname and
record_key
>= rkey).
Writing it in C will enable you to build SQL statements based on pretty
much anything, if that helps. The stuff in contrib/spi & contrib/ri_?? has
some basic and some more complex examples. The manual section on triggers
also includes a useful example.
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.C.N. 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/