Re: examples of place holders

2003-06-16 Thread Robin Norwood
"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

RE: examples of place holders

2003-06-16 Thread Dan Muey
> --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

RE: examples of place holders

2003-06-16 Thread Johnson, Shaunn
--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

Re: examples of place holders

2003-06-16 Thread Robin Norwood
"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