3
我剛剛在MSDN上閱讀關於Precision Handling。Sql服務器 - 精確處理
從表在這個網站中抽出:
操作:E1/E2
結果精度:P1 - S1 + S2 + MAX(6中,S1 + P2 + 1)
結果規模: MAX(6中,S1 + P2 + 1)
對於使用表達式的解釋:
The operand expressions are denoted as expression e1, with precision p1 and scale s1, and expression e2, with precision p2 and scale s2.
什麼我不明白(更像我不是100%肯定我的理解),這是表達
max(6, s1 + p2 + 1)
有人可以解釋給我嗎?
非常感謝:)