Function 1:
I need to create an sql server function named FirstDayInQtr to return the first day in the respective quarter of year when a date is input. This function should be defined with the following header.
CREATE FUNCTION FirstDayInQtr(@InputDate datetime) RETURNS datetime AS…
Should return the date of first day in the respective quarter. like 1/1/2016
Function 2:
A function to check if an input string consists of UPPERCASE characters. This function should be defined with the following header.
CREATE FUNCTION CheckStringOfUpperAlphaOK(@String varchar(MAX)) RETURNS varchar(6) AS…
Should return "okay" if true and "not okay" if false
CREATE FUNCTION FirstDayInQtr(@InputDate datetime) RETURNS datetime AS…?createfunction or write it's logic?