## Prepare the Select Handle for the Transaction Code in the Description field my $select_TransactionCode_handle = $db_handle->prepare( qq{ SELECT [Code] FROM [Transaction Code] WHERE [Description] LIKE ? } ); $select_TransactionCode_handle->execute( $transactionCodeQuery . '%' ); # THIS DID NOT WORK # $select_TransactionCode_handle->bind_param( 1, $transactionCodeQuery . '%' ); # THIS ALSO DID NOT WORK # $select_TransactionCode_handle->execute; # $select_TransactionCode_handle->bind_param( 1, $transactionCodeQuery ); # THIS ALSO DID NOT WORK # $select_TransactionCode_handle->execute( '%' ); ## Grab the Transaction Code if it already exists my @transactionCodes = $select_TransactionCode_handle->fetchrow_array; # THIS RETURNS undef