求写SQL数据库程序
发布网友
发布时间:2022-04-30 03:56
我来回答
共1个回答
热心网友
时间:2023-11-01 17:58
USE master;
GO
CREATE DATABASE student
ON
( NAME = student_dat,
FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\Student.mdf',
SIZE = 2,
MAXSIZE = 50,
FILEGROWTH = 1 )
LOG ON
( NAME =student_log,
FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\Student.ldf',
SIZE = 2MB,
MAXSIZE = 50MB,
FILEGROWTH = 1MB ) ;
GO
盘符你可以自行修改。