Hello all,
I have a table, schema for the table has been shown below:
Create Table Employee(
EmployeeID int NOT NULL,EmployeeName varchar(255) NOT NULL,JoinDate datetime Not NULL)
Index Structure:
Clustered Index on EmployeeID
Non-Clustered Index on EmployeName
I am execution a T-SQL query that is :
select count(*) from Employee
During the execution of this query which index will be used any why?
Thanks in advance
Pankaj Kumar Yadav-