my $rows = $dbh->selectall_arrayref("SELECT TicketNo, Customer, UserName, DateSubmission, Via, Medium, Issues, SupportType, Description, Detail, AssignTo, Status, Remarks, Priority, ETD, ClosedDate, ClosedName FROM TSIssuesTable WHERE Customer LIKE $quotedString1 AND Priority LIKE $quotedString2 AND TicketNo LIKE $quotedString3 AND DateSubmission LIKE $quotedString4");