Re: How to generate drop and recreate index script in SQL Manageme
- From: "Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx>
- Date: Fri, 30 Mar 2007 19:58:09 -0400
If you are just talking about the index by itself it may not. I would have
to try that. But you said tables and their indexes. When you drop the table
the corresponding indexes get dropped as well.
--
Andrew J. Kelly SQL MVP
"Moh" <mabbas@xxxxxxxxx> wrote in message
news:4DF047CC-622D-46AA-ABD6-169D312F4C16@xxxxxxxxxxxxxxxx
you think so. did you tyry it out. I do have SP2 and it does not give
option
to drop index unless I am missing which you know
--
Sr DBA
Pier 1 Imports
mabbas@xxxxxxxxx
"Andrew J. Kelly" wrote:
Well assuming you have SP2 loaded you can do this from SSMS by generating
a
script similar to how it was done in 2000. Right click ont he db and
choose
Tasks - Generate Scripts.
--
Andrew J. Kelly SQL MVP
"Moh" <mabbas@xxxxxxxxx> wrote in message
news:66ED2530-32D6-46F9-9609-7CAE6D9A268E@xxxxxxxxxxxxxxxx
I am wondering it was so simple to create the script in SQL2000. How can
we
generate the a script to drop and recreate the tables and associated
indexes
in SQL management studio 2005
Thx,
--
Sr DBA
Pier 1 Imports
mabbas@xxxxxxxxx
.
- References:
- Re: How to generate drop and recreate index script in SQL Management S
- From: Andrew J. Kelly
- Re: How to generate drop and recreate index script in SQL Management S
- Prev by Date: Re: How to generate drop and recreate index script in SQL Management S
- Next by Date: Re: sql server2000; TCP/IP vs Named Pipes
- Previous by thread: Re: How to generate drop and recreate index script in SQL Management S
- Next by thread: Re: sql server2000; TCP/IP vs Named Pipes
- Index(es):
Relevant Pages
|