in reply to Perl Not returning SQL query result
In addition to the advice you have already received you might want to peruse the tutorial Reading from a database by stephen. It's a gentle introduction which will help you with both the concepts and the syntax.
It is also worth mentioning if you are genuinely connecting to an Oracle database that it has a number of non-standard considerations which may affect things. Others who are more versed in that particular RDBMS can help you with those specifics.
🦛
|
|---|