PreparedStatement ps = c.prepareStatement("INSERT INTO farmInfo (FarmCode, FarmName, FarmOwner, Jumin, ZipCode, Addr, TelNum, HPNum, " +
"BankAccount, ReproHouse, ReproHead, BreedHouse, BreedHead, scale_1, scale_2, ProtectYS, RiceArea, GlassArea, FeedArea, FeedComp, Manure,regDate)" +
" VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,to_char(current,'%Y%m%d%H%M%S')");
to_char(current,'%Y%m%d%H%M%S') 요부분 삽입하고 나서 계속 systax 에러가 떨어집니다. 어찌 바꾸워 주어야 하는지좀 알려주십시요
|