Solved

Deleting Pervasive SQL Records

Posted on 2007-11-28
1
1,622 Views
Last Modified: 2008-02-26
I am using an ODBC connection to a Pervasive SQL table.  I use a SQL statement to delete certain records from the table.  When I a finished the records are deleting correctly but the table is now twice the size as it was before.  Is there some utility or command that should be run after deleting records to reclaim space in the table?
0
Comment
Question by:pwiginton
1 Comment
 
LVL 18

Accepted Solution

by:
mirtheil earned 125 total points
ID: 20367916
Actually, the space will be reclaimed as new records are added.  If you need the space back sooner, you can use the Rebuild Utility or BUTIL.  Using BUTIL, you would CLONE then COPY the data.  Rebuild works on the actual file so you'd want everyone out of the system when you do it.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Trigger usage 2 75
free version of MSSQL for over 10GB DB 19 69
Database Design Dilemma 6 58
What does it take to create an installation.exe windows based. 2 40
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…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

808 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