SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Metadata issue in SSIS package


Metadata issue in SSIS package

Author
Message
SMAZ-429882
SMAZ-429882
Valued Member
Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)Valued Member (54 reputation)

Group: General Forum Members
Points: 54 Visits: 63
Hi All,

I developed and deployed SSIS package on a server for copying selected data from one table to another table. In the source table, I changed the length of a field according to the need and made the same change in destination table too.

Example:
Source Table
Tableone
FieldOne VARCHAR (10) to VARCHAR (50)

Destination Table
TableTwo
FieldOne VARCHAR (10) to VARCHAR (50)


When the SSIS package executed it throw an error...
I didn't found alternate for updating metadata in the SSIS package. So I redeploy the package.
Is there a way a refresh/update metadata with redeployment?

Help in this regard would be highly appreciated!

Thanks
Tom Van Harpen
Tom Van Harpen
SSC Eights!
SSC Eights! (932 reputation)SSC Eights! (932 reputation)SSC Eights! (932 reputation)SSC Eights! (932 reputation)SSC Eights! (932 reputation)SSC Eights! (932 reputation)SSC Eights! (932 reputation)SSC Eights! (932 reputation)

Group: General Forum Members
Points: 932 Visits: 1102
What your suggesting isn't possible. If you change the data souce / destination you need to open the project and update the components. Mainly because SSIS is very strick on metadata. When it runs it validates the data sources, tables, fields, data types, lengths, etc...
All that is stored in the package dtsx file and if it doesn't match it won't run. This is why there is no way to specify dynamic data source / destination. This is also why the data flows are so fast.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search