Accenture
10+ Club Oxygen Interview Questions and Answers
Q1. Explain stored procedure and PLSQL concept in detail?
Stored procedure is a precompiled program that is stored in a database and can be called by other programs.
Stored procedures are used to encapsulate business logic and improve performance.
PL/SQL is a procedural language used to write stored procedures in Oracle databases.
Stored procedures can accept input parameters and return output parameters or result sets.
They can also be used to enforce security and data integrity rules.
Example: CREATE PROCEDURE get_employee_details (emp...read more
Q2. What is difference between procedure and functions
Procedures do not return any value while functions return a value.
Procedures are used to perform an action, while functions are used to calculate and return a value.
Procedures do not have a return statement, while functions must have a return statement.
Functions can be called from SQL queries, while procedures cannot be called directly in SQL queries.
Q3. What is performing tuning?
Performance tuning is the process of optimizing the performance of a system or application.
Identifying and resolving performance bottlenecks
Optimizing database queries and indexes
Improving hardware and network configurations
Reducing resource usage and improving response time
Monitoring and analyzing system performance
Q4. what is view? Can we update in view?
A view is a virtual table created by a query. It does not store data itself but displays data from one or more tables. Views can be used for querying data as if it were a table.
Views are created using a SELECT statement with optional joins, WHERE clauses, etc.
Views can simplify complex queries by pre-defining joins and filters.
Views do not store data themselves, they display data from underlying tables.
Views can be updated if they meet certain criteria, such as not containing...read more
Q5. What is plsql and different from sql
PL/SQL is a procedural extension of SQL used for writing stored procedures, functions, triggers, and packages in Oracle databases.
PL/SQL allows for procedural programming, including loops, conditions, and exception handling.
SQL is a declarative language used for querying and manipulating data in databases.
PL/SQL code is executed on the server side, while SQL queries are executed on the client side.
PL/SQL can be used to create complex business logic and data processing tasks t...read more
Q6. What is synonym?
A synonym is an alternative name for a table, view, sequence, or other database object.
Synonyms can be used to provide a different name for an object, making it easier to reference.
They can be created to reference objects in other schemas or databases.
Synonyms can be public (accessible to all users) or private (accessible only to the creator).
Q7. What is procedures?
Procedures are named PL/SQL blocks that perform a specific task. They can accept parameters and return values.
Procedures are stored in the database and can be called by other PL/SQL blocks or applications.
They can accept input parameters to perform operations and can also return output values.
Procedures help in modularizing code and promoting reusability.
Example: CREATE PROCEDURE calculate_salary (emp_id IN NUMBER) IS ... END;
Example: EXECUTE calculate_salary(1001);
Q8. What is partitions?
Partitions in PL/SQL are used to divide a table into smaller, more manageable pieces.
Partitions help improve query performance by allowing data to be stored in separate segments based on a specified criteria.
Common partitioning methods include range, hash, list, and composite partitioning.
Example: Partitioning a sales table by month can improve query performance when searching for sales data within a specific time frame.
Q9. What is performance tuning
Performance tuning is the process of optimizing the speed and efficiency of a database system.
Identifying and resolving bottlenecks in the database system
Optimizing SQL queries for better performance
Improving indexing and partitioning strategies
Monitoring and analyzing system performance metrics
Utilizing tools like explain plan and SQL tuning advisor
Implementing caching mechanisms to reduce data retrieval time
Q10. What is sequence
A sequence is a database object in Oracle that generates unique numbers in a specified order.
Used to generate unique numbers for primary key columns
Can be used in INSERT statements to automatically generate values
Can be defined to increment by a specific value and start at a specific number
More about working at Accenture
Interview Process at Club Oxygen
Top Plsql Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month