|
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]
|