"Johnson, Shaunn" <[EMAIL PROTECTED]> writes:
> --thanks for the reply.
>
> --i see the same example in the Perldoc for DBI,
> --but what i don't see is if i can substitute:
>
>
> >>> $sth->execute('Bill', 32);
>
> with something like this:
>
> >>> $sth->execute ('select tableowner from t_tab
> --thanks for the reply.
>
> --i see the same example in the Perldoc for DBI,
> --but what i don't see is if i can substitute:
>
>
> >>> $sth->execute('Bill', 32);
$sth->execute($dbh->selectrow_array('select tableowner from t_table'));
I havn't trested this but it should because "Bill" and "32
--this in a two or three step process.
--thanks again!
-X
-Original Message-
From: Robin Norwood [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 4:31 PM
To: Johnson, Shaunn
Cc: beginners_perl (E-mail)
Subject: Re: examples of place holders
"Johnson, Shaunn" <[EMAIL PR
"Johnson, Shaunn" <[EMAIL PROTECTED]> writes:
> Howdy:
>
> Can someone give me an example of using
> place holders with the DBI module?
>
> I am trying to use the results of one query
> and embed that into another query later. For
> example: the result of the first query
> (say, select distinct