Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CREATE TABLE and regular index
Message
From
23/02/2004 10:28:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00879889
Message ID:
00879917
Views:
15
I think you have to give the index command separately. It seems there are commands for RI, which will implicitly create indices, but no specific indexing commands, in the SQL which VFP supports.

>Hi - maybe I am missing something but is there no way to create a regular index with a CREATE TABLE command?
>
>At moment I am doing this...
>
>
>CREATE TABLE test NAME test (id I, testfield C(60), UNIQUE id TAG iID)
>INDEX ON testfield TAG iTestField
>
>
>Thanks
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform