- 军军小站|张军博客
搜索到与相关的文章
Oracle

ORACLE 多表关联 UPDATE 语句

快乐无极,15:18,开发文档,评论(0),,阅读(539),Viaaceplus||引用地址:注意:该地址仅在今日23:59:59之前有效为了方便起见,建立了以下简单模型,和构造了部分测试数据:在某个业务受理子系统BSS中,--客户资料表createtablecustomers(customer_idnumber(8)notnull,--客户标示city_namevarchar2(10)notnull,--所在城市customer_typechar(2)

系统 2019-08-12 01:55:06 2752

Oracle

oracle查询语句中case when的使用

casewhen语句语法如下:casewhen表达式thenvalueAelsevalueBend;具体使用如下:select(casewhena.column1>=1then'成功'else'失败'end)asSuccess_flagfromtableAa如果a.column1的值大于等于1,那么Success_flag的值将是‘成功’,否则‘失败’。casewhen和decode函数用法有一些相似,只是decode是枚举函数,而casewhen则更加灵

系统 2019-08-12 01:54:48 2752

Python

Python函数实例讲解

1、编写一个函数cacluate,可以接收任意多个数,返回的是一个元组.元组的第一个值为所有参数的平均值,第二个值是大于平均值的所有数.结果:2、编写一个函数,接收字符串参数,返回一个元组,‘ehlloWROLD’元组的第一个值为大写字母的个数,第二个值为小写字母个数。结果:3、编写函数,随机生成一个列表(包含30个整形数),用户输入一个整形数k,返回生成的随机列表去重后的结果和列表下标k之前对应(不包含k)的元素逆序,下标k及之后的元素逆序的新列表函数需

系统 2019-09-27 17:57:22 2751

编程技术

oscache源代码阅读(四) -- JSP/Servlet缓存Cach

oscache对于jsp/servlet的缓存是使用Filter来实现的,对应的类是com.opensymphony.oscache.web.filter.CacheFilter,既然是Filter那么要看的自然主要有三个方法:init、doFilter和destroy,这里#destroy()并没有具体实现,只关注前两个即可,首先看一下#init()方法,publicvoidinit(FilterConfigfilterConfig){config=fi

系统 2019-08-29 23:47:39 2751

编程技术

通过eclipse分析源码一个方法

如上图可以索引出类调用关系的在eclipse中怎么调整:windows-->showview-->other-->java-->TypeHierarchy在TypeHierarchy界面右键出现focuson选择你要分析的类通过eclipse分析源码一个方法

系统 2019-08-29 23:25:57 2751

Linux

linux bash shell 基本知识

以下为转载内容:$whichbashOpenupyoufavoritetexteditorandacreatefilecalledhello_world.sh.Insertthefollowinglinestoafile:NOTE:Everybashshellscriptinthistutorialstartswithshebang:"#!"whichisnotreadasacomment.Firstlineisalsoaplacewhereyouputy

系统 2019-08-29 22:13:00 2751

Linux

linux awk 学习笔记二(正则匹配、数学、逻辑匹

文章参考https://www.centos.bz/2012/07/awk-notes/正则表达式1匹配包含root的数据,并打印1~5的参数[root@auc-test2tmp]#gawk'BEGIN{FS=":"}/root/{print$1,$2,$3,$4,$5}'passwdrootx00rootoperatorx110operator数据是以r开头的,则打印第一个参数[root@eccs_webhuangbiao]#awk-F:'/^r/{pr

系统 2019-08-29 22:10:26 2751

各行各业

cygwin sshd服务启动不了的解决方案

问题起源:BTSPC机(windows)无法通过pscp命令去WiresharkPC机(windows)拷贝日志.出错日志:networkerror:connectionrefused.(我的问题就是ssh:connecttohostlocalhostport22:Connectionrefused,通过方法一解决)原因分析:pscp用于linux机和win机的命令拷贝,且需要linux机安装ssh服务.-->在Wireshark机上安装ssh-->ssh

系统 2019-08-12 09:27:43 2751

数据库相关

[ACM] poj 1064 Cable master (二进制搜索)

CablemasterTimeLimit:1000MSMemoryLimit:10000KTotalSubmissions:21071Accepted:4542DescriptionInhabitantsoftheWonderlandhavedecidedtoholdaregionalprogrammingcontest.TheJudgingCommitteehasvolunteeredandhaspromisedtoorganizethemosthone

系统 2019-08-12 01:55:38 2751