Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
utility是一DECIMAL(10,2)列。
utility
DECIMAL(10,2)
SELECT * FROM items WHERE utility >= 50
例如,此查询返回实用程序为 4.25 的事物。有谁知道如何解决这一问题?
尝试:
SELECT * FROM items WHERE utility >= CAST(50 AS DECIMAL(10,2)); SELECT * FROM items WHERE utility >= 50.0;