Assuming studentsurname is required, the following 2 results were found.
And my favorite. Note the circumflex as we are still excluding non-alphanumeric rows. SELECT * FROM Students WHERE studentSurname REGEXP '[^a-zA-Z0-9]'; or SELECT * FROM Students WHERE studentSurname RLIKE '[^a-zA-Z0-9]'; -- returns all rows where the...
= trim(:p_myinparameter); SELECT NVL(student_details.studentFirstname, 'John') "FORENAMES", NVL(student_details.studentSurname, 'Smith') "SURNAME" FROM student_details WHERE student_details.studentID = v_studentreference; This errors when the student...