in reply to Can't fetch using 2 placeholders in SELECT statement
where $attr is a hash reference to connection attributes that you want to set (such as RaiseError, PrintError, etc).$dbh = DBI->connect('dbi:Oracle:', $user, $password, $attr);
Beyond that, however, your code looks OK, so I have to ask: are you sure that there are rows in the table that will satisfy the WHERE condition for both serial_number and item_id?
Michael
|
|---|