Académique Documents
Professionnel Documents
Culture Documents
Entities
Entity Report
Entity Name dbo.tblCourses dbo.tblDepartment dbo.tblStudents dbo.tblStudentSubjects dbo.tblSubjects Primary Key cid did sid ssid subid # Attribu tes 3 3 8 3 3
- 2-
Entities
Entity 'dbo.tblCourses'
Caption Primary Key tblCourses pk_tblCourses_cid
Entity Properties
Filegroup PRIMARY
Attributes
Key PK FK Attribute Name cid cname did Domain Data Type Int Varchar(30) Int N1) YES NO NO U2) NO NO NO C3) NO NO NO D4) NO NO NO Comments
Relationships
Relationship Name fk_tblDepartment_tblC ourses_did fk_tblCourses_tblStude nts_cid fk_tblCourses_tblSubje ct_cid Relationship Type Non-identifying Non-identifying Non-identifying Parent Entity dbo.tblDepartment dbo.tblCourses dbo.tblCourses Child Entity dbo.tblCourses dbo.tblStudents dbo.tblSubjects Card. 1:N 1:N 1:N
- 3-
Entities
Entity 'dbo.tblDepartment'
Caption Primary Key tblDepartment pk_tblDepartment_did
Entity Properties
Filegroup PRIMARY
Attributes
Key PK Attribute Name did dname hod Domain Data Type Int Varchar(30) Varchar(30) N1) YES NO NO U2) NO NO NO C3) NO NO NO D4) NO NO NO Comments
Relationships
Relationship Name fk_tblDepartment_tblC ourses_did Relationship Type Non-identifying Parent Entity dbo.tblDepartment Child Entity dbo.tblCourses Card. 1:N
- 4-
Entities
Entity 'dbo.tblStudents'
Caption Primary Key tblStudents pk_tblStudents_sid
Entity Properties
Filegroup PRIMARY
Attributes
Key PK Attribute Name sid sroll sname sadd sphone semail cid section Domain Data Type Int Varchar(15) Varchar(30) Varchar(20 0) Varchar(15) Varchar(50) Int Varchar(1) N1) YES YES NO NO NO NO NO NO U2) NO NO NO NO NO NO NO NO C3) NO NO NO NO NO NO NO NO D4) NO NO NO NO NO NO NO NO Comments
FK
Relationships
Relationship Name fk_tblCourses_tblStude nts_cid fk_tblStudents_tblStud entSubjects_sid Relationship Type Non-identifying Non-identifying Parent Entity dbo.tblCourses dbo.tblStudents Child Entity dbo.tblStudents dbo.tblStudentSubject s Card. 1:N 1:N
Keys
Key Type PK AK Constraint Name pk_tblStudents_sid uk_tblStudents_sroll Attributes sid sroll
- 5-
Entities
Entity 'dbo.tblStudentSubjects'
Caption Primary Key tblStudentSubjects pk_tblStudentSubjects_ssid
Entity Properties
Filegroup PRIMARY
Attributes
Key PK FK Attribute Name ssid sid subid Domain Data Type Int Int Int N1) YES NO NO U2) NO NO NO C3) NO NO NO D4) NO NO NO Comments
Relationships
Relationship Name fk_tblStudents_tblStud entSubjects_sid Relationship Type Non-identifying Parent Entity dbo.tblStudents Child Entity dbo.tblStudentSubject s Card. 1:N
- 6-
Entities
Entity 'dbo.tblSubjects'
Caption Primary Key tblSubjects pk_tblSubjects_subid
Entity Properties
Filegroup PRIMARY
Attributes
Key PK FK Attribute Name subid cid subname Domain Data Type Int Int Varchar(30) N1) YES NO NO U2) NO NO NO C3) NO NO NO D4) NO NO NO Comments
Relationships
Relationship Name fk_tblCourses_tblSubje ct_cid
1) 2)
Card. 1:N
- 7-
Attributes
Attribute Report
Attribute Name cid cname did did dname hod cid sadd section semail sid sname sphone sroll sid ssid subid cid subid subname Entity Name dbo.tblCourses dbo.tblCourses dbo.tblCourses dbo.tblDepartment dbo.tblDepartment dbo.tblDepartment dbo.tblStudents dbo.tblStudents dbo.tblStudents dbo.tblStudents dbo.tblStudents dbo.tblStudents dbo.tblStudents dbo.tblStudents dbo.tblStudentSubjects dbo.tblStudentSubjects dbo.tblStudentSubjects dbo.tblSubjects dbo.tblSubjects dbo.tblSubjects Domain Data Type Int Varchar(30) Int Int Varchar(30) Varchar(30) Int Varchar(200) Varchar(1) Varchar(50) Int Varchar(30) Varchar(15) Varchar(15) Int Int Int Int Int Varchar(30) PK YES NO NO YES NO NO NO NO NO NO YES NO NO NO NO YES NO NO YES NO FK NO NO YES NO NO NO YES NO NO NO NO NO NO NO YES NO NO YES NO NO
- 8-
Attributes
Attribute 'cid'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique cid dbo.tblCourses YES NO Int YES NO
Attribute Properties
Identity Identity Seed Identity Increment YES 1 1
Attribute 'cname'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique cname dbo.tblCourses NO NO Varchar(30) NO NO
Attribute Properties
Collation For the Column SQL_Latin1_General_CP1_CI_AS
Attribute 'did'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique did dbo.tblCourses NO YES Int NO NO
Parent Entity
dbo.tblDepartment
Attribute 'did'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique did dbo.tblDepartment YES NO Int YES NO
- 9-
Attributes
Attribute Properties
Identity Identity Seed Identity Increment YES 1 1
Attribute 'dname'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique dname dbo.tblDepartment NO NO Varchar(30) NO NO
Attribute Properties
Collation For the Column SQL_Latin1_General_CP1_CI_AS
Attribute 'hod'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique hod dbo.tblDepartment NO NO Varchar(30) NO NO
Attribute Properties
Collation For the Column SQL_Latin1_General_CP1_CI_AS
Attribute 'cid'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique cid dbo.tblStudents NO YES Int NO NO
Parent Entity
dbo.tblCourses
Attribute 'sadd'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique sadd dbo.tblStudents NO NO Varchar(200) NO NO
-10-
Attributes
Attribute Properties
Collation For the Column SQL_Latin1_General_CP1_CI_AS
Attribute 'section'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique section dbo.tblStudents NO NO Varchar(1) NO NO
Attribute Properties
Collation For the Column SQL_Latin1_General_CP1_CI_AS
Attribute 'semail'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique semail dbo.tblStudents NO NO Varchar(50) NO NO
Attribute Properties
Collation For the Column SQL_Latin1_General_CP1_CI_AS
Attribute 'sid'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique sid dbo.tblStudents YES NO Int YES NO
Attribute Properties
Identity Identity Seed Identity Increment YES 1 1
-11-
Attributes
Attribute 'sname'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique sname dbo.tblStudents NO NO Varchar(30) NO NO
Attribute Properties
Collation For the Column SQL_Latin1_General_CP1_CI_AS
Attribute 'sphone'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique sphone dbo.tblStudents NO NO Varchar(15) NO NO
Attribute Properties
Collation For the Column SQL_Latin1_General_CP1_CI_AS
Attribute 'sroll'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique sroll dbo.tblStudents NO NO Varchar(15) YES NO
Attribute Properties
Collation For the Column SQL_Latin1_General_CP1_CI_AS
Attribute 'sid'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique sid dbo.tblStudentSubjects NO YES Int NO NO
Parent Entity
dbo.tblStudents
-12-
Attributes
Attribute 'ssid'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique ssid dbo.tblStudentSubjects YES NO Int YES NO
Attribute Properties
Identity Identity Seed Identity Increment YES 1 1
Attribute 'subid'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique subid dbo.tblStudentSubjects NO NO Int NO NO
Attribute 'cid'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique cid dbo.tblSubjects NO YES Int NO NO
Parent Entity
dbo.tblCourses
Attribute 'subid'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique subid dbo.tblSubjects YES NO Int YES NO
Attribute Properties
Identity Identity Seed Identity Increment YES 1 1
-13-
Attributes
Attribute 'subname'
Caption Entity Name Primary Key Foreign Key Data Type Not Null Unique subname dbo.tblSubjects NO NO Varchar(30) NO NO
Attribute Properties
Collation For the Column SQL_Latin1_General_CP1_CI_AS
-14-
Keys
Key Report
Key Type PK PK PK AK PK PK Key Name pk_tblCourses_cid pk_tblDepartment_did pk_tblStudents_sid uk_tblStudents_sroll pk_tblStudentSubjects_ssid pk_tblSubjects_subid Entity Name dbo.tblCourses dbo.tblDepartment dbo.tblStudents dbo.tblStudents dbo.tblStudentSubjects dbo.tblSubjects
-15-
Keys
Key 'pk_tblCourses_cid'
Caption Key Type Entity Name Attribute cid pk_tblCourses_cid Primary Key dbo.tblCourses Order ASC Foreign Key NO
Key Properties
Clustered Filegroup YES PRIMARY
Key 'pk_tblDepartment_did'
Caption Key Type Entity Name Attribute did pk_tblDepartment_did Primary Key dbo.tblDepartment Order ASC Foreign Key NO
Key Properties
Clustered Filegroup YES PRIMARY
Key 'pk_tblStudents_sid'
Caption Key Type Entity Name Attribute sid pk_tblStudents_sid Primary Key dbo.tblStudents Order ASC Foreign Key NO
Key Properties
Clustered Filegroup YES PRIMARY
Key 'uk_tblStudents_sroll'
Caption Key Type Entity Name Attribute sroll uk_tblStudents_sroll Alternate Key dbo.tblStudents Order ASC Foreign Key NO
Key Properties
Clustered Filegroup NO PRIMARY
-16-
Keys
Key 'pk_tblStudentSubjects_ssid'
Caption Key Type Entity Name Attribute ssid pk_tblStudentSubjects_ssid Primary Key dbo.tblStudentSubjects Order ASC
Foreign Key NO
Key Properties
Clustered Filegroup YES PRIMARY
Key 'pk_tblSubjects_subid'
Caption Key Type Entity Name Attribute subid pk_tblSubjects_subid Primary Key dbo.tblSubjects Order ASC Foreign Key NO
Key Properties
Clustered Filegroup YES PRIMARY
-17-
Relationships
Relationship Report
Relationship Name fk_tblCourses_tblStude nts_cid fk_tblCourses_tblSubje ct_cid fk_tblDepartment_tblC ourses_did fk_tblStudents_tblStud entSubjects_sid Relationship Type Non-identifying Non-identifying Non-identifying Non-identifying Parent Entity dbo.tblCourses dbo.tblCourses dbo.tblDepartment dbo.tblStudents Child Entity dbo.tblStudents dbo.tblSubjects dbo.tblCourses dbo.tblStudentSubject s Card. 1:N 1:N 1:N 1:N
-18-
Relationships
Referential Integrity
Parent Child Insert ---NONE Update RESTRICT NONE Delete CASCADE ----
Keys
Key Type Primary Key 'pk_tblCourses_cid' Parent Key cid Child Key cid
Referential Integrity
Parent Child Insert ---NONE Update RESTRICT NONE Delete CASCADE ----
Keys
Key Type Primary Key 'pk_tblCourses_cid' Parent Key cid Child Key cid
Referential Integrity
Parent Child Insert ---NONE Update RESTRICT NONE Delete CASCADE ----
-19-
Relationships
Keys
Key Type Primary Key 'pk_tblDepartment_did' Parent Key did Child Key did
Referential Integrity
Parent Child Insert ---NONE Update RESTRICT NONE Delete CASCADE ----
Keys
Key Type Primary Key 'pk_tblStudents_sid' Parent Key sid Child Key sid
-20-
Filegroups
Filegroup Report
Filegroup Name PRIMARY
-21-
Filegroups
Filegroup 'PRIMARY'
Used in
Entity Name dbo.tblCourses dbo.tblDepartment dbo.tblStudents dbo.tblStudentSubjects dbo.tblSubjects Key Constraint Name (Entity Name) pk_tblCourses_cid (dbo.tblCourses) pk_tblDepartment_did (dbo.tblDepartment) pk_tblStudents_sid (dbo.tblStudents) uk_tblStudents_sroll (dbo.tblStudents) pk_tblStudentSubjects_ssid (dbo.tblStudentSubjects) pk_tblSubjects_subid (dbo.tblSubjects)
-22-
Users
User Report
User Name dbo guest INFORMATION_SCHEMA sys
-23-
Users
User 'dbo'
Caption dbo
Membership
User Group Name db_owner
User 'guest'
Caption guest
User 'INFORMATION_SCHEMA'
Caption INFORMATION_SCHEMA
User 'sys'
Caption sys
-24-
User Groups
-25-
User Groups
Members
User Name or User Group Name dbo
-26-