We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
as for the issue #14, we need to change the language during login.
The official ODBC documentation mentions the language attribute: https://docs.microsoft.com/en-us/sql/relational-databases/native-client/applications/using-connection-string-keywords-with-sql-server-native-client?view=sql-server-2017
But it is not usable in this driver: https://docs.microsoft.com/en-us/sql/connect/php/connection-options?view=sql-server-2017
In the past with freetds, the option existed. (http://www.freetds.org/userguide/locales.htm) In /etc/locales.conf:
[en_US] date format = %b %e %Y %I:%M:%S:%z%p language = us_english charset = iso_1
As a workaround, we use a sqlsrv_query($this->bdd, 'SET LANGUAGE us_english'); .
sqlsrv_query($this->bdd, 'SET LANGUAGE us_english');
Is there any chance that you add the language option ?
Regards,
Vincent
The text was updated successfully, but these errors were encountered:
it could maybe help you ? PR : #930
Sorry, something went wrong.
@vrobert78 @gdegoulet Thank yo for your contributions. We will review the PR you provided after the next RTW, which should be in the next few days.
PR #930 merged. Closing issue. Please reopen if necessary.
No branches or pull requests
Hi,
as for the issue #14, we need to change the language during login.
The official ODBC documentation mentions the language attribute: https://docs.microsoft.com/en-us/sql/relational-databases/native-client/applications/using-connection-string-keywords-with-sql-server-native-client?view=sql-server-2017
But it is not usable in this driver: https://docs.microsoft.com/en-us/sql/connect/php/connection-options?view=sql-server-2017
In the past with freetds, the option existed. (http://www.freetds.org/userguide/locales.htm)
In /etc/locales.conf:
As a workaround, we use a
sqlsrv_query($this->bdd, 'SET LANGUAGE us_english');
.Is there any chance that you add the language option ?
Regards,
Vincent
The text was updated successfully, but these errors were encountered: