Reputation: 653
Using SQL Server Integration Service (SSIS)
2008, I created OLEDB Source
and filled the SQL Command
Filed with the following query:
select A,B,C from Table1;
select D,E,F from Table2;
but I have the invalid character error when press the preview button but the query runs perfect on Oracle SQL Developer
Upvotes: 1
Views: 1085
Reputation: 7979
Just change your command to
select A,B,TO_CHAR(C) as C from Table1
union all
select D,E,TO_CHAR(F) as F from Table2;
C
and F
fields have different datatypesUpvotes: 1