HomeForum
Welcome, Guest

I need to import/update data in an MS SQL database... I think your software may be what I need, but.
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: I need to import/update data in an MS SQL database... I think your software may be what I need, but.

I need to import/update data in an MS SQL database... I think your software may be what I need, but. 1 year, 2 months ago #2112

  • Todd
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
Here's what I need to do:

I have a remote MSSQL database for our ecommerce site.

I need to frequently take a data file that is the updated prices for all the products and import it into the database to update the product's prices.

The source data if just

[productID]{tab}[Price]

The target data is in a table called [database].[dbo].[bvc_Product]

I downloaded your Visual Importer and installed it.

I got it hooked up to our database, I set up the destination table, set up the source file, and did the mapping.

When I run the import, all I get is errors/rejects.

I'm guessing that there is a switch somewhere were I tell your tool that I want it to update records, not create new ones. I'm guessing that in this case the import is failing because it's trying to create new records that have ID that already exist.

Can you help me out here? If I can get it to work for me, I'll buy it!

Regards,

Todd

Re: I need to import/update data in an MS SQL database... I think your software may be what I need, but. 1 year, 2 months ago #2113

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2191
  • Karma: 12
Todd.

You need to do the following
1. Click Transformation and choose Update records
2. Specify your update key fields
(Update key Check box at the bottom of the mapping panel)

to get you better understanding consider sql statement below
update prices
set price=:price
where price_id=:price_id
Price_id is Your update key

Mike

Re: I need to import/update data in an MS SQL database... I think your software may be what I need, but. 1 year, 2 months ago #2114

  • Todd
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
Specify your update key fields

>>>> What do you mean by this?

Update key Check box at the bottom of the mapping panel)

Re: I need to import/update data in an MS SQL database... I think your software may be what I need, but. 1 year, 2 months ago #2115

  • Todd
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
Hmmm...

So in my case where my source data is
[productID]{tab}[Price]

In the destination data area, I would place a check mark next to productID in the Key field and check the Update Key in the mapping screen?

In case you haven't noticed, I'm one of the people that was attracted to your statement:

This version was especially designed for none technical people.

I know what SQL stands for, and that's about it.

Todd

Re: I need to import/update data in an MS SQL database... I think your software may be what I need, but. 1 year, 2 months ago #2116

  • Todd
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
Got it to work. Yea!

Thanks a lot
  • Page:
  • 1
Time to create page: 0.18 seconds

Testimonials

"Because of our relationship with DBSL, We are able to provide more complete solutions for our customers. As one of our key technology partners, DBSL is always willing to go that extra mile: adding new functionality, assisting us with support issues ... and this has been an important part of our success."

Bill Dill,
Deployment Manager

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top