![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
For my case, i want to check if dun have data exist in the Rewards_CatalogProducts_CS table, then the data from rd_awards will be transform into Rewards_CatalogProducts_CS. If Rewards_CatalogProducts_CS table already exist data inside, then this step will also run but will not return any error message. Actually i have 4 steps in DTS, this step is the 3rd step, if this step return an error message, then it will not run the 4th step. Below is my syntax: if not exists (select * from Rewards_CatalogProducts_CS) begin SELECT catalog_code, category_code, status, supplier_id, description, start_date, end_date, points_value, supplier_ref, cash_value FROM rd_awards where len(catalog_code) = 15 end The error message i get is: Error Source : Microsoft Data Transformation Services (DTS) Data Pump Error Description : Invalid pointer |
#3
| |||
| |||
|
|
For my case, i want to check if dun have data exist in the Rewards_CatalogProducts_CS table, then the data from rd_awards will be transform into Rewards_CatalogProducts_CS. If Rewards_CatalogProducts_CS table already exist data inside, then this step will also run but will not return any error message. Actually i have 4 steps in DTS, this step is the 3rd step, if this step return an error message, then it will not run the 4th step. Below is my syntax: if not exists (select * from Rewards_CatalogProducts_CS) begin SELECT catalog_code, category_code, status, supplier_id, description, start_date, end_date, points_value, supplier_ref, cash_value FROM rd_awards where len(catalog_code) = 15 end The error message i get is: Error Source : Microsoft Data Transformation Services (DTS) Data Pump Error Description : Invalid pointer |
![]() |
| Thread Tools | |
| Display Modes | |
| |