i
Infosys
Work with us
Filter interviews by
Regular expressions (regex) are sequences of characters that define search patterns for strings, used for pattern matching and manipulation.
Regex is used for validating input formats, e.g., email addresses: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
It can extract specific patterns from text, such as phone numbers: \d{3}-\d{3}-\d{4}
Regex supports various metacharacters like '.', '*', and '+', which have speci...
Performance tuning involves optimizing database queries and configurations for improved efficiency and speed.
Analyze execution plans to identify slow queries. For example, use EXPLAIN PLAN to see how Oracle executes a query.
Use indexing strategically. For instance, create indexes on columns frequently used in WHERE clauses to speed up data retrieval.
Optimize SQL queries by avoiding SELECT *, using WHERE clauses ef...
Editing data in complex views can affect underlying tables, but it depends on the view's structure and rules.
Complex views often involve joins, aggregations, or groupings, making them non-updatable.
If a view is updatable, changes made to it will reflect in the underlying tables.
Example: A simple view on a single table can be updated directly.
Example: A view that aggregates data (e.g., SUM, COUNT) cannot be updated...
Named and unnamed exceptions in PL/SQL with examples
Named exceptions are user-defined exceptions with specific names like 'custom_exception'
Unnamed exceptions are predefined exceptions like 'NO_DATA_FOUND' or 'TOO_MANY_ROWS'
Named exceptions can be raised using RAISE statement with the exception name
Unnamed exceptions are raised automatically by the system in case of errors
Example of named exception: DECLARE custom...
Procedure is used to perform an action, while function returns a value.
Procedure does not return a value, while function does
Functions can be used in SQL queries, procedures cannot
Functions can be called from SQL statements, procedures cannot
In performance tuning, init refers to the initialization parameter file used by Oracle Database to configure various settings.
init is a text-based configuration file that contains parameters to optimize the performance of Oracle Database.
It is used to set parameters such as memory allocation, parallel processing, and resource utilization.
By tuning the init file, developers can improve the overall performance of th...
SQL Loader is a tool for loading data from external files into Oracle databases efficiently.
Use the command: sqlldr userid=username/password control=control_file.ctl
Control file specifies the format of the data file and how to load it.
Example control file: LOAD DATA INFILE 'data.csv' INTO TABLE my_table FIELDS TERMINATED BY ','
SQL Loader supports various data formats like CSV, fixed-width, etc.
You can use options ...
Types of cursors include implicit, explicit, and parameterized cursors.
Implicit cursors are automatically created by Oracle when a SQL statement is executed.
Explicit cursors are defined by the programmer using the DECLARE, OPEN, FETCH, and CLOSE statements.
Parameterized cursors allow for dynamic SQL statements to be executed with different parameters.
SQL is a structured query language used to communicate with databases. SQL extensions add additional functionality to the language.
SQL is a standard language used to interact with databases
SQL extensions like PL/SQL add procedural programming capabilities to SQL
PL/SQL is an extension of SQL used in Oracle databases
I appeared for an interview in Nov 2024.
Editing data in complex views can affect underlying tables, but it depends on the view's structure and rules.
Complex views often involve joins, aggregations, or groupings, making them non-updatable.
If a view is updatable, changes made to it will reflect in the underlying tables.
Example: A simple view on a single table can be updated directly.
Example: A view that aggregates data (e.g., SUM, COUNT) cannot be updated dire...
Performance tuning involves optimizing database queries and configurations for improved efficiency and speed.
Analyze execution plans to identify slow queries. For example, use EXPLAIN PLAN to see how Oracle executes a query.
Use indexing strategically. For instance, create indexes on columns frequently used in WHERE clauses to speed up data retrieval.
Optimize SQL queries by avoiding SELECT *, using WHERE clauses effecti...
Regular expressions (regex) are sequences of characters that define search patterns for strings, used for pattern matching and manipulation.
Regex is used for validating input formats, e.g., email addresses: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
It can extract specific patterns from text, such as phone numbers: \d{3}-\d{3}-\d{4}
Regex supports various metacharacters like '.', '*', and '+', which have special me...
I applied via Approached by Company and was interviewed in Feb 2024. There was 1 interview round.
SQL Loader is a tool for loading data from external files into Oracle databases efficiently.
Use the command: sqlldr userid=username/password control=control_file.ctl
Control file specifies the format of the data file and how to load it.
Example control file: LOAD DATA INFILE 'data.csv' INTO TABLE my_table FIELDS TERMINATED BY ','
SQL Loader supports various data formats like CSV, fixed-width, etc.
You can use options like ...
Procedure is used to perform an action, while function returns a value.
Procedure does not return a value, while function does
Functions can be used in SQL queries, procedures cannot
Functions can be called from SQL statements, procedures cannot
In performance tuning, init refers to the initialization parameter file used by Oracle Database to configure various settings.
init is a text-based configuration file that contains parameters to optimize the performance of Oracle Database.
It is used to set parameters such as memory allocation, parallel processing, and resource utilization.
By tuning the init file, developers can improve the overall performance of the dat...
Named and unnamed exceptions in PL/SQL with examples
Named exceptions are user-defined exceptions with specific names like 'custom_exception'
Unnamed exceptions are predefined exceptions like 'NO_DATA_FOUND' or 'TOO_MANY_ROWS'
Named exceptions can be raised using RAISE statement with the exception name
Unnamed exceptions are raised automatically by the system in case of errors
Example of named exception: DECLARE custom_exce...
Types of cursors include implicit, explicit, and parameterized cursors.
Implicit cursors are automatically created by Oracle when a SQL statement is executed.
Explicit cursors are defined by the programmer using the DECLARE, OPEN, FETCH, and CLOSE statements.
Parameterized cursors allow for dynamic SQL statements to be executed with different parameters.
SQL is a query language used to interact with databases, while PL/SQL is a procedural language extension for SQL.
SQL is used for querying and manipulating data in databases.
PL/SQL is used for writing procedural code like loops, conditions, and functions.
SQL statements are executed one at a time, while PL/SQL blocks can contain multiple statements.
PL/SQL can be used to create stored procedures, functions, and triggers i...
SQL is a structured query language used to communicate with databases. SQL extensions add additional functionality to the language.
SQL is a standard language used to interact with databases
SQL extensions like PL/SQL add procedural programming capabilities to SQL
PL/SQL is an extension of SQL used in Oracle databases
What people are saying about Infosys
I applied via Naukri.com and was interviewed before Jul 2021. There were 2 interview rounds.
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
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...
I applied via Approached by Company and was interviewed in Sep 2023. There were 3 interview rounds.
Window functions in SQL are used to perform calculations across a set of table rows related to the current row.
Window functions are used to calculate values based on a set of rows related to the current row.
They allow you to perform calculations without grouping the rows into a single output row.
Examples of window functions include ROW_NUMBER(), RANK(), and LAG().
Packages in PL/SQL are used to group related procedures, functions, variables, and other PL/SQL constructs together for better organization and security.
Packages help in modularizing code for easier maintenance and debugging
They provide encapsulation and hide implementation details
Packages can contain multiple procedures, functions, variables, cursors, and exceptions
They improve performance by reducing network traffic
E...
I applied via Naukri.com and was interviewed in May 2021. There were 3 interview rounds.
Procedures and functions are both PL/SQL program units, but they have some key differences.
Procedures do not return a value, while functions do.
Procedures can have OUT parameters to pass values back to the caller, while functions cannot.
Functions can be used in SQL statements, while procedures cannot.
Functions must return a value, while procedures do not necessarily have to.
Procedures are typically used for performing ...
Implicit cursors are automatically created by the Oracle server, while explicit cursors are explicitly declared by the programmer.
Implicit cursors are used for single-row queries, while explicit cursors are used for multi-row queries.
Implicit cursors are automatically opened, fetched, and closed by the Oracle server, while explicit cursors need to be manually opened, fetched, and closed by the programmer.
Implicit curso...
Soft parsing is reusing the existing execution plan while hard parsing is generating a new execution plan.
Soft parsing is faster as it avoids the overhead of generating a new execution plan.
Hard parsing is slower as it involves generating a new execution plan.
Soft parsing occurs when the SQL statement is already in the shared pool.
Hard parsing occurs when the SQL statement is not in the shared pool or needs a new execu...
RDBMS is a type of DBMS that stores data in a structured manner using tables with relationships.
DBMS is a software system that manages data stored in a computer's memory or disk storage.
RDBMS is a type of DBMS that uses a relational model to store data in tables with relationships.
RDBMS supports ACID properties (Atomicity, Consistency, Isolation, Durability) for data integrity.
Examples of RDBMS include Oracle, MySQL, S...
SQL query to find the nth highest salary
Use the ORDER BY clause to sort the salaries in descending order
Use the LIMIT clause to select the nth highest salary
SQL query to delete duplicate records from a table.
Use the DELETE statement with a subquery to identify and delete duplicate records.
The subquery should select the duplicate records based on the criteria for duplication.
Ensure to keep at least one copy of the duplicate records to avoid deleting all instances.
Delete is a DML operation that removes specific rows from a table, while truncate is a DDL operation that removes all rows from a table.
Delete is slower than truncate as it generates undo logs and triggers
Delete can be rolled back, while truncate cannot be rolled back
Delete operation maintains the integrity of the transaction log, while truncate operation does not
Delete operation fires delete triggers, while truncate o...
based on 4 interview experiences
Difficulty level
Duration
based on 21 reviews
Rating in categories
Bangalore / Bengaluru
5-10 Yrs
Not Disclosed
Technology Analyst
54.7k
salaries
| ₹4.8 L/yr - ₹10 L/yr |
Senior Systems Engineer
53.8k
salaries
| ₹2.5 L/yr - ₹6.3 L/yr |
Technical Lead
35.1k
salaries
| ₹9.4 L/yr - ₹16.4 L/yr |
System Engineer
32.5k
salaries
| ₹2.4 L/yr - ₹5.3 L/yr |
Senior Associate Consultant
31.3k
salaries
| ₹8.2 L/yr - ₹15 L/yr |
TCS
Wipro
Cognizant
Accenture