How to set collation for a connection in SQL Server?
How can i set the collation SQL Server will use for the duration of that connection? Not until i connect to SQL Server do i know what collation i want to use. e.g. a browser with language fr-IT has connected to the web-site. Any queries i run on that connection i want to follow the French language, Italy variant collation. i envision a hypothetical connection level property, simlar to SET ANSI_NULLS OFF , but for collation 1 : SET COLLATION_ORDER 'French_CI_AS' SELECT TOP 100 FROM Orders ORDER BY ProjectName and later SELECT * FROM Orders WHERE CustomerID = 3277 AND ProjectName LIKE '%l''ecole