Is it possible to return a cursor from a user defined function in MS SQL Server2005? If it is, how is that done?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Based on the result returned, user-defined functions in SQL Server can be either scalar or table-valued. The former return single values of simple types:
int,datetimeetc., and the latter return row sets.There are no cursor-valued functions in SQL Server.