<%' p_child_sn = request("p_child_sn") hangmok = request("hangmok") sebu = request("sebu") cost_type = request("cost_type") confirmYN = request("confirmYN") Response.CharSet = "EUC-KR" '한글 Response.AddHeader "Pragma","no-cache" Response.AddHeader "cache-control", "no-staff" Response.Expires = -1 query = " update direct_cost " query = query & " set confirm_yn = '"& confirmYN &"' " query = query & " where p_child_sn = '"& p_child_sn &"' " query = query & " and del_yes_no = 'no' " query = query & " and hangmok= (select id from direct_costcode where d_cost_parents = '0' and d_cost_name = '"& hangmok &"' and d_cost_kind = '"& cost_type &"') " query = query & " and sebu = '"& sebu &"' " query = query & " and hangmok NOT IN ('메모', '메모_경영지원실') " adoConn.execute query if confirmYN = "Y" then response.write "Y_OK" else response.write "N_OK" end if %>