dbTalk Databases Forums  

Compact Access MDB from DTS Package

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Compact Access MDB from DTS Package in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andy
 
Posts: n/a

Default Compact Access MDB from DTS Package - 04-16-2004 , 08:18 AM






How would you do the following in a DTS package if MS
Access was not installed on the server?

Set obj = CreateObject("Access.Application.9")
obj.DbEngine.CompactDatabase strPathToMDB ,strTempDB

Is there another object used by dts to work with Access
databases that would allow the database to be compacted.

Last step in the package. Would be nice to do final clean
up.

Thanks


Reply With Quote
  #2  
Old   
Sue Hoegemeier
 
Posts: n/a

Default Re: Compact Access MDB from DTS Package - 04-16-2004 , 08:45 AM






Take a look at the following article:
HOWTO: Compact Microsoft Access Database Through ADO
http://support.microsoft.com/?id=230501

-Sue

On Fri, 16 Apr 2004 06:18:18 -0700, "Andy"
<akerns (AT) ers (DOT) usda.gov> wrote:

Quote:
How would you do the following in a DTS package if MS
Access was not installed on the server?

Set obj = CreateObject("Access.Application.9")
obj.DbEngine.CompactDatabase strPathToMDB ,strTempDB

Is there another object used by dts to work with Access
databases that would allow the database to be compacted.

Last step in the package. Would be nice to do final clean
up.

Thanks


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.