$conn = $dbh->{ado_conn};
(Assuming a connect is present) Will set $conn to the ado connection
object.

$sth->{ado_conn} after a statement is prepared.

To access the command object (which I build during the prepare)
$sth->{ado_comm}

After you've executed the prepared statement ($sth->execute)
$sth->{ado_rowset} returns the record set object. (Assuming you've a
row set returned.)

Is this more in-line of what you're looking for?  As Tim says 'Use the
Source Luke'.  perldoc -m DBD::ADO displays the complete module (hacks
and all ;-(0 ).

I haven't much time to work on DBD::ADO.  In fact my NT machine is sitting
idle.  Any patches or improvement to DBD::ADO are always welcomed.

Tom


On Thu, Feb 22, 2001 at 10:12:46PM -0000, David Billingham wrote:
> 
> I didn't phrase my question very well: I am using DBD:ADO without any
> serious problems (having switched my code from ODBC).
> 
> I was hoping to get advice on where to look for information on the ADO
> specfic methods mentioned in the O'Reilly 'Programming the Perl DBI' (Page
> 239). In particlar how to access\use the Connection and Recordset objects.

> ----- Original Message -----
> From: "Thomas A. Lowery" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 21, 2001 11:02 PM
> Subject: Re: ADO
> 
> 
> > A good start is the module DBD::ADO.  DBD::ADO provide use ADO use
> > that looks the same as other DBD::* modules.
> >
> > Tom
> >
> > On Wed, Feb 21, 2001 at 06:23:35PM -0000, David Billingham wrote:
> > > Could some tell me where I should be looking for information on how to
> use
> > > the ADO Connection and RecordSet objects from Perl and the DBI?
> >
> > --
> > Thomas A. Lowery [EMAIL PROTECTED]
> > http://tlowery.hypermart.net
> >
> > SA talking to disk vendor, "So, multiple failures on both controllers is a
> bad thing? (Friday Morning)"
> >
> >

-- 
Thomas A. Lowery        [EMAIL PROTECTED]
http://tlowery.hypermart.net

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to