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.
有没有一种方法可以故意NULL从 TSQL 查询中返回?
NULL
我不使用 Sybase,但您应该能够执行以下操作:
SELECT CAST(NULL as int) AS NULLint --specify the appropriate datatype
最简单的方法是选择它:
select NULL