![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
We have done a refactor of an access db to a sql db. I need to somehow keep the data from access in sink with sql, however one of the problems is that the tables in access are single fields ie. category->shoes. During our refactor we made these table have pk so the are now CategoryID->1 and CategoryName->Shoes. The access table for a product stores shoes for the categoryID. The SQL table for a product stores 1 for categoryID Is there a method when pulling over the access info to find out what numeric ID should go into the SQL table based on the text stored in the access category. Hope that all made sense. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Ok figured this much out. I should be using the Lookup transforms. I just keep having problems as the access db is as DB_WSTR and the sql is DB_STR. so it moans about data type being incorrect. "Wayne Van Rooyen" wrote: We have done a refactor of an access db to a sql db. I need to somehow keep the data from access in sink with sql, however one of the problems is that the tables in access are single fields ie. category->shoes. During our refactor we made these table have pk so the are now CategoryID->1 and CategoryName->Shoes. The access table for a product stores shoes for the categoryID. The SQL table for a product stores 1 for categoryID Is there a method when pulling over the access info to find out what numeric ID should go into the SQL table based on the text stored in the access category. Hope that all made sense. |
![]() |
| Thread Tools | |
| Display Modes | |
| |