I have an ASP.Net web application with a connection string for SQL Server 2005 in the web.config file.
Data Source=ABCSERVER;Network Library=DBMSSOCN;Initial Catalog=myDataBase; User ID=myUsername;Password=myPassword;
I want to specify a mapping property in web.config for different languages ββlike French, for example
Data Source=ABCSERVER;Network Library=DBMSSOCN;Initial Catalog=myDataBase; User ID=myUsername;Password=myPassword;Collation=French_CS_AS
But the word Collation is not valid in the connection string.
What is the correct keyword to use to specify sorting in the SQL Server 2005 connection string?
EDIT * I understand that sorting can be set during the installation of the database and can also be changed. I do not want to constantly change it in the database. But I want SQLClient to establish a mapping based on application parameters. I want to use it only when using SQL Query, for example, "SELECT * FROM TESTTABLE ORDER BY TESTCOLUMN COLLATE French_CS_AS". I am trying to ensure that for a given connection, all commands / requests for this connection would automatically use "French_CS_AS" based on the property parameter in the connection string, instead of changing the request definitions *
source share