1

I can create a System DSN connection via the following command:

odbcconf.exe /a {CONFIGSYSDSN "SQL Server" "DSN=NAME|Description=DESCRIPTION|SERVER=MYSQLSERVER|Trusted_Connection=Yes|Database=DBNAME"}

I need to create it with an specific option, but I can't find it anywere: establishing the language for SQL Server system messages to Spanish

Does anybody know how to do it?

Thanks in advance

Bernat
  • 13
  • 1
  • 3

2 Answers2

1

usually they end up in ControlPanel -> Administrative Tools -> Data Sources (ODBC) on Windows systems.

Frank Thomas
  • 35,097
  • 3
  • 77
  • 98
  • 1
    Yes I know, but I need this via command line because I have to reproduce in more than 40 computers. – Bernat Nov 16 '12 at 07:36
1

That parameter you are looking for is: LANGUAGE=Espanol

Or you can use gui tool odbcad32.exe

week
  • 3,298
  • 1
  • 13
  • 15
  • Thanks for your answer. That's what I was looking for!! I tried with Language=Spanish, ES, ES_ES, and so others. The correct one is: Language=Español – Bernat Nov 16 '12 at 07:51
  • If you'll need another languages or options, use that `odbcad32` GUI to create File DSN, then you can read parameters from that file. – week Nov 16 '12 at 10:30