Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uniqueness of index PRIMARY is violated
Message
From
07/10/1998 13:09:51
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00144393
Message ID:
00144666
Views:
29
>>>So, is it the consenus then that it is a bad/dangerous thing to name my Primary index "PRIMARY"?
>>
>>This is an interesting discussion. I think we've all been in that situation once.
>>
>>More than that, we also have to think ahead. Which means, a word used in code, index definition, etc., might be available to use now but may become a reserved word for upcoming versions.
>
>While your comments imply I shouldn't use the word Primary as an index name, nobody has actually said so...
>The reason I ask is because the person who trained me says he does/did it all the time.

If it doesn't cause you any problem within your application or if you can find a workaround to fix unpexected behaviors related to whatever may be affected by the use of this word, then it might be ok for you to use it.

As for me, I would not use it. :)
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform