11 2020 档案
摘要:1】shell脚本 带多个参数: export JAVA_HOME=/usr/lib/jvm/jre-1.8.0-openjdk export CLASSPATH=.:$JAVA_HOME/lib:$CLASSPATH export PATH=$JAVA_HOME/bin:$PATH a=1 whi
阅读全文
摘要:1、Oracle 去掉字母或中文 SELECT t.name 原始值 , **regexp_replace**(t.name,'[A-Za-z]') 去掉字母 ,regexp_replace( t.name,'[' || unistr('\4e00') || '-' || unistr('\9fa5
阅读全文
摘要:1、mysql 8.xxx安装参考 参考博客:https://www.cnblogs.com/dream66/p/12667925.html
阅读全文
摘要:数据库设计的范式 概念:设计数据库时,需要遵循的一些规范,要遵循后边的范式要求,必须遵循前边的所有范式要求。 设计关系数据库时,遵从不同的规范要求,设计出合理的关系型数据库,这些不同的规范要求被称为不同的范式,各种范式呈递次规范,越高的范式数据库荣冗余越小 目前关系数据库有六种范式 1NF、2NF、
阅读全文
摘要:1、打印excel数据(不关联数据库 直接输出)简易输出版 package com.estar.azcn.test; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.Cell;
阅读全文
摘要:1、关联表删除数据 -- 删除prpcmain 表中存在 prpcmain_insert表的数据 delete m from prpcmain m , prpcmain_insert t where m.id=t.id ; 参考博客:https://www.cnblogs.com/excellent
阅读全文
摘要:1、判断字段是否为数字 Oracle参考: -- modify20201111 中国护照 D S P E G H K M 开头 3-9位为数字 case when ppie.id_type='2' and (substr(ppie.id_no ,1,1) not in ('D','S','P', '
阅读全文
摘要:1、vim || 快速查找功能 参考博客:https://blog.csdn.net/ballack_linux/article/details/53187283
阅读全文