decimal定义


Warning: Undefined array key "HTTP_REFERER" in /www/wwwroot/prod/www.enjoyasp.net/wp-content/plugins/google-highlight/google-hilite.php on line 58

declare @bonusnum? decimal(5, 3), 5代表总位数,3代表小数点后位数,故小数点右边的位数为5-3 = 2,最大到99,超出即是溢出错误