Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change a key value
Message
 
À
24/09/2008 16:17:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01350332
Message ID:
01350342
Vues:
23
>>>I have a table where the key field is index a candidate index and field a want change is a regular index. I get the message
>>>
>>>Failed to update table,  Unique index violation
>>>
>>>The error number is 1884. How do I change the second value, i,e, from a "B" to an"A"?
>>
>>No, you want to update a field that is involved in Primary or Candidate index :-)
>>And that violates the rule.
>
>I know why I get the message, my question is there a way around the problem,

Not if it violates the uniqeness of the key. You would have to make the index a regular index - not primary or candidate.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform