CNSA-212-Personal/db3/stored proc.txt

9 lines
250 B
Plaintext
Raw Normal View History

2024-02-13 16:59:48 -05:00
-- SET NOCOUNT ON added to prevent extra result sets from
SET NOCOUNT ON;
SELECT student_id, fname, lname, dob, ACCT_BAL
FROM STUDENT
WHERE upper(STUDENT_ID) like upper( @studentid )
or upper(lname) like upper( @lname )
or dob = @dob