Fetching values in Perl

padmaja <[email protected]> Fri, 28 Sep 2007 06:15:06 -0700 (PDT)
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
Hi all,
I have written a query like this.
----------------------------------------------------------

$dbh= DBI->connect("dbi:mysql:dbname=$database;host=$hostname", "$username",
"$password");

$statement = "SELECT patient_intime from $table_name where
patient_intime=$ARGV[0])";


----------------------------------------------------------
I want all the "patient_intime" values to be retreived, where there are
other columns(fields) also. 
Pls suggest me how to proceed.

Thanks in advance.
Padmaja T N.
-- 
View this message in context: http://www.nabble.com/Fetching-values-in-Perl-tf4534430.html#a12940280
Sent from the MySQL - Perl mailing list archive at Nabble.com.


-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]