I have 3 university source databases from which I'm loading the data into my data warehouse dimension tables. Since all 3 sources will be in the same dimension tables, how do I know which rows are from which university? For example; if I wanted to query the transcript of one student from a specific university over multiple semesters, in my fact table (fact_transcript) I would be able to distinguish using a student unique social security number (ssn) or I could add a university attribute to the fact table (but i don't think this is correct) but for my course table and others; if all 3 universities number their course ids the same (e.g 1, 2, 3..) i wouldn't know which courses belong to which university so that I could load the students and course to the fact table correctly. I would have something like this for the course dimension:
COURSE
course_id | c_name | cr_hours ...
1 | from_university_1 | 3
2 | from_university_1 | 3
3 | from_university_1 | 3
1 | from_university_2 | 3
2 | from_university_2 | 3
3 | from_university_2 | 3
1 | from_university_3 | 3
2 | from_university_3 | 3
3 | from_university_3 | 3
The names could be the same or different, I just chose those to show you what I mean. Would I transform the IDs to range from 1-1000 for uni1 then 1001- 2000 for uni2 and so on or would I attach an abbreviation before each course name (and do the same for other dimensions) like; UNI1-coursename , UNI2-coursename? Thank you for any help.