Question: Write a script that creates and calls a stored function named test_glaccounts_description. First create a function that tests whether an account description is already in
Write a script that creates and calls a stored function named test_glaccounts_description. First create a function that tests whether an account description is already in the general_ledger_accounts table. To do that, this function should accept one parameter for the account description, and it should return a value of 1 if the account description is in the table or 0 if it isn't. (Note: If a SELECT statement doesn't return any data, it raises a NOT FOUND condition that your function can handle.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
