Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Autocreate for Template Table if it doesn't exist

$
0
0

Hello.

 

I have a Data Services Project and I face a problem:

I use Template Table, and at the first time of the job execution the table is auto created. But if I delete the table from the database (or change the database of the datastore to another that doesn't have such table)  and execute the package again then it doesn't autocreate it and I get the error:

" Invalid object name 'TableName' ".

 

Furthermore, I don't want to check the "Drop and recreate" option, because I 've placed it in a while loop in order to get data from different tables (with the same schema).

 

This is a problem for me because I want to create the package once and execute it for different new target databases.

 

Is there a solution for my problem?

 

Thanks in advance for your help,

Nicholas


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>