I have a table with 3 columns: username, password and permission. I am trying to write a stored procedure to accept @username as an input parameter and then output a parameter @permission. How do I do this?
I have a table with 3 columns: username , password and permission . I
Share
More might be needed, but according to your question, this is the code:
EDIT:
Another option is to create a function, example: