maarten (maarten.mostert (AT) wanadoo (DOT) fr) writes:
Quote:
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 (AT) sommarskog (DOT) se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx