搜索到与相关的文章
编程技术

SQL 内链接 和左右链接

1,左右连接说的是我们联合查询的时候以那个表为准左外连接,就是以左表为标准:左表有的内容全显示,左表没有的内容以null显示。内连接的结果为null的话,不会在结果中显示。交叉连接产生笛卡尔积,把所有数据显示出来。维基真牛,sql也有:http://zh.wikipedia.org/wiki/%E8%BF%9E%E6%8E%A5_(SQL)SQL连接JOIN例解:写的不错http://www.cnblogs.com/eflylab/archive/2007

系统 2019-08-29 22:19:22 2390

编程技术

Eclipse报错:Setting property 'source' to 'o

最近把Eclipse的maven插件从m2eclipse更新到m2e后出了一些莫名其妙的的问题。今天又出了一个,就是Eclipse新建的MavenWebproject在tomcat里启动后报错,具体报错信息如下:警告:[SetPropertiesRule]{Server/Service/Engine/Host/Context}Settingproperty'source'to'org.eclipse.jst.jee.server:test1'didnotf

系统 2019-08-29 22:09:46 2390

各行各业

从定义最简单Findbugs Detector做起

创建Eclipse项目在eclipse中新建一个Java项目,使用jdk1.7,从版本3.0开始Findbugs要求Java7。项目名称符合Java项目名即可,这里以FBPlugin为例。设置CLASSPATH为了开发一个detector,我们需要对FindBugs的detector进行扩展,这里要使用到FindBugs的一些jar包。下载最新版本的FindBugs,在lib目录下找到findbugs.jar,bcel.jar,并将其添加到项目FBPlug

系统 2019-08-12 09:27:41 2390

各行各业

汇编语言hello word!

;功能"显示hellowword".586.modelflat,stdcall;模型,函数间通信;----------------------------------------------optioncasemap:none;includewindows.incincludekernel32.incincludeuser32.inc;头文件;--------------------------------------;------------------

系统 2019-08-12 09:27:24 2390

Oracle

oracle自关联表的子删父变功能实现

--需求一张自关联的父子表,实现删除子记录时判断父记录下是否还有子记录,如果没有子记录,则更新父记录。--建表createtabletest_sj(idnumber(8)notnull,p_idnumber(8),remarkvarchar2(200));altertabletest_sjaddconstraintPK_test_sjprimarykey(id);altertabletest_sjaddconstraintFK_test_sjforeign

系统 2019-08-12 01:54:38 2390

数据库相关

leetcode------Partition List

标题:PartitionList通过率:27.5%难度:中等Givenalinkedlistandavaluex,partitionitsuchthatallnodeslessthanxcomebeforenodesgreaterthanorequaltox.Youshouldpreservetheoriginalrelativeorderofthenodesineachofthetwopartitions.Forexample,Given1->4->3-

系统 2019-08-12 01:54:22 2390

Oracle

手工删除oracle的方法

大致方法如下:1、删除物理文件1.1、oracle安装文件。1.2、系统目录下,programfiles文件下的oracle文件2、注册表中大概有这么几个地方:hkey_local_machine\software删除oracle目录hkey_local_machine\system\controlset001\services删除oracle目录hkey_local_machine\system\controlset002\services删除oracl

系统 2019-08-12 01:53:06 2390

Oracle

【Oracle 学习笔记】Day 3 存储过程及函数

Producedure&FunctioncreateorreplacepackageTestPackis--Author:ADMINISTRATOR--Created:2012-4-2714:01:29--Purpose:测试typemyCursorisrefcursor;procedureTestPro(p_Condvarchar2,p_ReCursor0outmyCursor,p_ReCountoutnumber);FUNCTIONTestFunc(p

系统 2019-08-12 01:52:17 2390

操作系统

关于lseek()

#include"apue.h"intmain(){intflag=lseek(STDIN_FILENO,0,SEEK_CUR);if(flag==-1){printf("can'tseek\n");}else{printf("seekok\n");printf("%d\n",flag);}return0;}测试证明,lseek()返回为0,即文件的偏移值默认为0关于lseek()

系统 2019-08-12 01:33:45 2390