Documente Academic
Documente Profesional
Documente Cultură
Note: These instructions will work in Windows and UNIX environments and
should work in just about any other OS environment.
SELECT tablespace_name
FROM dba_tablespaces
ORDER BY tablespace_name;
C.3 In the resulting list you need to find two particular tablespaces
C.3.a A tablespace used as the default place to store your objects. The
name of this tablespace will vary depending on your operating
system platform and your Oracle database version. Your DEFAULT
TABLESPACE will have a name similar to one of the following:
USERS
USER_DATA
USR
C.3.b A tablespace known as the TEMPORARY TABLESPACE. Typical names for
TEMPORARY TABLESPACEs are:
TEMP
TEMPORARY
TEMPORARY_DATA
C.4 Once you have found your DEFAULT TABLESPACE and TEMPORARY TABLESPACE
names
write them down for the next step.
C.4.a Note that the most common two names will be USERS and TEMP.
E. Now you need to give the student account the ability to use the database.
E.1 Issue the following statement while connected through SQL*Plus as
SYSTEM/MANAGER:
CONNECT student/learn
SHOW USER
F.2 After issuing the SHOW USER command, you should receive the following
message:
USER is "STUDENT"
@C:\guest\schemasetup\createStudent.sql
@C:\guest\schemasetup\rebuildStudent.sql
Caution: Running this script removes all the objects created for
work with these books. At the beginning of this script,
you are prompted with the opportunity to stop processing
or continue processing. To stop the removal process you
should press CTRL+C; to continue, press <RETURN>.