GeekInterview.com
Series: Subject: Topic:

Oracle FAQs

 
Sub Categories (+ View)
Subject Name
Questions
Answers
Last updated
112
87
May
14th,
2013
Showing Questions 1 - 20 of 198 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

Truncate command in Oracle is DDL command or dml command ? Give the answer with descirptive reason which is and why?

Asked By: nareshgupta12 | Asked On: Jan 8th, 2007

Answered by: Krishna G on: Mar 4th, 2013

Truncate is a DDL command.You can not rollback the data once you done truncate command

Answered by: HARSHINI on: Jul 13th, 2012

TRUNCATE is a data definition language (DDL) command.Removes all rows from the table,leaving the table empty and the table structure intact.

Performance improvement in bulk collect

Asked By: Jamuna_J | Asked On: Jul 6th, 2012

What is the amount of performance improvement you get with doing bulk collect? I tried answering I will measure with the cost.. But the interviewer wants a specific answer. Is there any general formula for deriving the cost improvement based on the no. Of records processed in bulk fetch?

Answered by: dinesh on: Feb 3rd, 2013

We can limit the bulk binding values. It would improve the overall performance. It would not consume more memory.

Referential integrity constraint

Asked By: leorence | Asked On: Nov 4th, 2009

What is the role of referential integrity constraint in normalization?

Answered by: surendra on: Jan 31st, 2013

Best examples of Referential Integrity constants Primary Key And Foreign key. Primary Key constraint allow a particular attribute to be not null and unique. Where as Foreign key will be used when ever there is a need to maintain the same attribute values in the multiple tables.

Oracle forms...

Asked By: sayyad | Asked On: Sep 26th, 2012

1) how to create login page in Oracle 10g forms. 2) how to create an exe file of Oracle 10g database

Answered by: Sarat Teja on: Jan 5th, 2013

The login credentials will be requested at the time when you run a form on runtime of developer suit, that particular fmb/fmx is usually known as the login form or the master form from which a menu mo...

Performance tuning

Asked By: srividhya_85 | Asked On: Jun 24th, 2012

My query was running fine till last month. The query will run for each month end. Suddenly it is taking more than 20 minutes for running. The data is increased by 1 million. The index are all working fine . There is no cpu utilization time and also no memory blocks. What may be the reason?The increase...

Answered by: shams756 on: Nov 2nd, 2012

1) Try collecting Statistics
2) Spilt your query based on incoming unique values

Answered by: Avi on: Sep 25th, 2012

check for the bottle necks starts from the source and continue till target

Primary and unique key

Asked By: sachinkshd | Asked On: Oct 1st, 2012

In which scenario we can use primary and unique key in same table???????

Answered by: abinay on: Oct 6th, 2012

the combination of unique key and not null key is called primary key. In a table we use only one primary key.It is unique,it cant allow the null values. UNIQUE key ,in a table we use more than one un...

What is the difference between chAR,varchAR,varchar2?

Asked By: praveen_garigipati | Asked On: Apr 5th, 2006

Answered by: lipika mishra on: Aug 22nd, 2012

1.CHAR should be used for storing fix length character strings. String values will be space/blank padded before stored on disk. If this type is used to store varibale length strings, it will waste a l...

Answered by: lina on: Aug 22nd, 2012

1.CHAR should be used for storing fix length character strings. String values will be space/blank padded before stored on disk. If this type is used to store varibale length strings, it will waste a l...

Collection of privileges

Asked By: ccp3170 | Asked On: Sep 6th, 2010

What is a collection of privileges?

Answered by: hari kumar on: Aug 2nd, 2012

its role .... we can assign a role like manager , etc , collection of privs is known as role

Answered by: BBBB on: Apr 19th, 2012

Collecting the access

eg: insert,select,update

in this group the user can apply only the above operation on the tables.

Hi all, getting the following error in Oracle9i on aix, unique index ora-01652: unable to extend temp segment by 128 in tablespace users; though the user tablespace is of 10gb.Could anyone provide...

Asked By: thomashish | Asked On: Dec 13th, 2006

Answered by: Aaryan on: Jul 25th, 2012

Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
files to the tablespace indicated.

Answered by: Daid on: Aug 20th, 2007

Please Set the Undo Tablespace management auto and scope is memory and then try to do 
Thanks 

Oracle program

Asked By: mishel | Asked On: Feb 23rd, 2012

Display list of jobs, number of employees of each job from departments 10 and 20. List only records if number of employees in each jobs are more than 1.

Answered by: DURGAPRASAD on: Jul 23rd, 2012

SELECT JOB,COUNT(EMPNO) AS NOOFEMP FROM SCOTT.EMP WHERE DEPTNO IN (10,20)
GROUP BY JOB HAVING COUNT(EMPNO) > 1

Force view

