一、 Oracle 新增语法
- 代码内编写普通Insert语法如下:
private static bool InsertRealation(string Key)
{
string sqlInsert = "";
try
{
sqlInsert = " insert into upload" +
" (create_time, desc, table, key, name)"+
" values " +
" (:time, :desc, :table, :key, :name) ";
List<OracleParameter> paras = new List<OracleParameter>();
paras.Add(new OracleParameter(":time", DateTime.Now));
paras.Add(new OracleParameter(":desc", "测试"));
paras.Add(new OracleParameter(":table", "upload"));
paras.Add(new OracleParameter(":key", bKey));
paras.Add(new OracleParameter(