0% found this document useful (0 votes)
54 views4 pages

TCS Interview Questions

This document contains a list of interview questions for a TCS role covering topics like SQL, PL/SQL, databases, views, triggers, cursors, packages, exceptions, indexes, sequences and more. There are over 40 questions in two rounds related to roles and responsibilities, day-to-day activities, debugging code, SQL queries, stored procedures, materialized views, GTTs, indexes, sequences and other database concepts.

Uploaded by

Subhajit Kundu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views4 pages

TCS Interview Questions

This document contains a list of interview questions for a TCS role covering topics like SQL, PL/SQL, databases, views, triggers, cursors, packages, exceptions, indexes, sequences and more. There are over 40 questions in two rounds related to roles and responsibilities, day-to-day activities, debugging code, SQL queries, stored procedures, materialized views, GTTs, indexes, sequences and other database concepts.

Uploaded by

Subhajit Kundu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

TCS Interview questions

Round 1:
1. Tell me brief about yourself.

2. SLA & Dock Book explain

3. Table having a primary key column the same column we possible to add other constraints.

4. Differnce between decode & case.

5. Write down the index syntax. What is softpass?

6. How to create metrilized view refresh automatically?

7. Bulk bind sample program

8. Array table explained with syntax.

9. pipeline function purpose.

10. Write explain plan syntax.

11. What is DBMS utility?

12. Last development your current project?


Round 2:
1. What is the roles and responsibilities?

2. Tell me day to day activities?

3. In which environment you will debug the defect code?

4. What is view?Adavantage of using it?

5. Create view as v_name as select max(salary) from emp; can you edit this view? i.e; the
output can you update.

6. From where will you get the defect code? what do you meant by instead of keyword in
trigger?

7. Tell about the trigger applications you used on project?

8. what is cursor?Types of cursor? Difference between types.

9. Tell about explicit cursor attributes.


10. How will you check cursor is open?

11. Cursor defined


begin
update statement
End
How will you get the updated rows number?
12. Tell about packages? Advantages of package?

13. package spec


p1
p2
p4
package body
p1
p2
p3
will p3 & p4 work?
will this package be created?
what is p3?
will it be accessed from outside the package?

14.What is Exception? Tell me about system defined exception?

15.Declare var_frs emp.first_name% type


Begin
Select first_name into var_frs from emp where 1=2;
Exception
when others
print(1);
when no_data then
print(2);
when
print(3);
END;
Q: which exception will be handles?
If we replace the select statement with update which exception handled?

• 16.How will get the error message you declared?

• 17.Raise application error?

• 18.what is complex queries?

• 19.Tell me about materialized view.

• 20.Where GTT used in your project?

• 21.What is complex views?

• 22.Different between complex views & materialized views?

• 23.Subquery and its type?

• 24.Correalated sq Working.

• 25.Analytical function..Difference between rank and dense rank.

• 26.Stored procedure to print a year leap or not.


I^p date
Op statement.

• 27.what is instr function? give example.

• 28.Tell difference between replace & translate

• 29.Write a query to find 2nd max salary? what type of SQ it is?

• 30.Tell about bind SQL.

• 31.write a query to remove the dup values.

• 32.What is index?

• 33.why it is used?

• 34.Disadvantages of index.

• 35.How btree index will search?


• 36.Say for ex
For column having data from 1 to 100. Btree index created.
Deleted index created.
How about the data in column.whether it will rearrange? What happen to node value?

• 37.Tell about explain plan what are all you look into it?

• 38.What is sequence?

• 39.can we decrement the value in sequence?

• 40.Cycle keyword in sequence.

• 41.What about a cache?

• 42.How seq is sharable object?

• 43.What is invokers right?

• 44.Team size?

You might also like