SSIS: how to reset metadata


When working with SSIS and source or destination metadata changes SSIS does not reset the metadata it deletes the changed column and adds a new one at the end of the list. This results in messy packages after several changes have occurred.


To reset the metadata on data sources

  1. In the OLE DB Source, never select a table from the drop down box, always use a select query;
  2. To refresh the metadata in the source in this case, replace the select statement with select a = 1. Then, after the metadata is refreshed, paste back your original statement.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s