Using ruby to transfer and clean data between databases

Discussion in 'Ruby' started by Richard Dowden, Oct 24, 2007.

  1. Hi all,

    I have some data in an access database and I want to move this to my new
    SqlServer2005 database. However the schema of the database has changed
    significantly, it's been normalised and various tables have been added,
    so the data won't fit in exactly without first being 'cleaned' so to

    I was just wondering whether you think I could write some kind of ruby
    script to automate some of it, whether anyone has done something
    similar, or if there's a better way of doing this.

    Fairly open question I know, but I want to know how others would go
    about doing this before I embark upon it.

    Richard Dowden, Oct 24, 2007
    1. Advertisements

  2. I was going to write the same. Additional info: DTS allows you to do
    arbitrary transformations using a scripting language. Last time I
    looked JavaScript and VisualBasic were supported. Since this is
    integrated into DTS I'd say this is probably a better choice.

    Kind regards

    Robert Klemme, Oct 24, 2007
    1. Advertisements

  3. Ok, I think i'll be looking into doing that then. I believe DTS is
    called 'Integration Services' in SQL server 2005 correct? I think I'll
    need to install it off the cd as I can't find it in it's start group.

    Thanks for the help.
    Richard Dowden, Oct 24, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.