OracleConnection conn = new OracleConnection();
conn.ConnectionString = @"Data Source=(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 10.206.0.23)(PORT = 1521)))(CONNECT_DATA = (SID = ORCLWEX3)));User Id= RAMNIVAS_CI;Password= RAMNIVAS_CI;";
conn.Open();
SetStatus(null, "CLEARING CI DATABASE");
OracleCommand com = new OracleCommand(@"set pages 0
set lines 80
spool c:\delete_objects_CI
select 'drop '||object_type||' '||object_name||';'
from user_objects;
spool off
start c:\delete_objects_CI.lst
purge recyclebin;
set pages 100", conn);
com.ExecuteNonQuery();
実行しようとしているクエリに問題があると思います。