Solved

How to create an index on a pervasive database table

Posted on 2010-09-06
1
1,724 Views
Last Modified: 2012-05-10
Hello.

I have a Pervasive.SQL V10 database with a table that needs a new index.

I can create the index using the CREATE INDEX statement... but does this also populate the index or do I have to run a seperate command to do that?

Thanks.
0
Comment
Question by:soozh
1 Comment
 
LVL 18

Accepted Solution

by:
mirtheil earned 500 total points
ID: 33611354
The CREATE INDEX statement will add the index to both the underlying data file and the DDF definitions making it available in both Btrieve and SQL.  If you add the "IN DICTIONARY" clause to the CREATE INDEX statement, only the dictionary definition is changed and does not affect the Btrieve file.  

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question