Companywise Interview Questions
L&T Interview Questions - 2
- Difference between IN and IF EXISTS?
- What will be the Result of AVG() if any records have NULL values.
- Explain #Tables concept in detail with example? Have you implemented this in your project? If yes, then how?
- Variables in SQL? Types and USes?
- Difference between ROW_NUMBER(), RANK() and DENSE_RANK() with example
- One major difference between DELETE and TRUNCATE
- Major difference between WHERE and HAVING
- Explain below scenario about DELETE and TRUNCATE
A table has 5 records in it and the column is an identity column.
If we delete all records from the table and Insert record again. What will be the value in identity column?
If we delete all records from the table and Insert record again. What will be the value in identity column?
If we truncate the table and Insert record again. What will be the value in identity column?
- Difference between CTE and Stored Procedures? Why we need SP and CTE?
- What is a Surrogate Key? What are the different Constraints available in SQL Server? Explain them with their use.
- Can we call Stored Procedure via “select *”?
Post a Comment
0 Comments