开发者

Function to return a cursor(result set)

Is it possible to return a cursor from开发者_JS百科 a user defined function in MS SQL Server2005? If it is, how is that done?


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, datetime etc., and the latter return row sets.

There are no cursor-valued functions in SQL Server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