Question: SQL Create a function that takes the city name as input parameter and returns 'Welcome to city name' message as output. Please use anonymous block
SQL
Create a function that takes the city name as input parameter and returns 'Welcome to city name' message as output.
Please use anonymous block to call the function. Call the function with
'Toronto' as a parametar. Add SQL statements that will display current date and your name and student
ID in the format specified below. Your anonymous block must include exception handling.
Your output should look like the output below:
Today is Dec:: PM
My name is John Smith
My Student ID is
Welcome to Toronto
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
