Вы находитесь на странице: 1из 6

Candidate questions:

Questions:
1)
running INSERT statement we received error bellow:
insert into titres(sicovam, f1, f2) values(1, 3, 789)
*
ERROR at line 1:
ORA-00001: unique constraint (UPGRADE326_330.PK_TITRES) violated
Please explain how to find out cause of this error and what this error means.

2) You have got error bellow, what cause of this error?


insert into RT_FIXING_RIC(sicovam) values(1)
*
ERROR at line 1:
ORA-01400: cannot insert NULL into
("UPGRADE326_330"."RT_FIXING_RIC"."COL_NAME")

3) How to format sqplus output to fit into the screen and save results of the
query in the file ?

4) How to output oracle configuration parameters and save them in the file ?

5) What query should you run to see all invalid objects in the oracle schema
?

6) How to recompile invalid object ?

7) In the SQLPLUS you recompiled invalid trigger, but have got waring:
"Warning: Trigger altered with compilation errors."
How to see code line which is causing this error and error message itself ?

8) How to find exact oracle client/server version used/installed ?

9) If you have more than one Oracle Client installations, how to know which
one you are using ?

10) Some application which works with Oracle database does not start and
gives error message:
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
What shall you do to investigate this error ?

11) When you try to insert record into the table you are getting error
bellow:
insert into MVTBACKERROR(REFCON) values(1)
*
ERROR at line 1:
ORA-02291: integrity constraint (UPGRADE327_330.FK_REFCON_MVTBACK_ERROR)
violated - parent key not found
What this error means and how to find where "parent key" should be located ?

12) You have set of commands produce the following output :


C:\>sqlplu dump/dump@val11
'sqlplu' is not recognized as an internal or external command,
operable program or batch file.
C:\>insert into dummy(vl1,vl2) values(1,2);
'insert' is not recognized as an internal or external command,
operable program or batch file.
C:\>select count(*) from dummy;
'select' is not recognized as an internal or external command,
operable program or batch file.
C:\>commit;
'commit' is not recognized as an internal or external command,
operable program or batch file.

What exactly is wrong here ? And how to fix it ?


13) When you run update statement bellow you have got the following error:
ORA-01427: single-row subquery returns more than one row
UPDATE COLUMN_NAME a SET a.ID=(SELECT b.ID FROM COLUMN_NAME b WHERE
b.TYPE='class sophis::backoffice_cash::CSRBOCashSumColumn' and b.NAME=a.NAME)
WHERE a.TYPE='class sophis::backoffice_cash::CSRBOCashColumn';
What cause of this error ?

14) Which one of the below statements is correct and why others are
incorrect?
merge into interfaceuserdesk i using ttp_reports1 r on (i.ttp_id=r.ttp)
when matched then
update set i.ttp_id=r.ttp, i.target_version=r.targetversion,
i.fixed_version=r.fixedversion, i.ttp_status=r.status, i.updated=1
where i.target_version<>r.targetversion or i.fixed_version<>r.fixedversion or
i.ttp_status<r.status;

merge into interfaceuserdesk i using ttp_reports1 r on (i.ttp_id=r.ttp)


when matched then
update set i.target_version=r.targetversion, i.fixed_version=r.fixedversion,
i.ttp_status=r.status, i.updated=1
where i.target_version<>r.targetversion or i.fixed_version<>r.fixedversion or
i.ttp_status<r.status;

merge into interfaceuserdesk i using ttp_reports1 r


when matched then
update set i.target_version=r.targetversion, i.fixed_version=r.fixedversion,
i.ttp_status=r.status, i.updated=1
where i.target_version<>r.targetversion or i.fixed_version<>r.fixedversion or
i.ttp_status<r.status;
15) You have got error:
ORA-00904: "KERNEL_EVENT_ID": invalid identifier
What does this error means ?

16) When you run the statement bellow, you have got error: ORA-02286: no
options specified for ALTER SEQUENCE
alter sequence SEQ_ORDER_ENTRYBOXSELECTOR rename to
SEQ_ORDER_DEFPARAM_SELECTOR
How to fix this error ?

17) During update you have got the following output, how to fix it ?
update histomvts set commission_date=montantcouru+to_date('19040101',
'YYYYMMDD') where sicovam in (select sicovam from funds where fundtype=2)
*
ERROR at line 1:
ORA-08002: sequence SEQLOG.CURRVAL is not yet defined in this session
ORA-06512: at "VALUE41_BENCHMARK.GETUSERID", line 5
ORA-06512: at "VALUE41_BENCHMARK.ADI_AUDIT_MVT", line 76
ORA-04088: error during execution of trigger
'VALUE41_BENCHMARK.ADI_AUDIT_MVT'

18) How can we use of select query to get the current date and time?

19) If you install SQL*PLUS in client, where does SQL engine run, at server
side or client side?

20) There are 2 sqplus sessions connected to the same oracle user, one of the
users executed the following command:
insert into dummy(f1, mf2) values (1,2);
another user executed :
select * from dummy;
but he can't see new record ? Why ?

21) How can we see number of connections to the database ?

