Skip to main content

שינוי מאפייני שפה של שרת MSSQL


Change collation of MSSQL




>> sc queryex type= service state= all | find /i "SQL Server"
DISPLAY_NAME: SQL Server (MSSQLSERVER)
DISPLAY_NAME: SQL Server Browser
DISPLAY_NAME: SQL Server Agent (MSSQLSERVER)
DISPLAY_NAME: SQL Server VSS Writer

>> net stop "SQL Server (MSSQLSERVER)"
The SQL Server (MSSQLSERVER) service is stopping....
The SQL Server (MSSQLSERVER) service was stopped successfully.

cd c:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Binn\

-- SET CASE SENSITIVE --
sqlservr -m -T4022 -T3659 -s"MSSQLSERVER" -q"SQL_Latin1_General_CP1_CS_AS"
[-m] single user admin mode 
[-T] trace flag turned on at startup 
[-s] sql server instance name 
[-q] new collation to be applied

-- SET CASE IN-SENSITIVE --

sqlservr -m -T4022 -T3659 -s"MSSQLSERVER" -q"SQL_Latin1_General_CP1_CI_AS"

>> net start "SQL Server (MSSQLSERVER)"

Comments

Popular posts from this blog

Best freeware - XML editor

As a software developer, I open XML files all the time. I a heavy commercial XML editor. But nothing can compare to a small, thin and free XML editor like 'foxe'. A great feature is has is the alignment of long XML strings to readable XML format (Shift-F8). It help lot of times when the XML file was generated by some tool and was not readable. Homepage: http://www.firstobject.com/dn_editor.htm

SSL in pictures

Here is my summary on SSL (or as I like to call it 'SSL for dummies')

Jenkins error: groovy.lang.MissingPropertyException

I tried to run groovy build step and got below error. This post will describe how I solved the problem. Caught: groovy.lang.MissingPropertyException: No such property: hudson for class: script