错误:
Error: PLS-00103: Encountered the symbol "" when expecting one of the following:
( return compress compiled wrapped
Line: 1
Text: create or replace function func_getyesterday
代码如下
OracleConnection con = new OracleConnection(ocsb.ConnectionString);
con.Open();
OracleCommand cmd = new OracleCommand();
cmd.Connection = con;
cmd.CommandType = CommandType.Text;
cmd.CommandText = this.textBox1.Text.Trim();
try
{
cmd.ExecuteNonQuery();
}
catch (Exception ee)
{
MessageBox.Show(ee.Message);
}
con.Close();
Error: PLS-00103: Encountered the symbol "" when expecting one of the following:
( return compress compiled wrapped
Line: 1
Text: create or replace function func_getyesterday
代码如下
OracleConnection con = new OracleConnection(ocsb.ConnectionString);
con.Open();
OracleCommand cmd = new OracleCommand();
cmd.Connection = con;
cmd.CommandType = CommandType.Text;
cmd.CommandText = this.textBox1.Text.Trim();
try
{
cmd.ExecuteNonQuery();
}
catch (Exception ee)
{
MessageBox.Show(ee.Message);
}
con.Close();
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货