| No |
펀칭문번 |
검증 라벨 |
이름 |
검증 휴대폰번호(1) |
검증 일반번호(2) |
<%
dim a : a=1
sql=" select A.*, isnull(B.pu_que_ans,'') as pu_que_ans from "
sql=sql&" ( "
sql=sql&" select * from [project2].[dbo].[T_RES_SQ_QUE_LAB] "
sql=sql&" where ting='1' "
sql=sql&" and pu_que_type in ('0','2','3') " '-- 검증문항(0) / 검증전화번호(2) / 이름(3)
sql=sql&" and pu_child_sn='"&pn_cd&"' "
sql=sql&" and pu_type='"&pu_type&"' "
'-- fcs 지역 sql=sql&" and fcs_area='"&pu_area&"' "
sql=sql&" ) A "
sql=sql&" left join "
sql=sql&" ( "
sql=sql&" select pu_que as pu_que_ans from [project2].[dbo].[T_RES_SQ_ANS_LAB] "
sql=sql&" where ting='1' "
sql=sql&" and pu_child_sn='"&pn_cd&"' "
sql=sql&" and pu_type='"&pu_type&"' "
'-- fcs 지역 sql=sql&" and fcs_area='"&pu_area&"' "
sql=sql&" group by pu_que "
sql=sql&" ) B "
sql=sql&" on A.pu_que=B.pu_que_ans "
sql=sql&" order by A.pu_que_type desc, A.tphone_1 desc, A.tphone_2 desc, A.id asc "
rsp.Open sql, adoConn, 1
while not rsp.Eof
%>
','<%=rsp("pu_que_ans")%>');" >
| <%=a%> |
<%=rsp("pu_que")%> |
<%=replace(replace(rsp("pu_que_label"),"phone_number",""),"user_name","")%> |
<%=replace(rsp("tuser_name"),"user_name","응답자 이름")%> |
<%=replace(rsp("tphone_1"),"phone_number","검증 전화번호(1)")%> |
<%=replace(rsp("tphone_2"),"phone_number","검증 전화번호(2)")%> |
<%
a=a+1
rsp.movenext
Wend
rsp.Close
%>
|