dbTalk Databases Forums  

how overwrite table when exporting to Access

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


Discuss how overwrite table when exporting to Access in the microsoft.public.sqlserver.dts forum.



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

Default how overwrite table when exporting to Access - 05-05-2004 , 07:06 PM






Hi

I have successfuly exported a table to an existing Access
database table but need to overwrite the existing table in
Access rather than it appending the data each time as it
is doing now. I have looked and looked for an overwrite
option but cannot find... Am using SQL2000.

thanks in advance
Alison

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: how overwrite table when exporting to Access - 05-06-2004 , 12:41 AM






Why not then use an ExecuteSQL task that points to the Access DB and then
issue DROP TABLE <tablename>. You can then issue a CREATE TABLE statement.

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Alison Towerton" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi

I have successfuly exported a table to an existing Access
database table but need to overwrite the existing table in
Access rather than it appending the data each time as it
is doing now. I have looked and looked for an overwrite
option but cannot find... Am using SQL2000.

thanks in advance
Alison



Reply With Quote
  #3  
Old   
Rand Boyd [MSFT]
 
Posts: n/a

Default RE: how overwrite table when exporting to Access - 05-06-2004 , 10:01 AM



If all yoir doing is copying the table in the package you can use the
Export Wizard to export to Access. This will give you the option to drop
the table in the Transformation dialog box.

Rand

This posting is provided "as is" with no warranties and confers no rights.


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.