→ ji394su33000:text 不能做 group by 所以要convert欄位屬性 10/05 22:42
→ ji394su33000:group by convert(varchar(255),Carname) 10/05 22:45
→ jimshih:微軟建議:使用varchar(max) 來代替text 10/06 00:07
→ jimshih:使用nvarchar(max) 來代替ntext 10/06 00:07
→ jimshih:使用varbinary(max) 來代替image 10/06 00:08
→ fake01:謝謝大大們 原來如此 10/06 00:17
→ fake01:因為它並未包含在彙總函數或 GROUP BY 子句中 10/06 00:18
→ fake01:這又是甚麼原因? Carname 未包含在裡頭 ? 10/06 00:18
→ fake01:SELECT [Carname],SUM(TotalKm)FROM [iiicar].[dbo] 10/06 00:21
→ fake01:[relation] GROUP BY convert(varchar(255),Carname) 10/06 00:21
→ fake01:已解決 都要用varchar 代替 10/06 00:25