Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALTER TABLE dropping index
Message
De
24/04/2014 10:41:42
 
 
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:
01598974
Vues:
31
>>>>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 ?
>>>
>>>Probably a bug. You may want drop the index yourself.
>>
>>Can't drop the index - existing code would blow up. I'm just going to content myself with keeping the field length below the 240 limit ......
>
>I meant before changing the length, change the length, then restore the index (within the allowed length).

If the change is within the allowed length then it doesn't drop the index anyway.....
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform