Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
YAQ on Create Index Script
Message
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Indexation
Titre:
YAQ on Create Index Script
Versions des environnements
SQL Server:
SQL Server 6.5 and older
Application:
Web
Divers
Thread ID:
01575007
Message ID:
01575007
Vues:
43
Hi,

To create an index from VFP application I can execute the following script:
CREATE NONCLUSTERED INDEX [MyIndex]
ON [dbo].[tablename] ([rec_id])
However, when I create an index script in SSMS the script includes the following:
CREATE NONCLUSTERED INDEX [MyIndex] ON [dbo].[tablename] 
(
	[MyIndex] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
My question is, do I need (is it necessary) to add the ASC and the line WITH.. with all the settings when creating an index from VFP?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform