Filter interviews by
Clear (1)
Reference cursor in procedure is used to return result sets from a stored procedure.
Declare a cursor variable in the procedure using TYPE keyword
Open the cursor variable using OPEN keyword
Fetch data from the cursor using FETCH keyword
Close the cursor using CLOSE keyword after fetching all data
Lead and lag functions are used to access data from a subsequent or previous row in a result set.
Lead function is used to access data from the next row in the result set.
Lag function is used to access data from the previous row in the result set.
Both functions can be used to compare values between rows or calculate differences.
Yes, you can update in a function in Oracle SQL and PLSQL.
You can use the UPDATE statement within a PLSQL function to update data in a table.
Make sure to commit the changes using COMMIT statement.
Example: CREATE OR REPLACE FUNCTION update_employee_salary(emp_id IN NUMBER, new_salary IN NUMBER) RETURN NUMBER IS BEGIN UPDATE employees SET salary = new_salary WHERE employee_id = emp_id; COMMIT; RETURN 1; END;
No, you cannot commit in a trigger as it can cause mutating table errors.
Triggers cannot contain COMMIT or ROLLBACK statements.
Committing in a trigger can lead to mutating table errors.
Instead, use triggers for data validation, not for committing transactions.
Autonomous transaction is a separate transaction that is independent of the main transaction.
Autonomous transactions are used to perform certain tasks independently of the main transaction.
They are useful for logging, auditing, or error handling purposes.
Autonomous transactions are started with the PRAGMA AUTONOMOUS_TRANSACTION statement.
Changes made in an autonomous transaction are not visible to the main transaction ...
I applied via Naukri.com and was interviewed in Jul 2020. There were 4 interview rounds.
I applied via Job Portal and was interviewed before Apr 2021. There was 1 interview round.
Solid principles are a set of design principles for writing maintainable and scalable code in C#.
Single Responsibility Principle (SRP) - a class should have only one reason to change
Open/Closed Principle (OCP) - a class should be open for extension but closed for modification
Liskov Substitution Principle (LSP) - derived classes should be substitutable for their base classes
Interface Segregation Principle (ISP) - client...
I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.
I applied via Company Website and was interviewed in Oct 2018. There was 0 interview round.
I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.
I applied via LinkedIn and was interviewed before Dec 2020. There was 1 interview round.
C++ is an extension of C with object-oriented programming features.
C++ supports object-oriented programming while C does not.
C++ has classes and templates while C does not.
C++ has better support for function overloading and default arguments.
C++ has a standard library that includes many useful functions.
C++ allows for both procedural and object-oriented programming.
C++ is generally considered to be a more complex langu
I applied via Naukri.com and was interviewed before Dec 2020. There were 3 interview rounds.
based on 1 interview
Interview experience
Senior Consultant
3.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Lead Consultant
3.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Consultant
3.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
3.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Consultant
2.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Cognizant
TCS
Infosys
Accenture