my $sth = $dbh->prepare("$SQLCommand") or err_trap("Cannot prepare the load_category_names query"); $sth->execute or err_trap("Cannot execute the SQL query to SQL COMMAND");