I am creating a SQL Script that will indexes on some columns for many different clients. They may or may not have indexes to the column that I have specified. Is there a way in the script to check if the column has an index no matter what name?
Example Table SalesPerson has two columns.
PK
Name
I want to index Name but the client might already have Name indexed and I don't want to create another index if exist.
Thanks for any help you can give,
lwrcasep
Example Table SalesPerson has two columns.
PK
Name
I want to index Name but the client might already have Name indexed and I don't want to create another index if exist.
Thanks for any help you can give,
lwrcasep