Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 SQL Server 中定义了一个用户定义的函数。我想创建一个能够在特定列中的所有行上执行该函数的单个选择语句。这可能吗?最好的方法是什么?
谢谢你
我看到了这个“在多行上执行表值函数”,但不相信它回答了我的问题。
在多行上执行表值函数?
select dbo.YourFunc(column) as result from table
PS:停止思考程序!这是一种面向集合的语言:)