Categories
October Surprise 2024

DBI, Placeholders, and a nested query : r/perl – Reddit

Can’t bind unknown placeholder ‘:library_no’… This is in the first line and is supposed to be related to a sub-query used to determine if we’re updating or inserting data. Is DBI unable to bind to nested queries, or am I missing something? I’d prefer to do this in one query instead of checking each record to decide on whether to insert vs …