我想用MOD
功能SQL Server 2008R2
和遵循這一link但還是得到了消息:「MOD」是無法識別的內置函數名稱
'MOD' is not a recognized built-in function name.
DECLARE @m INT
SET @m = MOD(321,11)
SELECT @m
錯誤:
Msg 195, Level 15, State 10, Line 2
'MOD' is not a recognized built-in function name.
爲什麼我不能在上面的鏈接中使用這個功能?
挽救生命。 thnx –
'MOD'也適用於[__Informix__](https://en.wikipedia.org/wiki/IBM_Informix)語法...對於所有那些在20世紀90年代! – openwonk