create proc sel_attend_q as begin Select ROW_NUMBER() OVER (ORDER BY INPUTDATE) AS ROW_ID, Company,Dept,Responsibility,Name,Phone,Fax,HP,Mail, ZipCode,Address,Another,Inputdate from Question_cust2
end
이러한 형태로 프로시저를 만들어 준다.
ASP.NET 페이지로 가서 보면
SqlConnection scn = new SqlConnection("server=서버명;uid=sa;pwd=패스워드;database=디비명"); string surveySSQL = "Select ROW_NUMBER() OVER (ORDER BY INPUTDATE) AS ROW_ID, Company,Dept,Responsibility,Name,Phone,Fax,HP,Mail, ZipCode,Address,Another,Inputdate from Question_cust2 ;";
댓글 영역