Question: Create a user - defined function for the product table to fetch a particular product type based upon the user s preferen - - 2
Create a userdefined function for the product table to fetch a particular product type based upon the users preferen Create a userdefined function for the product table to fetch aparticular
product type based upon the user's preference.
Select from ProductCase Study
Create Function fetchfunctionbytype @ProdPref Varchar
As
Begin
Select from ProductCase Study where ProductType Prod Pref
END
Messages
Mog Level State Procedure fetchfunctionbytype, Line Batch Start Line
Incorrect syntax near the keqword As
Completion time: :::ce
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
