怎样用ADOSQL SERVER中建库,建表

建库:


CREATE DATABASE database_name

[ ON [PRIMARY]

[ [,...n] ]

[, [,...n] ]

]

[ LOG ON { [,...n]} ]

[ FOR LOAD | FOR ATTACH ]


::=


( [ NAME = logical_file_name, ]

FILENAME = ’os_file_name

[, SIZE = size]

[, MAXSIZE = { max_size | UNLIMITED } ]

[, FILEGROWTH = growth_increment] ) [,...n]


::=


FILEGROUP filegroup_name [,...n]