database file extension

Different databases have different extensions
, the extension of SQL is MDF
Access database is .mdb The extension of
MSSql database is . The extension of mdf
Paradox database is .DB
The extension of Oracle database is . The extension of DBF
dBase database is . The extension of the DBF
FoxPro database is . The extension of the DBF
MS Works database is .wdb

 

1: By default, the suffix of
the main data file is mdf The suffix of the
secondary data file is ndf The suffix of the
log file is ldf
2: When creating a database in a custom way
, specify the suffix of the main data file, the secondary data file and the log file
by letter Any valid character format at the beginning can be

CREATE DATABASE TEST
ON
PRIMARY --create the main database file
(
NAME='TEST',
FILENAME='E:\TEST.mdb',
SIZE=5MB,
MaxSize=20MB,
FileGrowth=1MB
)
LOG ON -- create log file
(
NAME='HkTempLog',
FileName='E:\Databases\TestLOG.log',
Size=2MB,
MaxSize=20MB,
FileGrowth=1MB
)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326261455&siteId=291194637