Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALTER TABLE dropping index
Message
De
24/04/2014 07:28:57
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
24/04/2014 07:17:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01598940
Message ID:
01598947
Vues:
57
>Hi,
>
>Is this a known issue (not mentioned in the docs AFAICS):
>
>I'm issuing the following:
>
>ALTER TABLE Printers ALTER COLUMN DeviceName C(250)
>
>There's a regular index on this field (which initially has a length of 40)
>
>I get an 'Invalid key length' message box but the field length is altered and *the index is dropped* !
>
>Surely it should completely reject the change ?


In SQL, it should. In VFP, the max length of the index is 240 with machine collate, 120 with other collation sequences.

In a way it makes sense, but I'm as surprised as you are.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform