HomeForum
Welcome, Guest

Having 2 sources for the same destination.
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Having 2 sources for the same destination.

Having 2 sources for the same destination. 9 months, 3 weeks ago #3440

  • Christian
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Hello,
I am trying your product before purchasing it. What I am trying to do is import a lot of records from an excel file, the problem that I have is the following:
* I need to obtain some values from the TARGET database before inserting the rows from the excel. This would be like having 2 sources for the same destination. Imagine that you are going to insert CUSTOMERS but the credit limit amount is stored in some configuration table in your target database (MYSQL) and obviously I can't insert any row from the excel because of the database contraints.

I tried with lookup fields and I tried with SQL Check Data but I didn't know how to link the result of this SQL CHECK DATA BOX to be the input of the SOURCE of my transformation block that reads the excel and insert data into the MySql Table.
Addtionally, is there a posibility to have more that 1 source in the same transformation?
how could I merge the content from 2 or more sources (1 excel and 1 text file for example) into 1 destination?

Please advice
Christian

Re: Having 2 sources for the same destination. 9 months, 3 weeks ago #3441

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2183
  • Karma: 12
Christian

* I need to obtain some values from the TARGET database before inserting the rows from the excel. This would be like having 2 sources for the same destination. Imagine that you are going to insert CUSTOMERS but the credit limit amount is stored in some configuration table in your target database (MYSQL) and obviously I can't insert any row from the excel because of the database contraints.

Lookup is the best option for you.

Here is the tutorial

www.dbsoftlab.com/Documentation/Advanced...g-Lookup-Object.html

www.dbsoftlab.com/Documentation/A-Quick-...-and-Enterprise.html


Additionally, is there a possibility to have more that 1 source in the same transformation? how could I merge the content from 2 or more sources (1 excel and 1 text file for example) into 1 destination?

several options
a

1 add data from excel file to the text file
2 Perform additional transformations, load it into the database

b
1 Create separate file
2 Add data from excel file into it
3 Add data from Text file into it
4 Perform additional transformations, load it into the database

Best Regards
Mike,
DB Software Laboratory
  • Page:
  • 1
Time to create page: 0.16 seconds

Testimonials

"Using Active Table Editor is the easiest way of editing lookup tables  I've ever seen. A free 30-day trial is available on their Web site; the only issue is that when the 30 days are up, you're going to want to buy it."
- Moo Ling, Software Enginier

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