1
Satoshl 22 小时 47 分钟前
隐式转换,sql 数据有转换优先级
|
2
Configuration 22 小时 43 分钟前
隐式转换呗,日期字段你还不照样是 where xxx_date = '2025-09-11',但你要是 where xxx_date = '2025-09-51' 它照样报错转换错误
|
3
xchangyouren 18 小时 14 分钟前
DBMS 都有的类型转换,因为不是用户直接指定的,所以称为 隐式类型转换。隐式类型转换可能会导致无法使用索引。避免隐式类型转换是索引优化方法之一
|
![]() |
4
nobody1234 7 小时 22 分钟前
数据类型优先级:
https://learn.microsoft.com/zh-cn/sql/t-sql/data-types/data-type-precedence-transact-sql?view=sql-server-ver17 在编程语言中也有类似机制,我记得 C 语言也有 |