Guys, When running my script i just encounter this kind of error.need your helop guys to find out whatis wrong with my script.even i place a "COLLATE DATABASE_DEFAULT" on the 9 colum of group by still i got an error.Thank you in advance.Msg 451, Level 16, State 1, Line 4Cannot resolve collation conflict for column 9 in GROUP BY statement.Here is my script..Select rma.ESN, PurchID, POReceiptDate, ReturnDate, ShipDate, PurchPrice, ReturnSKU, Case when VENDACCOUNT in ('tlk','tpp') then sup.SupplierCode else VENDACCOUNT end as Supplier, MODEL, FailCode, REASONCODE, SHIPRETURNTYPE, SalesID, MAX(ReceiptDate) as MostRecentReceiptinto #RMAfrom ##RMABenefit rmaleft outer join dbo.AsiaESNReceipts rec on rma.esn = rec.ESN COLLATE Chinese_Taiwan_Stroke_CI_AS and rma.returndate > rec.ReceiptDateleft outer join dbo.ESNSupplier sup on rec.SupplierID = sup.SupplierID group by rma.ESN, PurchID, POReceiptDate, ReturnDate, ShipDate, PurchPrice, ReturnSKU, Case when VENDACCOUNT in ('tlk','tpp') then sup.SupplierCode else VENDACCOUNT end, MODEL COLLATE DATABASE_DEFAULT, FailCode, REASONCODE, SHIPRETURNTYPE, SalesID