摘要: 连接两个字符串 大小写转换 获取字符串 设置日期为中文字符集 alter session set nls_date_language='Simplified chinese'; 设置日期格式 alter session set nls_date_format='YYYY-MM-DD'; 日期格式 求 阅读全文
posted @ 2020-03-13 14:35 墨白95 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 选择结构 If **** then **** else **** end if; If **** then **** elsif then **** end if; CASE test_value when value1 THEN statements1; when value2 THEN stat 阅读全文
posted @ 2020-03-11 11:27 墨白95 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 创建用户create user user_name identified by password;用户权限describe user_user_privs;查询用户(仅名字)select USERNAME from dba_users;授权会话grant create session to user 阅读全文
posted @ 2020-03-05 19:17 墨白95 阅读(174) 评论(0) 推荐(0) 编辑
摘要: create table a(aid char(2) primary key,name char(10)); create table b(bid char(2) primary key,name char(10),aid char(2)); alter table badd constraint 阅读全文
posted @ 2020-03-05 17:56 墨白95 阅读(522) 评论(0) 推荐(0) 编辑