freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Michael Peppler <mpeppler AT peppler.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] intermittent empty results
- Date: Mon, 28 Jun 2004 16:44:44 +0200
On Mon, 2004-06-28 at 15:36, Thompson, Bill D (London) wrote:
> David,
>
> > my $dbh = DBI->connect($dsn, $USER, $PASSWORD) or die 'connect';
> > my $sth = $dbh->prepare($sql);
> > $sth->execute;
>
> At the moment I'm a *little* sceptical (without any hard and fast evidence
> yet) of the "prepare" functinality within ct-library.
The prepare() in this case (SQL without placeholders) actually only
stores the query internally.
The execute() then sends the query to the server via
ct_command(CS_LANG_CMD) / ct_send().
Running with DBI->trace(3) should illustrate the API calls used.
Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler AT peppler.org http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
or long term contract positions - http://www.peppler.org/resume.html
-
[freetds] intermittent empty results,
David Barnwell, 06/25/2004
- <Possible follow-up(s)>
-
RE: [freetds] intermittent empty results,
Thompson, Bill D (London), 06/28/2004
- RE: [freetds] intermittent empty results, Michael Peppler, 06/28/2004
-
RE: [freetds] intermittent empty results,
Thompson, Bill D (London), 06/28/2004
- Re: [freetds] intermittent empty results, David Barnwell, 06/28/2004
- RE: [freetds] intermittent empty results, Bort, Paul, 06/28/2004
- RE: [freetds] intermittent empty results, Lowden, James K, 06/28/2004
-
Re: [freetds] intermittent empty results,
Thompbil18, 06/28/2004
-
Re: [freetds] intermittent empty results,
James K. Lowden, 06/28/2004
- Re: [freetds] intermittent empty results, Michael Peppler, 06/29/2004
- Re: [freetds] intermittent empty results, David Barnwell, 06/29/2004
-
Re: [freetds] intermittent empty results,
James K. Lowden, 06/28/2004
- RE: [freetds] intermittent empty results, Thompson, Bill D (London), 06/29/2004
Archive powered by MHonArc 2.6.24.