1.类型转换 --Oracle select to_number('123') from dual; --123; select to_char(33) from dual; --33; select to_date('2004-11-27','yyyy/mm/dd') from dual;--2004-11-27 --Mysql select cast('123' as signed integer ); --123 select cast(33 as char (2) ...
CREATE OR REPLACE FUNCTION F_PINYIN(P_NAME IN VARCHAR2) RETURN VARCHAR2 AS V_COMPARE VARCHAR2(100); V_RETURN VARCHAR2(4000); FUNCTION F_NLSSORT(P_WORD IN VARCHAR2) RETURN VARCHAR2 AS BEGIN RETURN NLSSORT(P_WORD, 'NLS_SORT=SCHIN ...