随笔分类 - oracle
摘要:1.Oracle 转义&符号select 'http://localhost:50476/auth/logon?u=user' || chr(ascii('&')) || 'p=8888' from dual; 2.日期转换select to_char(sysdate,'yyyy-mm-dd') ...
阅读全文
摘要:with temp as( select 'A01' nation ,1 as S1,2 as S2, 3 as S3 from dual union all select 'A02' nation ,null as S1,5 as S2, 6 as S3 from dual)select ...
阅读全文
摘要:1.castCAST('Other' as NVARCHAR2(30))2.fordeclare v_guid char(32); channelidStrs varchar2(4000):='';begin v_guid:=sys_guid(); --delete temp_sto...
阅读全文
摘要:with temp as(select 'China' nation ,'Guangzhou' city from dual union allselect 'China' nation ,'Shanghai' city from dual union allselect 'China' nation ,'Beijing' city from dual union allselect 'USA' nation ,'New York' city from dual un
阅读全文
摘要:oracle查询语句大全 oracle 基本命令大全 来源于:http://download.csdn.net/download/jia584643753/5875619 1.create user username identified by password;//建用户名和密码oracle ,oracle 2.grant connect,resource,dba to username;//授权 grant connect,resource,dba,sysdba to username; 3.connect username/password//进入。 4.select t...
阅读全文

浙公网安备 33010602011771号