Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2003
    Location
    Michigan
    Posts
    1,941

    Unanswered: Sending SQL data to Access

    I've created a "data warehouse" for the Access users in my area. I take
    data from SQL Server, and write it to a network access DB using DTS.
    I don't want to link to the tables, I really need to put the data in an access
    format. The problem I'm having is that I'm appending the data and not overwriting it. Is it possible to truncate those table before importing?
    Do I have to use ActiveX Script to accomplish this?

    Thanks
    Mark
    Inspiration Through Fermentation

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    IF wizard THEN
    On the Select Source Tables and Views in the DTS wizard, if you hit the transform button there is an option to delete rows in the table.

    IF DESIGNER
    I forget exactly but you probably have to right click on the task and go to properties somewhere.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  3. #3
    Join Date
    Jan 2003
    Location
    Massachusetts
    Posts
    5,800
    Provided Answers: 11
    In the data pump task, there is usually a "delete or append" option. But this may only be for SQL Server to SQL Server transfers. I have never tried to move data to MS Access.

  4. #4
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    BTW, being a Virgina native (in an area filled with carpetbaggers) I thought rednecks perferred whiskey and moonshine. I personally perfer the term "good old boy".
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  5. #5
    Join Date
    Jul 2003
    Location
    Michigan
    Posts
    1,941
    aaahhhh ... the old "use the wizard" trick. I see how to do it now. I didn't know I could execute sql tasks against an access app using DTS.

    Quote Originally Posted by Thrasymachus
    BTW, being a Virgina native (in an area filled with carpetbaggers) I thought rednecks perferred whiskey and moonshine. I personally perfer the term "good old boy".
    I grew up in Va: Fairfax High - class of (a very long time ago)
    The geek side of me likes Scotch, and none of the cheap stuff!
    The redneck side can still be found swillin beer and watching short track racing on Friday night!
    Inspiration Through Fermentation

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •