in reply to Unable to get data from oracle DB.Using DBI
Are there any errors? Do you ever get into the while loop? Does that query from something like sqlplus return anything? Help us help you.
--MidLifeXis