You are here: Re: Data base encodings « MsSQL Server « IT news, forums, messages
Re: Data base encodings

Posted by Erland Sommarskog on 06/21/07 22:18

maarten (maarten.mostert@wanadoo.fr) writes:
> I am looking to check and set the encoding of the database using sql
> commands that work both for SQL-Server and JET.
>
> something equivalent to the postgreSQL commands:
>
> 'SHOW server_encoding'

In SQL Server you can set the collation per table column if you like.
But there is a default collation for the server, which you can find
with

SELECT serverproperty('Collation')

The default collation for a database can be determined with:

SELECT databasepropertyex('Db', 'Collation')


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация