or download this
my $rows = $dbh->selectall_arrayref("SELECT TicketNo, Customer, UserNa
+me, DateSubmission, Via, Medium, Issues, SupportType, Description, De
+tail, AssignTo, Status, Remarks, Priority, ETD, ClosedDate, ClosedNam
+e FROM TSIssuesTable WHERE Customer LIKE $quotedString1 AND Priority
+LIKE $quotedString2 AND TicketNo LIKE $quotedString3 AND DateSubmissi
+on LIKE $quotedString4");