Welcome! Log In Create A New Profile

Advanced

First Semester Exam Q11

Posted by Darkling 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
avatar First Semester Exam Q11
November 15, 2011 02:15PM
11
a
ALTER TABLE EMPDATA
ADD CONSTRAINT PK_ID PRIMARY KEY (ID)

b
SELECT OBJECT_NAME, OBJECT_TYPE FROM USER_OBJECTS WHERE OBJECT_NAME IN ('EMPDATA','EMPLOYEES'winking smiley

c
DROP TABLE EMPDATA PURGE

Any Comments?
Re: First Semester Exam Q11
November 16, 2011 12:55PM
Hi, thanks so much for putting up all your solutions.. I just came to look at this one for Q11b...

Do you think all they want is just the table objects from the user_objects data - it seems from the question that they want every object that belongs to the table - that is found in the user_objects data - I imagine it can be found through joining the table with the object_id to some other table that lists the object_ids with the table they belong to... ???

What do you say?

Good luck for the exam...
avatar Re: First Semester Exam Q11
November 16, 2011 01:10PM
Hi Leron

Question 8 c from Assignment 2 asked the same question and it was also for 4 point so I figure that's all they are requesting.

Good luck for you too..
Re: First Semester Exam Q11
November 16, 2011 01:23PM
You're right.

Thanks so much for replying.
Sorry, only registered users may post in this forum.

Click here to login