DBMS Lab ASS#1
DBMS Lab ASS#1
By
AQIB RAZA
CIIT/FA19-BCS-126/ATK
Teacher: Mr. WASEEM KHAN
Submission Date: Monday, March 1, 2021
1.MDF is the primary data file for MSSQL. The LDF, on the other hand, is a supporting file and is
characterized as a server transaction log file.
2.MDF contains all the vital and necessary information in databases while the LDF contains all
the actions which include transactions and changes made in the MDF file.
4.The LDF file size can take up a lot of space due to the numerous changes and the information
details ascribed to the changes while the MDF file can maintain or a change in file size
depending on the actual changes made to the file itself.
Data Storag
Type Lower Range Upper Range e Remarks
Lower
Data Type Range Upper Range Storage Remarks
Datetime2 0001-01-01 9999-12-31 6-8 bytes 1. the default format for this is
00:00:00 23:59:59.9999999 YYYY-MM-DD hh:mm: ss[.fractional
1. Precision<3 ->
seconds].