where object_id = (select object_id from sys.objects where name = 'TABLENAME')
SQL
This query will list all tables without an index:
select * from sys.indexes where object_id = (select object_id from sys.objects where name = 'MYTABLE')View All Indexes in a Table (SQL Server Management Studio)
This query will list all tables without an index:
select * from sys.indexes where object_id = (select object_id from sys.objects where name = 'MYTABLE')
Join the conversation! Your thoughts help the community grow.