--查看数据库设置
SELECT name, collation_name
FROM sys.databases;
--出现了The database could not be exclusively locked to perform the operation这个错误,
--无法修改字符集为Chinese_PRC_CI_AS;所以需要先设置为单用户模式
ALTER DATABASE MySmartParkingDb SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
ALTER DATABASE MySmartParkingDb COLLATE Chinese_PRC_CI_AS;;
ALTER DATABASE MySmartParkingDb SET MULTI_USER;;