Collections:
Default Collation in SQL Server Transact-SQL
How To Find Out What Is the Default Collation in SQL Server Transact-SQL?
✍: FYIcenter.com
The default collation of a database comes from the server if you are not using the COLLATE clause in the CREATE DATABASE statement. If you are not using the COLLATE clause for character string column, it will use the default collation from the database.
Using this logic, you can find out the default collation in a database or server very easily. See the following tutorial exercise:
CREATE TABLE faq (Name VARCHAR(80)) SP_HELP FAQ Column_name Type Length Collation ----------------------------------------------------------- Name varchar 80 SQL_Latin1_General_CP1_CI_AS
Now we know that the default collation of SQL Server is SQL_Latin1_General_CP1_CI_AS.
⇒ COLLATE Clause in SQL Server Transact-SQL
⇐ Collation - Character Code Page in SQL Server Transact-SQL
2017-05-13, 3062🔥, 0💬
Popular Posts:
What is sqlservr.exe - Process - SQL Server (SQLEX?PRESS) in SQL Server? Process sqlservr.exe is the...
How To Generate CREATE TABLE Script on an Existing Table in SQL Server? If you want to know how an e...
Is SQL Server Transact-SQL case sensitive? No. Transact-SQL is not case sensitive. Like the standard...
How To Convert a Unicode Strings to Non-Unicode Strings in SQL Server Transact-SQL? Since Unicode ch...
How To Use GO Command in "sqlcmd" in SQL Server? "sqlcmd" is a command line client application to ru...