I'm creating sql code for importing data from oracle dynamic and store this code in ssis variable. In source in data flow task i put SQL command from variable and everything works fine, BUT if i get error on source (retrieving date from oracle is managed through views and sometimes views have problems) in ssis i'm getting generic error:
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Oracle Core source" (1943) returned error code 0xC0202009. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.
If i'm using hardcoded sql code in source in data flow task then i'm getting full error (in this case it was ORA-01427: single-row subquery returns more than one row).
Is there any way to get nice, clear error description if i'm using SQL command from variable in source from oracle in data flow task?
Tnx in advance