January 25, 2016 at 2:28 pm
Hi:
SSIS 2010 fairly simple process, had to hardcode flat file source and OleDb Destinations.
Note: Entire package has delayed validation = TRUE
Want to move to variables so the package does not need to change when environment it's in
changes.
Problem(s): Oledb: When I change the connection manager to one with variables, the table blanks out
and looses all information about the table.
Flat File Source: Does basically the same thing.
How do I get this behavior to cease ?
Thanks
January 25, 2016 at 2:59 pm
rsampson (1/25/2016)
Hi:SSIS 2010 fairly simple process, had to hardcode flat file source and OleDb Destinations.
Note: Entire package has delayed validation = TRUE
Want to move to variables so the package does not need to change when environment it's in
changes.
Problem(s): Oledb: When I change the connection manager to one with variables, the table blanks out
and looses all information about the table.
Flat File Source: Does basically the same thing.
How do I get this behavior to cease ?
Thanks
How are you changing the connection manager to "one with variables"?
What are you storing in the variable?
Does the variable have the correct information when you make the change?
For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]
January 26, 2016 at 5:52 am
rsampson (1/25/2016)
Hi:SSIS 2010 fairly simple process, had to hardcode flat file source and OleDb Destinations.
Note: Entire package has delayed validation = TRUE
Want to move to variables so the package does not need to change when environment it's in
changes.
Problem(s): Oledb: When I change the connection manager to one with variables, the table blanks out
and looses all information about the table.
Flat File Source: Does basically the same thing.
How do I get this behavior to cease ?
Thanks
Set your variables' initial/default values to point to 'real' files and servers. These values will allow the metadata to be retrieved as usual and will, of course, be overwritten at run time based on whatever logic you have put in place.
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin
January 26, 2016 at 6:37 am
From Data flow, Flat File source, edit, changing connection manager from one with hardcoded values to one with variables (delayed validation enabled). When I do, it picks up different values for the columns. Same for the OLE DB Destination, wipes out working definitions.
None of the variables have definitions till runtime.
January 26, 2016 at 6:55 am
None of the variables have definitions till runtime.
As I suggested; give them values.
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply