How can i obtain an Sql Language name from a .Net Culture
Hello i'm using SQL server full-text search. when i use the FreeText predicate it need the language as parameter, but sql parameters name is different from .net culture names. So my question is How can i obtain an Sql开发者_Go百科 Language name from a .Net Culture.
The LCID in the SYS.SYSLANGUAGES view of SQL Server is the same Windows Locale ID returned by the CultureInfo.LCID property in .NET. You can use this LCID as the language_term
in your FREETEXT search.
精彩评论