Hi there!
i really need to fix this one -- I have several SQL statements that need to be run on ODBC stage but it only executes the first one. I've set it to user-defined SQL, by the way. Is this really not possible?
Here is the sample of the SQL i want to run in ODBC Stage:
First, i need to create the view, then execute select, after that i need to drop the view..
create view View01 as
select Col01,
Col02,
Col03
from Table01;
select View01.Col01,
Table02.Col01,
Table02.Col02,
Table02.Col03,
from Table02, View01
where View01.Col03 = Table02.Col03
order by Table02.Col02
drop view View01;
would anyone have any suggestion?
thanks!
Mai
i really need to fix this one -- I have several SQL statements that need to be run on ODBC stage but it only executes the first one. I've set it to user-defined SQL, by the way. Is this really not possible?
Here is the sample of the SQL i want to run in ODBC Stage:
First, i need to create the view, then execute select, after that i need to drop the view..
create view View01 as
select Col01,
Col02,
Col03
from Table01;
select View01.Col01,
Table02.Col01,
Table02.Col02,
Table02.Col03,
from Table02, View01
where View01.Col03 = Table02.Col03
order by Table02.Col02
drop view View01;
would anyone have any suggestion?
thanks!
Mai