Solved

How to create an index on a pervasive database table

Posted on 2010-09-06
1
1,643 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now