sybperl-l Archive
Up Prev Next
From: Hrvoje Niksic <hniksic at iskon dot hr>
Subject: Re: Arguments to SQL statements in Ctlib
Date: Nov 15 1999 3:45PM
Michael Peppler writes:
> Hrvoje Niksic writes:
> > Is it possible to send SQL statements with arguments. I'd like to
> > write something like:
> >
> > @results = ct_sql("SELECT foo FROM bar WHERE id=?", $needed_it);
> >
> > The ? syntax is borrowed from Perl DBI and is not required, but it
> > should make my meaning clear.
>
> No, that isn't supported.
But I assume your DBI module implements it (it's required by the spec)
-- should I use that instead?
What's the current status of Sybase::DBI anyway? Is it stable enough
for production code?
|