Answered Questions

  • About dbms_output.put_line( ) package

    what is the maximum size of the message that we can give in dbms_output.putline();

  • How do you set table for read only access ?

    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

    Aditya

    • Feb 28th, 2018

    Lock table < table name > in exclusive mode;

    Smruti R Das

    • Sep 26th, 2012

    GRANT SELECT ON table_name TO user_name

  • what is the use of nocopy parameter in oracle procedure

    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

    Himansu

    • 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 ...

    Saket

    • 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?

  • What are the advantages and disadvantages of View?

    Star Read Best Answer

    Editorial / Best Answer

    Answered by: Mohan

    • 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

    Raj

    • Mar 7th, 2019

    These are following some advantages
    1. Performance
    2. Security
    3. Easy and Reusable
    4. Consistency and independent

    Marcus

    • Apr 6th, 2018

    The view uses virtual space when in use, this is a temporary space on the server that goes away when not in use.