none
with jdbc driver how to make an sql server connection with non default db language?

    問題

  • I need to make a connection to sql server 2008 with jdbc driver with a language different than default and it doesn't work. Any help?
    • 已移動 Papy NormandModerator 2012年3月10日 下午 07:30 Move requested by the MS JDBC driver Team (From:SQL Server Documentation)
    2012年3月6日 上午 02:05

解答

  • SQL Server will set the language to the login's default language upon connecting.  You can execute a SET LANGUAGE command immediately after connecting to change the language setting for the session.


    Dan Guzman, SQL Server MVP, http://weblogs.sqlteam.com/dang/

    2012年3月11日 上午 12:18

所有回覆

  • Hi,

    Can you provide more details?

    What version of the JDBC Driver are you using?  What Java version (include vendor and update number).  Which language are you trying to use?  Is your OS set to the same language?

    What is the error message?  Are you able to connect in other languages?

    2012年3月7日 上午 01:24
  • Can you post your question and details to the Data Access Forums instead?

    http://social.msdn.microsoft.com/forums/en-US/sqldataaccess/threads/

    2012年3月7日 上午 01:51
  • Hello,

    On the request of the Microsoft JDBC Driver Product Team, i am moving this thread

    Have a nice day


    Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

    2012年3月10日 下午 07:29
  • Hello,

    Move done.I hope you will find a quick and full solution to your problem.

    Have a nice day

    PS : This post has only one aim : to warn the followers of this thread that it has been moved on a more suitable forum.


    Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

    2012年3月10日 下午 07:33
  • SQL Server will set the language to the login's default language upon connecting.  You can execute a SET LANGUAGE command immediately after connecting to change the language setting for the session.


    Dan Guzman, SQL Server MVP, http://weblogs.sqlteam.com/dang/

    2012年3月11日 上午 12:18