RE: Memoizing non-place-holding sql statements to place-holding



> > my @new_values = ();
> > my @place_holders =
> > map {
> > if (/^CURRENT TIMESTAMP$/) {
> > $_;
> > } else {
> > push @new_values => $_;
> > "?";
> > }
> > } @args
> > ;

....

> It's a bit of a pain, but until DBD::Informix becomes "smart"
> enough to
> detect this on its own (if that's even possible) it's

SQL::Statement can do this?
I'm lea(r)ning (to) it today, but User-Defined Functions are used differently.

Hirosi Taguti
h-taguchi@xxxxxxxxxxx

.



Relevant Pages

  • Text to Columns Question
    ... left but all the others are all over the map. ... without hacking off some text in some rows? ... TIA Dennis ... Prev by Date: ...
    (microsoft.public.excel.worksheet.functions)
  • [PATCH 2/7] fs/ext{2,3,4}: Use BUG_ON
    ... prev = rsv; ... printk("Window map complete.\n"); ... #define rsv_window_dump(root, verbose) \ ...
    (Linux-Kernel)
  • Field for sequence of bits
    ... prefer to have one field and then map the content into a structure with 12 ... integers (using lset). ... Diane ... Prev by Date: ...
    (microsoft.public.access.tablesdbdesign)
  • Re: BtsAsmExt.DLL Missing
    ... quickly look at a schema or map in IE in XML view:) ... Tomas Restrepo ... Prev by Date: ...
    (microsoft.public.biztalk.general)
  • running external Dos commands or programs
    ... I have come up with a problem which I can't seem to be able to resolve. ... want to be able to map a drive but haven't been able to get the ... Brian ... Prev by Date: ...
    (microsoft.public.dotnet.vjsharp)