@Override
    public void run() {
        String update_field="";
        OrclTableInfo oti=new OrclTableInfo(dbconS,un,pwd);
        Hashtable<String, ArrayList<String>> cols;
        if(dbconS.contains("sqlserver"))
            cols=oti.getSqlServerColumns(tn,"hadoop");
        else
            cols=oti.getOracleColumns(tn,"hadoop");

        ArrayList<String> pks_a=oti.getPrimaryKeys(tn, OrclTableInfo.CapsLock);
        ArrayList<String> colName=cols.get("colsName");

        for (int i = 0; i < colName.size(); i++) {
            if(colName.get(i).matches(".*[#|(|)].*")) {
                flag = true; break;
            }
        }

        for (int i = 0; i < colName.size(); i++) {
            if (colName.get(i).equalsIgnoreCase("DATE_UPDATED")) {
                update_field = "DATE_UPDATED"; break;
            }
            else if (colName.get(i).equalsIgnoreCase("UPDATED_DATE")) {
                update_field = "UPDATED_DATE"; break;
            }
            else if (colName.get(i).equalsIgnoreCase("LCD")) {
                update_field = "LCD"; break;
            }
        }
        if(!Check.NULLCheck(update_field))
            Log.Print(index+"号 "+tn.toUpperCase()+"找不到日期字段！");

        writeInitShell(colName,pks_a,update_field);
    }