按照如下步骤进行操作: 1、查看用户的proifle是哪个,一般是default: sqlSELECT username,PROFILE FROM dba_users; 2、查看指定概要文件(如default)的密码有效期设置: sqlSELECT * FROM dba_profiles s WHERE s.profil ...
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 ...
merge into 解决用 B 表跟新 A 表数据,如果 A 表中没有,则把 B 表的数据插入 A 表; 语法: MERGE INTO USING ( ) ON ( AND ...) WHEN MATHED THEN WHEN NOT MATHED THEN Merge Into emp_bak&nbs ...