Add office photos
Cognizant logo
Engaged Employer

Cognizant

Verified
3.7
based on 50.6k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Plsql Developer
Experienced
Clear (1)

Cognizant Plsql Developer Interview Questions and Answers

Updated 5 Feb 2024

Q1. Write a sql to delete duplicate records from a table

Ans.

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.

View 7 more answers
right arrow

Q2. Difference between soft parsing and hard parsing of sql

Ans.

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 execution plan.

  • Soft parsing saves CPU and memory resources.

  • Hard...read more

View 2 more answers
right arrow

Q3. Difference between implicit and explicit cursor

Ans.

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 cursors are less flexible and have limited control, while expli...read more

View 2 more answers
right arrow

Q4. Difference between Procedure and function

Ans.

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 actions, while functions are used for calculations or data...read more

View 4 more answers
right arrow
Discover Cognizant interview dos and don'ts from real experiences

Q5. Write a sql to find nth highest salary

Ans.

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

View 1 answer
right arrow

Q6. Difference between rdbms and dbms

Ans.

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, SQL Server, and PostgreSQL.

  • Examples of DBMS include MongoDB...read more

Add your answer
right arrow

Q7. Difference between delete and truncate

Ans.

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 operation does not

  • Delete operation can have a WHERE clause ...read more

View 1 answer
right arrow

More about working at Cognizant

Back
Awards Leaf
AmbitionBox Logo
Top Rated Mega Company - 2024
Awards Leaf
Awards Leaf
AmbitionBox Logo
Top Rated IT/ITES Company - 2024
Awards Leaf
HQ - Teaneck. New Jersey., United States (USA)
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Cognizant Plsql Developer

based on 1 interviews
1 Interview rounds
Technical Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Plsql Developer Interview Questions from Similar Companies

TCS Logo
3.7
 • 36 Interview Questions
Infosys Logo
3.6
 • 17 Interview Questions
Mphasis Logo
3.4
 • 13 Interview Questions
Accenture Logo
3.8
 • 10 Interview Questions
View all
Recently Viewed
COMPANY BENEFITS
ICICI Bank
Junagadh
1 benefits
COMPANY BENEFITS
ICICI Bank
Kakinada
6 benefits
SALARIES
ICICI Bank
SALARIES
PNB MetLife
SALARIES
Deutsche Bank
COMPANY BENEFITS
ICICI Bank
No Benefits
COMPANY BENEFITS
ICICI Bank
No Benefits
SALARIES
Kotak Mahindra Bank
SALARIES
ICICI Bank
SALARIES
AU Small Finance Bank
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter