GeekInterview.com
Answered Questions

About DBMS_output.Put_line( ) package

Asked By: usrkraju | Asked On: Jul 17th, 2008

What is the maximum size of the message that we can give in DBMS_output.Putline();

Answered by: kantri on: Dec 15th, 2008

The maximum size of package is 32k
We can't give  more than that

Answered by: jp_valapad on: Aug 5th, 2008

255 bytes was the size limits of earlier version of oracle..ie prior to 10 g ..in 10g 32767 byte is the limit..

How do you set table for read only access ?

Asked By: nitin_kumat | Asked On: Mar 20th, 2007

If I am updating one record in a table at that time no other user can't able insert ,update the record in same table how is it possible

Answered by: Smruti R Das on: Sep 26th, 2012

GRANT SELECT ON table_name TO user_name

Answered by: velan on: Sep 11th, 2012

There are couple of ways 1) If there are user other than owner accessing this table then you can "grant select on TABLE_NAME" 2) Otherwise you DBA can create a role which will have only the privillege...

What is the use of nocopy parameter in Oracle procedure

Asked By: ily_saravanan | Asked On: Mar 19th, 2007

Hi, what is nocopy parameter in Oracle procedure. What is the use of it. In which situation,we can use the nocopy parameter.Thanks,saravanan.P

Answered by: Himansu on: Nov 6th, 2012

In procedure,Function there are three types of parameter is there. eg-IN, OUT, INOUT. IN parameter is call by reference and OUT & INOUT are call by value. Always call by reference is faster than call ...

Answered by: Saket on: Apr 3rd, 2012

Pass by reference: "IN" Case
Pass by value : "Out" or "IN OUT" Case which have the overhead of copying the value to new procedure parameter.
In order to make to Pass by reference we will use NOCOPY
Pass by reference: "OUT NOCOPY" or "IN OUT NOCOPY" which deals which the actual reference value.

How do you find which procedures are being used in database?

Asked By: Suman-Delhi | Asked On: Feb 8th, 2007

Answered by: suneesece on: May 19th, 2010

select * from all_objects where object_type= 'PROCEDURE';

Answered by: Shafik Ismail on: Feb 26th, 2010

I am not too sure if I understand our question properly. If you wanted to find all the stored procedures defined to the database with a CREATE PROCEDURE command (let's say DB2), then run a query from ...

What are the advantages and disadvantages of view?

Asked By: sbagai2001 | Asked On: May 26th, 2006

Star Read Best Answer

Editorial / Best Answer

Answered by: Mohan

Answered On : Jun 2nd, 2006

Hi,

Advantages of views:

1. View the data without storing the data into the object.

2. Restict the view of a table i.e. can hide some of columns in the tables.

3. Join two or more tables and show it as one object to user.

4. Restict the access of a table so that nobody can insert the rows into the table.

Disadvatages:

1. Can not use DML operations on this.

2. When table is dropped view becomes inactive.. it depends on the table objects.

3. It is an object, so it occupies space.

Pls. add , if I miss any of them.

Thanks,

Mohan

Answered by: soumya on: May 17th, 2013

View when called always contacts the base table, on which it is built to get the data .so it always goes to the server thats why it degrades the performance of the server.

Answered by: purna chandrudu on: May 13th, 2013

DML operation can performed on views.

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: