Solved

More things like SP_HELPTEXT

Posted on 2011-02-15
3
546 Views
Last Modified: 2012-05-11
I used SP_HELPTEXT to return stored procedure scripts...

Is there a way in which I can quickly return INDEX definition scripts?
0
Comment
Question by:Mr_Shaw
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
rushShah earned 500 total points
ID: 34895997
try this.


EXEC sp_helpindex 'tableName'

Open in new window

0
 
LVL 8

Assisted Solution

by:rushShah
rushShah earned 500 total points
ID: 34896008
for ex.


USE AdventureWorks;
GO
EXEC sp_helpindex 'Person.Contact'
GO

Open in new window

0
 

Author Closing Comment

by:Mr_Shaw
ID: 34896557
thanks..
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now