On Fri, Jul 22, 2005 at 01:18:07PM -0700, Dean Arnold wrote:
> In the DBI 1.48 POD, it says...
> 
> "Multiple variables can be bound to a single column, but there's rarely
> any point."
> 
> Is that true ?

Yes.

> Does that mean that I have to explicitly
> 
> $sth->bind_col($colnum, undef);
> 
> before binding a new variable (assuming I don't want the
> old variable to get updated on the next fetch) ?
> If it does work that way, is that desirable behavior ?

Actually there's no way to unbind a column, and no one has noticed :)

> I may have missed something, but DBI::PurePerl doesn't
> appear to support multiple variable binds to the same column.

True.

> And I think I'll omit that "feature" in DBIx::Threaded as well.

Wise :)

Tim.

Reply via email to