22) You have a table and try to insert values into it, but getting error:
ORA-01438: value larger than specified precision allowed for this column
create table t1(n1 number(5,2),n2 number(6,3),n3 number(10,5),n4
number(10,8),n5 number) ;
insert into t1(n1,n2,n3,n4,n5) values(12.4, 2345.3, 12345.2345, 123,45,
123987,8);
What is wrong exactly?

23) How will you activate/deactivate integrity constraints?

24) How will you desable/enable trigger ?

25) How will you disable/enable ALL triggers at once on a table ?


26) During the running imp.exe command you received Unique Constraint
Violated error message. What cause of this error?

27) You run impdp.exe command and received errors during type creation. What
is the reason and how to avoid it. The same for imp.exe

28) You received a dump file from customer. During the running imp.exe you
received error message bellow, what is the reason of it?
IMP-00010: not a valid export file, header failed verification

29) You made a copy of an existing schema using Data Pump. After comparing
these 2 schemas, you find that there are differences. What differences will
you see?

30) User is getting the following error several times a day: ORA-12537:
TNS:connection closed
What is the possible cause of this error and how to fix it?

31) You received a complaint from customer who experinces bad performance.
How would you start to investigate this issue?

32) After performing import of the dump file, you noticed that Chinees
characters are missed. What are the possible reasons of it and how to fix it?

33) After connecting to the to a Chinees database, French users complains


that he does not see Chinees characters. What the reson of it and how to fix
it?

34) Oracle database does not start up, during investigation it is appeared
that someone removed online redolog files. No backup is available. How to
open database in this case?

35) You were sent to install Oracle database at customer site, what steps
should you do in order to achive your goal?

36) How to create a cronjob on Linux?

37) How to find what version of Oracle was used to create a dump file ?

38) How to find who is the owner of the data in the dump file created by
imp.exe ?

39) Customer sent us a dump file created using imp.exe 11.1 version. It is
required to import it into Oracle Server 10.2, what steps needs to be taken
in order to load data ?

40) Is it possible to optimize SQL query bellow?

update HISTOMVTS set MIRROR_REFERENCE = 0 where


REFCON in (select REFCON from HISTOMVTS where MIRROR_REFERENCE = 19562 or REFCON = 19562)
or REFCON in (select REFCON from HISTOMVTS where REFERENCE = 19562)

or REFCON in (select REFCON from HISTOMVTS where


REFERENCE in (select REFCON from HISTOMVTS where MIRROR_REFERENCE = 19562 and
REFMVTBACK is not NULL and REFMVTBACK <> ''))

41) User complaint:


I have an issue with a part of a migration script from 334 to 4.1.1 . What is the possible cause of the error bellow:

ALTER TABLE "USERPREFSLR" ADD CONSTRAINT "PK_USERPREFSLR" PRIMARY KEY ("USERID",


"IDENT", "TYPE") ENABLE;
*
ERROR at line 10:
ORA-06550: line 10, column 3:
PLS-00103: Encountered the symbol "ALTER"

42) How to stop Data Pump job?

43) There is a firewall between Oracle Client and Oracle Server, what needs
to be done in order to establish stable connection to the Oracle Server ?

44) How to see free space in ASM disk group?

45) Is there a special configuration for tnsnames.ora file required to be


used with RAC? If "yes", what is it. If "No" - why?

46) What is TAF? How it works? Are there any restrictions with TAF?

47) Did you heat any Oracle bugs during your career and what it was ?

48) Could you tell me please the PATH where alert.log file located by default
on RAC 11g (OS: Linux)

49) What is tkprof and how to use it?

50) What are the main requirements in Oracle Replications ?

51) What objects can be replicated ?

52) What are the main performance features not available in the Oracle
Standard Edition ?

53) What is the latest patchset for 10g ? I mean 10.2.0.1, 10.2.0.2,
10.2.0.3, 10.2.0.4, 10.2.0.5, 10.2.0.6, 10.2.0.7 or 10.2.0.8

54) Have you ever created Oracle SR ? If "yes", what was the issue ?

55) What is the Virtual Private Database ?

56) What types of Oracle partitions do you know ?


57) How would you defragment a table ?

58) How would you know if table is highly fragmented ?

59) Data Guard protection Modes ?

60) Could you tell me please if column names like bellow have any meanings ?
And if they do have, how can we see this?

SQL > select table_name, column_name from user_ind_columns where column_name


like 'SYS_NC%';

TABLE_NAME COLUMN_NAME
------------------------------ ------------------------------
HISTOMVTS SYS_NC00066$
HISTOMVTS SYS_NC00065$
HISTOMVTS SYS_NC00066$
HISTOMVTS SYS_NC00065$
AUDIT_BO_CASH_INSTRUCTION SYS_NC00047$
HISTORIQUE SYS_NC00027$
BO_MESSAGES SYS_NC00051$

61) What Oracle "tunable parameters" do you know?

62) What are the ISO 9001 standards ?

63) What configuration parameter tells us that Oracle Parallel Server suppose to start
during instance start up.

64) What FCF stands for and how it works?

65) What the main difference between TAF and FCF ?

66) What errors application should handle when dealing with TAF or FCF ?

67) What RMAN recovery types?

68) What RMAN backup types?

69) What RMAN related views do you know ?

70) What are the restrictions with transportable tablespaces ?

Вам также может понравиться