---to_char() REPLACE(REPLACE(REPLACE(CONVERT(varchar(20), getdate(), 120),' ',''),':',''),'-','') ---rownum CEILING(ROW_NUMBER() OVER(ORDER BY A.STATE, A.REQ_DT DESC, F.CUST_NAME)/?) AS PAGE, ROW_NUMBER() OVER(ORDER BY A.STATE, A.REQ_DT DESC, F.CUST_NAME) AS RNUM FROM ( ---DECODE CASE a.CUSTOMER_ID WHEN 'anyone' THEN ISNULL(a.CUSTOMER_NAME,'비회원') ELSE (SELECT USER_NAME FROM TB_USER WHERE USER_ID..