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.
udf 是否可以返回与其参数之一相同的数据类型?
我希望我的 udf 接受任何精度和比例的小数并返回相同的类型。
您可以使函数接受并返回sql_variant。