SQL SERVER中四舍五入问题
摘要:select cast(‘123.456’,decimal); ==》 123 select cast(‘123.456’ as decimal(38,2)); ==》 123 //38是因为不能超过类型‘decimal’指定的最大允许值大小(38)
阅读全文
posted @ 2022-03-30 14:19
posted @ 2022-03-30 14:19
posted @ 2022-03-04 09:31
|
|||||||||
日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
---|---|---|---|---|---|---|---|---|---|
23 | 24 | 25 | 26 | 27 | 28 | 1 | |||
2 | 3 | 4 | 5 | 6 | 7 | 8 | |||
9 | 10 | 11 | 12 | 13 | 14 | 15 | |||
16 | 17 | 18 | 19 | 20 | 21 | 22 | |||
23 | 24 | 25 | 26 | 27 | 28 | 29 | |||
30 | 31 | 1 | 2 | 3 | 4 | 5 |
Powered by:
博客园
Copyright © 2025 El飞燕
Powered by .NET 9.0 on Kubernetes