一.官网的说明 http://download.oracle.com/docs/cd/E11882_01/server.112/e26088/functions088.htm#SQLRF00658 Purpose The LENGTH functionsreturn the length of char. LENGTH calculates length usingcharacters as defined by the input character set. --返回以字符为单位的长度. L…
SELECT LPAD(,'*.') "LPAD example" FROM DUAL; 1.分页查询 (1)方法一:使用 between and 来实现分页 select * from ( select emp.*,rownum rn from emp ) and (2)方法二:使用 rownum 来实现分页 select * from ( select emp.*,rownum rn from emp ) (3)方法三:使用rownum 三层来实现分页 select * fro…