C#下的SQL语句:
strSQL += "select * from tblschedule where (" ;
strSQL += "(type='everyday'" ;
strSQL += " and to_date(begindate, 'yyyy-mm-dd')<=to_date(@ShortDate, 'yyyy-mm-dd')";
strSQL += " and to_date(enddate, 'yyyy-mm-dd')>=to_date(@ShortDate, 'yyyy-mm-dd')";
strSQL += " and to_date(runtime, 'HH24:MI')=to_date(@ShortTime, 'HH24:MI')))";在C#下执行以上语句时出现错误