Compacting a Database

Smee

Well-Known Member
Licensed User
Longtime User
Does anyone know of a way to do this from within B4ppc or is there an external program that could be run from within B4PPC

Thanks

Joe
 

Cableguy

Expert
Licensed User
Longtime User
You can delete all the empty alocated space from the database, using the "Vacuum" command...
this does not compact the database, but can shrink it a lot, especially if you use a lot of blobs....
 

a_carignan

Member
Licensed User
Longtime User
I have to create the order
sql1.ExecnonQuery("vacuum")
but at the time of l' execution it marks a error; writing/Reading on the disc.
:sign0163:
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…