SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Script Library
 Creation script for an index
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

okalosha
Starting Member

4 Posts

Posted - 10/27/2005 :  21:35:27  Show Profile  Reply with Quote
Hi -

I could not find an SQL script, which would generate index creation DDL for a specific table/index. Query Analyzer does it, but I need to do it programmatically. Does anyone have a working script?
Thank you.

activecrypt
Posting Yak Master

Germany
165 Posts

Posted - 10/28/2005 :  03:06:25  Show Profile  Visit activecrypt's Homepage  Send activecrypt a Yahoo! Message  Reply with Quote
Hi,
didnt get you onthis !

if INDEX CAN BE GENERATED FROM EM then it can be generated by SCRIPT To , have you read BOL for * CREATE INDEX * .



HTH


-----------------------------------------------------------
MSSQL Server encryption software http://www.activecrypt.com
Go to Top of Page

madhivanan
Premature Yak Congratulator

India
22742 Posts

Posted - 10/28/2005 :  03:32:53  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
This is the forum to contribute workable scripts
Hereafter post your questions at relevent forums like "Developer Forum"

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

okalosha
Starting Member

4 Posts

Posted - 10/28/2005 :  12:59:53  Show Profile  Reply with Quote
I am moving this topic to "Developer" folder
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000