Hi,
How to set connect string property [Current Language=polski;] using UniDac?
I am using lates 2012 MSSQL Server.
current language MSSQL
-
Tomasz Andrzejewski
- Posts: 14
- Joined: Fri 30 Dec 2011 15:11
Re: current language MSSQL
Is it possible? It is normal property of MSSQL connection string.
I've tried to pass this value via SpecificOptions with no efect.
[SELECT @@Language] returns default database language (in my configuration us_english).
Any ideas?
I've tried to pass this value via SpecificOptions with no efect.
[SELECT @@Language] returns default database language (in my configuration us_english).
Any ideas?
-
AndreyZ
Re: current language MSSQL
Hello,
To set the SQL Server language name, you should set the Language SQL Server specific option. Here is a code example:For more information, please refer to the "UniDAC and SQL Server" article in the UniDAC documentation.
To set the SQL Server language name, you should set the Language SQL Server specific option. Here is a code example:
Code: Select all
UniConnection.SpecificOptions.Values['Language'] := 'polski';
UniConnection.Open;-
Tomasz Andrzejewski
- Posts: 14
- Joined: Fri 30 Dec 2011 15:11
Re: current language MSSQL
UniConnection.SpecificOptions.Values['Language'] := 'polski';
Works.
Works.
-
AndreyZ
Re: current language MSSQL
Feel free to contact us if you have any other questions about UniDAC.