|
University Facility/Room Scheduling Records for a Specific Campus University Facility/Room Scheduling Records for a Specific Campus This database is linked to the facility database on the AIS Data Warehouse and consists of two data tables. The facility data table accesses the facility records for a given campus and the event data table accesses the room scheduling records for a given campus per semester. The combination of these data tables allows the user to determine room/building availability. These sample queries are intended to help the user properly access the data in order to retrieve the desired results from a database query.
Select the desired query from the Queries Tab in the Facility Database and select the DESIGN button. The query will be displayed in the Design View. The Design View is where the query can be modified to retrieve the desired population of data records. Note:
![]() Using the Facility query as an working example, the group of returned rooms will meet the following criteria:
Locate the field campus enter UP (University Park campus) Locate the field room_semester_end enter null (field is blank - no ending semester) on the next line down, for the same field, enter >= 200102SP (ending semester is equal to or greater than Spring 2002)
Note:
Locate the field room_tech_code and enter ITEC (technology code for instructional technology) Note:
Once the desired criteria has been entered, execute the query by clicking on the run icon ( ! ) or save the query, close down the query window and select the OPEN button from the QUERIES tab. The executed query will return a list of records that meet the above criteria. Query to Determine Rooms With Scheduling Blocks During a Range of DatesUsing the Facility query again in design mode, the next example will return records that meet the following criteria:
Locate the field campus and enter UP (University Park campus) Locate the field room_block_date_begin1 and enter the date desired. For purposes of this example, the date will be May 7, 2002, entered as > 5/7/02 (Any room with scheduling blocks greater than 5/7/02) Due to the facility records having up to three possible blocks listed, enter the same date criteria for fields room_block_date_begin2 and room_block_date_begin3
Note:
Entering search criteria for Block-1, Block-2 and Block-3 on different lines will return the records that have block information listed on any of the three block fields (Block-1 or Block-2 or Block-3). In this case, remember to repeat the campus code for each line that has room_block_date_begin information entered on the query. This will ensure that all three lines of block information are pulled from the same campus.
Once the desired criteria has been entered, execute the query by selecting the run icon ( ! ) or save the query, close down the query window and select the OPEN button from the QUERIES tab. The executed query will return a list of records that meet the above criteria. Query to Determine Room AvailabilityUsing the Event query as an example, return records that meet the following criteria:
Locate the field campus and enter UP (University Park campus) Locate the field event_scheduling_day and enter MON (three character abbreviation for day of the week) Locate the field event_date_scheduled and enter null on the first line and enter the specific date to search for on the second line, 02/18/02. Both values are needed due to the format of the data. Semester long scheduling records are written with one record for each day of the week the course/event meets. Courses/events that meet for part of the semester have one record written for date scheduled. The null entry will find the semester long records for the day of the week and the date entry is used to check for any records scheduled for the date entered. Locate the field building_name and enter WILLARD (name of the building) Locate the field room_number and enter Like 2** (all rooms that begin with 2, meaning second floor)
Once the desired criteria has been entered, execute the query by selecting the run icon ( ! ) or save the query, close down the query window and select the OPEN button from the QUERIES tab. The executed query will return a list of records that meet the above criteria. Query to Determine Scheduled Events by Dept/Event CodeUsing the Events by Dept/Event Code query as an example, return records that meet the following criteria:
Locate the field campus and enter UP (University Park campus) Locate the field semester and enter the eight character semester code desired, for this example, 200102SP Locate the field event_code and enter the department or event code desired, MATH
Once the desired criteria has been entered, execute the query by selecting the run icon (!) or save the query, close down the query window and select the OPEN button from the QUERIES tab. The executed query will return a list of records that meet the above criteria. The scheduled events will be sorted in the following order:
Click on Download Here to download the MS Access database. |
|
Last revised: Monday, June 19, 2006 13:26 |