G
Guest
I have the following code:
OracleCommand cmd = new OracleCommand( sql, connection );
cmd.ExecuteNonQuery();
Whenever I try to execute the following SQL, which works fine in Oracle's
SQL tool, I get the invalid character error. I tried removing the semicolon,
but then I got a different error.
truncate table tmp_as_stock;
insert into tmp_as_stock (
ITEM
, MODEL
, TYPE
)
select
ITEM
, MODEL
, TYPE
from
source.CI_STOCK
Any ideas? Is it possible to execute multiple statements with
ExecuteNonQuery or other function?
OracleCommand cmd = new OracleCommand( sql, connection );
cmd.ExecuteNonQuery();
Whenever I try to execute the following SQL, which works fine in Oracle's
SQL tool, I get the invalid character error. I tried removing the semicolon,
but then I got a different error.
truncate table tmp_as_stock;
insert into tmp_as_stock (
ITEM
, MODEL
, TYPE
)
select
ITEM
, MODEL
, TYPE
from
source.CI_STOCK
Any ideas? Is it possible to execute multiple statements with
ExecuteNonQuery or other function?