dav_i
dav_i

Reputation: 28137

Check if column is indexed

Is there a way in SSMS to check if a column is indexed?

The reason I ask is because I am thinking of changing a varchar(500) to varchar(MAX) and have read that if the column is indexed then you cannot insert data greater than 900b. I want to make sure that this won't be a problem.

Upvotes: 3

Views: 1195

Answers (1)

Mihai
Mihai

Reputation: 26794

USE database;
EXEC sp_helpindex 'yourTable';

Upvotes: 5

Related Questions