Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Metadata issue in SSIS package Expand / Collapse
Author
Message
Posted Friday, October 9, 2009 10:22 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, November 11, 2009 8:59 AM
Points: 14, 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
Post #800929
Posted Friday, October 9, 2009 10:43 AM


SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Yesterday @ 5:18 PM
Points: 406, Visits: 965
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.
Post #800947
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse