Table MD_Building

Card of table MD_Building

Name

MD_Building

Dimensional Type

Dimension

Comment

General dimension for buildings. Note that this dimension isn't typically as useful as the room (MD_Room) dimension for space usage analysis.

The existence of an 'Unknown' building should make it possible to avoid NULL foreign keys.

The data here comes from Colleague. It may not be loaded with the same frequency as some other data (seeing as buildings don't change daily).


Check constraint name of the table MD_Building

CKT_MD_BUILDING


List of incoming references of the table MD_Building

Name

Child Table

Foreign Key Columns

MeasurementToBuilding

MF_ReadingByHourNoAggregations

MD_Building_SurrogateKey

Relationship_78

MF_SectionMeetsAt

MD_Building_SurrogateKey

Relationship_108

MF_ReadingByHourSnapshot

MD_Building_SurrogateKey

Relationship_120

MF_IssueTrackingTicket

MD_Building_SurrogateKey

Relationship_125

MF_IssueTrackingAssetValue

MD_Building_SurrogateKey

Relationship_136

MF_Room

MD_Building_SurrogateKey

Relationship_138

MF_RoomAssignment

MD_Building_SurrogateKey

Relationship_142

MF_Booking

MD_Building_SurrogateKey

Relationship_200

MF_ReadingByHourAccumulating

MD_Building_SurrogateKey

Relationship_221

MF_PerYearBuildingFacts

MD_Building_SurrogateKey

Relationship_228

MF_CardTransaction

MD_Building_SurrogateKey

Relationship_255

MF_KeyedComputerSoftwareUsage

MD_Building_SurrogateKey

Relationship_256

MF_KeyedComputerInUse

MD_Building_SurrogateKey

Relationship_268

MF_KeyedComputerEvent

MD_Building_SurrogateKey


List of referencing views of the table MD_Building

Name

Code

VMF_BookingSnapshotCoverage

VMF_BOOKINGSNAPSHOTCOVERAGE

VMF_RoomAssignmentSnapshotCoverage

VMF_ROOMASSIGNMENTSNAPSHOTCOVERAGE

VMF_SlotSnapshotCoverage

VMF_SLOTSNAPSHOTCOVERAGE


List of diagrams containing the table MD_Building

Name

DimsLocationDiagram


List of columns of the table MD_Building

Name

Comment

Domain

Data Type

Length

MD_Building_SurrogateKey

 

<None>

numeric

 

MD_Building_ID

Unique identifier in Colleague for building. Do not expose to users.

DW_CodeDescShort

varchar(16)

16

MD_Building_Name

Name of building (not the long name; rather, just a 32-character or less designation for it). Based on BLDG.DESC in Colleague (not BLDG.LONG.DESC).

DW_Building

nvarchar(32)

32

MD_Building_Group

Not currently used.

May be used to group buildings according to some reporting or other useful scheme yet to be determined.

DW_CodeDesc

varchar(32)

32

MD_Building_Location

Campus or site of building (will typically be "Carleton").

DW_CodeDesc

varchar(32)

32

MD_Building_Type

In Colleague, this is just the type or category of a building (e.g., "student residence").

As of 2010, there is no way to represent multiple uses for a building in Colleague. As a workaround, therefore, the people who maintain this data create multiple buildings where just one physical structure exists - one building per primary use (e.g., the LDC, which is for classrooms and departments - mainly languages - but it's also a dining hall, and therefore has two distinct building entries in Colleague).

If we change this practice, we will probably need to rename this field as MD_Building_PrimaryType, and retain only the primary value.

DW_CodeDesc

varchar(32)

32

MD_Building_Status

Denotes the building's condition: Active or inactive.

DW_CodeDesc

varchar(32)

32

MD_Building_Longitude

 

<None>

float

 

MD_Building_Latitude

 

<None>

float

 

MD_Building_Elevation

 

<None>

float

 

MD_Building_Shape

Captures the building shape as a SQL geometric data type.

Building shapes may be converted from CAD and GIS formats to this data type.

Not currently used.

<None>

geography

 

MD_Building_AgeRange

Age of building, discretized into ranges. Calculated based on BLDG.CONSTRUCTION.YEAR in Colleague (since it's multivalued, we take the earliest year in the list).

DW_CodeDesc

varchar(32)

32

MD_Building_YearBuilt

 

DW_YearAtCarleton

int

 

MD_Building_LastRenovatedRange

How many years ago a given building was last renovated, discretized into ranges (e.g., 0-5 years ago).

Note that in Colleague this is a multi-valued field. Here we use only the last-renovated date.

DW_CodeDesc

varchar(32)

32

MD_Building_LastRenovatedYear

 

DW_YearAtCarleton

int

 

MD_Building_PrimaryConstructionType

Primary construction type for a building. The key here is that a building may have many construction types. We take only the first or primary one in Colleague (BLDG.CONSTRUCTION.TYPE).

DW_CodeDescShort

varchar(16)

16

MD_Building_Architect

 

DW_CommonName

nvarchar(64)

64

MD_Building_PrimaryContractor

 

DW_CommonName

nvarchar(64)

64

MD_Building_ReplacementCostRange

Cost to replace a building, in the event of total loss, discretized into ranges (for easy use in reports).

Currently not used.

DW_CodeDesc

varchar(32)

32

MD_Building_ContentsValueRange

Value of building's contents (not the building itself). This is typically itemized separately for insurance purposes.

The value here has been discretized or "banded" for easier use in reports.

Currently not used.

DW_CodeDesc

varchar(32)

32

MD_Building_OwnershipStatus

Based on BLDG.OWNERSHIP.STATUS in Colleague.

DW_CodeDescShort

varchar(16)

16

MD_Building_StudentsAssigned

How many students are assigned to a given building (typically a dorm), i.e., how many students (can) sleep there (discretized).

Calculated by adding up a count of all assignments to rooms in a given building where the status of the assignment = "Assigned" (not, e.g., "Canceled").

The value given here is for the current term, and will therefore change relatively frequently.

DW_CodeDesc

varchar(32)

32

MD_Building_ResLifeBedroomCapacity

 

DW_CodeDesc

varchar(32)

32

MD_Building_ClassroomCount

Count of classrooms in a particular building. Discretized into ranges for easy reporting.

DW_CodeDesc

varchar(32)

32

MD_Building_ClassroomCapacity

Aggregated (summed) capacity of all classrooms in a given building. Discretized into ranges for easy reporting.

DW_CodeDesc

varchar(32)

32

MD_Building_FloorCount

Count of floors in a building (not the ordinal number of the top floor).

Defaults to zero.

<None>

int

 

MD_Building_RoofType

 

DW_CodeDesc

varchar(32)

32

MD_Building_Size

Based on BLDG.SIZE in Colleague. Not sure what this will contain yet.

DW_CodeDesc

varchar(32)

32

MD_Building_NetArea

Net square footage of a building's interior spaces (for easier filtering and reporting).

DW_CodeDesc

varchar(32)

32

MD_Building_GrossArea

Gross square footage of a building's interior spaces, discretized into ranges (for easier filtering and reporting).

DW_CodeDesc

varchar(32)

32

MD_Building_CubicFeet

Volume in cubic feet, however Facilities wants to calculate that figure.

Currently not used.

DW_CodeDesc

varchar(32)

32

MD_Building_IsAccessible

Whether a building is accessible by ADA standards (to people with disabilities).

DW_YesNoOrUnknown

varchar(7)

7

MD_Building_HasElevator

 

DW_YesNoOrUnknown

varchar(7)

7

MD_Building_IsLandmark

"Yes" if a building is considered to hold landmark status.

DW_YesNoOrUnknown

varchar(7)

7

MD_Building_HallDirector

XBLDG.HALL.DIRECTOR.NAME in Colleague. Will be applicable only for dorms.

DW_CommonName

nvarchar(64)

64

MD_Building_AuditKey

 

DW_AuditKey

bigint

 

MD_Building_Timestamp

 

<None>

timestamp

 


List of indexes of the table MD_Building

Name

Unique

Cluster

Primary

Foreign Key

Alternate Key

Table

MD_BUILDING_PK

TRUE

TRUE

TRUE

FALSE

FALSE

MD_Building

MD_BUILDING_AK

TRUE

FALSE

FALSE

FALSE

TRUE

MD_Building


List of keys of the table MD_Building

Name

Identifier_1

AltKey