use master -- 设置当前数据库为master,以便访问sysdatabases表
go
if exists(select * from sysdatabases where name='testDB') drop database testDB
create database testDB
ALTER DATABASE test COLLATE Chinese_PRC_CI_AS
ALTER
DATABASE
test
COLLATE
Chinese_PRC_CI_AS