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.
我正在尝试ORDER BYSQL Server 中的列,它是一种TEXT类型。我怎样才能做到这一点?我在网上找不到..
ORDER BY
TEXT
你不能。TEXT 已弃用。使用VARCHAR (MAX)
尝试这个
ORDER BY CONVERT(VARCHAR(50) ,ColumnName)