The behavior in which a divide - by - zero or arithmetic overflow error causes null values to be returned occurs if an insert or update is tried on a 列上嘗試執行insert或update操作,而這些列中的新值長度超出最大列大小,則將出現被零除錯誤和算術溢出錯誤導致返回空值的行為。
This traps a number of common error conditions such as syntax errors or arithmetic overflow and diverts the flow of control to a special error - handling routine youve written 這可以為很多常見的錯誤條件(例如語法錯誤或算術上溢)設陷,并將控制流轉移到您自己編寫的一個專門的錯誤處理例程。
Floating - point arithmetic overflow or division by zero never throws an exception , because floating - point types are based on ieee 754 and so have provisions for representing infinity and nan not a number 浮點算術溢出或被零除從不引發異常,因為浮點類型基于ieee 754 ,因此可以表示無窮和nan (不是數字) 。