Create a SQL Server database. 代码如下:DB_SIZE_IN_MEGABYTES = 5 strDBServerName = “.” Set objSQLServer = CreateObject(“SQLDMO.SQLServer”) objSQLServer.LoginSecure = True objSQLServer.Connect strDBServerName Set objDB = CreateObject(“SQLDMO.Database”) Set objFG = CreateObject(“SQLDMO.Filegroup”) Set objD