Re: Placeholders and/or Quoting in CLSQL
Edi Weitz <
edi@...>
2006-12-28 15:19:35 GMT
On Thu, 28 Dec 2006 15:56:36 +0200, Shlomi Fish <shlomif@...> wrote:
> Well, actually I'm using the "--load" parameter. But you're
> right. I'd like to know a way in which I can tell SBCL to execute a
> Lisp script and to then terminate. This is similar to doing "perl
> myscript.pl" from the command line.
I understand where you're heading at, but Lisp is not a scripting
language. The usual way to work in Lisp is to start your "image" and
keep it running for a /long/ time. You /can/ use it as a scripting
language using command line switches, but that's not how it's meant to
be.
> And a good idea would also be to find a way to lose all the
> unnecessary information messages that SBCL emits.
Most of them aren't really unnecessary... :)
> I assume that what you mean is that if the database backend doesn't
> support prepared statements, then PREPARE-SQL and friends are not
> available.
Right. Or if the database supports it, but nobody has written it yet,
it's not available as well... :)
(I think this is the case for Oracle.)
> For the record, Perl's DBI's prepare does make use of such a
> facility in the database if it's available, but can also emulate it
> in the Perl level, if it's not.
(Continue reading)