Asked By: samarendra161 | Asked On: Jul 2nd, 2010

What do you mean by force view?

Answered by: asit on: Jun 9th, 2012

force view is the process to create a view forcefully without a base table. syntax:

Code
  1. CREATE [OR REPLACE] [FORCE|NOFORCE] VIEW VIEW_NAME
  2.             AS
  3.             SELECT STMT;

Privileges granted & privileges obtained

Asked By: samarendra161 | Asked On: Jul 2nd, 2010

Which system tables contain information on privileges granted & privileges obtained?

Answered by: asit on: Jun 9th, 2012

for users permissions : user_tab_privs table is used.
for viewing all permissions : all_tab_privs

Data dictionary

Asked By: bhanumurthy03 | Asked On: Aug 31st, 2009

How can we know the all tables and views that are given for the specific user(such as user_views,user_objects etc.)?

Answered by: asit on: Jun 9th, 2012

Data dictionary is nothing but the place holder which contains all information of the object

like name,type,size,owner,permissions etc.

some data dictionaries : user_views,user_mviews, user_tabs, user_sequences, all_objects etc

Answered by: harshljica on: Sep 2nd, 2009

Open dba_objects in that open column name owner, in that mention user name and it will display the list of tables and views of specific users.

Row_number(), rank(), dense_rank()

Asked By: samarendra161 | Asked On: Jul 2nd, 2010

What do you mean by row_number(), rank(), dense_rank() differentiate them?

Answered by: asit on: Jun 9th, 2012

THE BELOW FUNCTIONS ARE OLAP FUNCTIONS...

rank() function skips the continuity but dense_rank() function gives the sequence.It is always advised to use dense_rank for viewing nth highest/lowest value. row_num() gives the serial no in the order how they are inserted in to a table.

Log switch

Asked By: megha90 | Asked On: Jun 9th, 2010

What is log switch?

Answered by: asit on: Jun 9th, 2012

log switch ::suppose we have two redo log files LOG A, LOG B. when transaction(DML) are occurred in Database then they are recorded in LOG A. When LOG A is filled up, a log switch occurs, All new tran...

Oracle exception

Asked By: ccp3170 | Asked On: Sep 6th, 2010

What is an exception in Oracle?

Answered by: asit on: Jun 9th, 2012

Exceptions are nothing but the errors occurred at the run time. To handle the exception we use exception block in the PLSQL.

Oracle archiver

Asked By: ccp3170 | Asked On: Sep 6th, 2010

What is an archiver in Oracle?

Answered by: venkatesh on: Jun 8th, 2012

Its background processes in oracle, it will write offline redolog group information into archive log files

How to find the foreign keys of all child tables when pass the parent table name.

Asked By: sheker2007 | Asked On: Nov 9th, 2007

I developed like below.Any experts query ....Please send.Selecttable_name,constraint_namefrom user_cons_columns where column_name=(select a.Column_name from user_cons_columns a,user_constraints bwhere a.Table_name=b.Table_name and b.Constraint_type in ('p')and a.Table_name='dept')and constraint_name...

Answered by: asheesh on: Jun 2nd, 2012

select table_name from USER_CONSTRAINTS where r_constraint_name= (select CONSTRAINT_NAME from USER_CONSTRAINTS where table_name=INPUT_PARENT_TABLE and CONSTRAINT_TYPE=P) and CONSTRAINT_TYPE=R;

Answered by: sen_sam86 on: Aug 18th, 2009

Try this script, Example SELECT child.table_name AS "TABL_NAME_2", 'Is Parent Of' AS ...

What is clustered table in Oracle? Difference between clustered table and view?

Asked By: Pradeep_Oracle | Asked On: Dec 12th, 2011

A cluster is a schema object that contains data from one or more tables, all of which have one or more columns in common.

Answered by: ravinder on: May 4th, 2012

Clustered table store data of multiple table based on common columns.

View is virtual table or which has attached select query.Its not actual table.

Answered by: Lokesh M on: Feb 13th, 2012

A cluster is a group of tables which share the same data blocks. Clusters are an optional method of storing table data. Cluster share common columns and are often used together. It is a powerful met...

What is the difference between 9i and 10g.(especially I and g stands)

Asked By: Rampraas | Asked On: Mar 28th, 2006

Answered by: tej on: Apr 23rd, 2012

The Oracle version starting of I. The starting in 1999 with version 6i, 8i and 9i, I signify "Internet" means stands for "Internet" and Oracle added the "I" to the version name to reflect support for ...

Answered by: pradeep on: Aug 2nd, 2011

Oracle 9i and Oracle 10g....there are more implementation differences. In terms of architecture, 9i is based on Internet technology while 10g is grid computing based one. Many DBA features like Automa...

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Question Categories

Oracle DBA FAQ

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.