上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 206 下一页
摘要: Oracle常用标量数据库类型/常用字段类型 类型 描述 char 定长字符,<=2000字节 nchar 定长unicode字符,<=1000字节 varchar2 变长字符,<=4000字节 nvarchar2 变长unicode字符,<=2000字节 number(precision,scal 阅读全文
posted @ 2022-08-27 21:49 逆火狂飙 阅读(174) 评论(0) 推荐(0)
摘要: 【代码下载】 https://files.cnblogs.com/files/heyang78/TableParser220825.rar?t=1661420885 【目标】 解析Oracle 建表语句文本,从中取出表名、表注释、字段名、字段注释、字段类型、是否主键等信息 【待解析文本示例】 cre 阅读全文
posted @ 2022-08-24 20:38 逆火狂飙 阅读(748) 评论(0) 推荐(0)
摘要: 【需求】 在文本解析程序需要回车符作为结束符号,故需在读取程序中添加回车,并在解析程序中识别。 【示例文本】 夏日绝句 李清照 生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东 2022年8月23日20点58分 END 【代码】 package crintxtfile; import java.io. 阅读全文
posted @ 2022-08-23 21:17 逆火狂飙 阅读(885) 评论(0) 推荐(0)
摘要: 高中数学/等差数列 (多选)已知等差数列{an}的首项为a1,公差为d,前n项和为Sn,若S21 阅读全文
posted @ 2022-08-23 04:12 逆火狂飙 阅读(111) 评论(0) 推荐(0)
摘要: 高中数学/等差数列 记Sn,Tn分别是等差数列{an},{bn}的前n项和,且Sn/Tn=(2n-3)/(n+1),求a5/b4=? 答案:15/8 阅读全文
posted @ 2022-08-22 20:23 逆火狂飙 阅读(94) 评论(0) 推荐(0)
摘要: 高中数学/等差数列 记Sn,Tn分别是等差数列{an},{bn}的前n项和分别为Sn,Tn,且Sn/Tn=n/(2n+1),求a5/b4=? 答案:3/5 阅读全文
posted @ 2022-08-22 16:10 逆火狂飙 阅读(234) 评论(0) 推荐(0)
摘要: 【Oracle SQL】 一行流方式: select count(*) from all_tables where table_name=upper('your tableName') 层次化方式: select count(*) from all_tables where table_name=u 阅读全文
posted @ 2022-08-19 04:45 逆火狂飙 阅读(59) 评论(0) 推荐(0)
摘要: 【SQL】 select a.table_name as name,b.comments as remark from (select table_name from user_tables ) a inner join (select table_name,comments from user_t 阅读全文
posted @ 2022-08-16 22:08 逆火狂飙 阅读(257) 评论(1) 推荐(0)
摘要: 1.空值处理函数 1.1 nvl 用途:将第一参数(可能的)空值转换为第二参数 典型应用场景:A表左联到B表,如果某字段可能为空时。 例: SQL> select emp.name,nvl(dept.name,'梁山') as DEPT from emp 2 left join dept 3 on 阅读全文
posted @ 2022-08-16 08:26 逆火狂飙 阅读(609) 评论(0) 推荐(0)
摘要: 【数据库版本】 Oracle 19c 服务器版 【出错记录】 SQL> create user hy identified by 1234; create user hy identified by 1234 * 第 1 行出现错误: ORA-65096: 公用用户名或角色名无效 【出错原因】 or 阅读全文
posted @ 2022-08-12 03:45 逆火狂飙 阅读(5391) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 206 下一页