Documente Academic
Documente Profesional
Documente Cultură
'ro(ect "escription
The purpose of this term project is to help the students to have hands-on experience regarding administration of an Oracle DBMS. The project must be implemented by group of 4 students. Due Date: Monday 16-12-2013. Marks: 20 The project ill be implemented by using t o Oracle accounts. !reate t o users" A is the first user account and B is the second one. #$ Execute the follo !n" #uer!es !nto the A user account: #.a$ !reate table %mployee &SS' char&($ primary )ey* %name varchar+&#,$*Salary numeric &,*-$ not null* birth.date date $/ !reate table Dependent &dep.name char�$* SS' char&($$/ 1lter table Dependent add primary )ey&dep.name$/ 1lter table Dependent add foreign )ey &SS'$ references %mployee&SS'$ on delete cascade/ 1lter table %mployee modify birth.date default to.date&20#-3an-4,2*2DD-Mon-552$/ #.b$ 1dd some information to the t o tables. #.c$ %xecute the follo ing 6ueries" - !reate vie %mp.vie # as select SS'*salary from employee here salary 78,000/ - 9rant select* delete on %mp.vie # to B ith grant option/ - !reate index emp.index# on %mployee&SS'*salary$/ - !reate uni6ue index emp.index+ on employee&%name$/ ::you should first check that the Ename values dont repeat - !reate table department &dno char&+$ primary )ey* dname varchar+&+0$$ organi;ation index/ //creation of an index-organized table. #.d$ %xecute" commit/
IS-371(Project Description)
Page 1
IS-371(Project Description)
Page 2
4$ Cor each vie the user account B has been granted an access from the user account 1* give the vie name* the text of the vie 6uery and the length of this text. (he re)ort 'ust conta!n the follo !n": Cor each re6uest* you should ma)e a print out by printing the Oracle statement used and the ans er given by Oracle. The Oracle ans er must be put ithin a Hord Table &or print screen$. *otes:
+or th!s )ro,ect- the te)tboo* and the sl!des can hel) you and )oss!&ly the .racle Ad'!n!strat!on docu'entat!ons. Also- the /!e D01(0.*A23 can &e re#uested to l!st all data d!ct!onary4s /!e s and ta&les. +or exa')le- to kno n all data4s d!ct!onary /!e s related to 2.5E- you could re#uest the /!e D01(0.*A23 for all ta&les na'e conta!n!n" the ord 62.5E4. Any s!'!lar!ty !n the re)ort !ll &e cons!dered as cheat!n" and that "rou) !ll &e 'ark &y 7ero. Don4t for"et to r!te the t o userna'es and t o )ass ords !n the re)ort. (here !ll &e )resenta!on for the )ro,ect.
+ood ,uc*
IS-371(Project Description)
Page 3