TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Verifying Sql Indexes Status
Karthik Puppala
Aug 29
2014
Code
1.1
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
Select
*
from
sys.indexes
where
object_id = (
select
object_id
from
sys.objects
where
name
=
'TABLENAME'
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'
)
SQL Server
Sql Server Queries
Sql Indexs