Click here to Skip to main content
16,020,677 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hello everyone my name is kamal..
i have one access problem..
i have one access database when i delete the file table record but the file size not reduce so please tell me any sql command that work same like truncate command in sql...

please,i need only sql command if any.
Posted

1 solution

If I understand you correctly you need the compacting "feature" of access.

When deleting a table / data in access the physical size of the mdb file will not reduce (it might even increase) because access keeps record of this (or something).

Check if these can help you:

http://bytes.com/topic/access/answers/189603-compress-access-db[^]

http://www.codeproject.com/Messages/3305680/Error-occur-when-Access-Database-compress.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900