07 2018 档案
摘要:-- 1、绝对值 select abs(-1)from dual -- 2、求平方根select sqrt(6)from dual -- 3、圆周率select pi()from dual -- 4、余数select 3%2,3%-2,-3%2,-3%-2from dualselect mod(3,
阅读全文
摘要:emp、dept表 DROP TABLE IF EXISTS `dept`; CREATE TABLE `dept` ( `DEPTNO` int(2) NOT NULL, `DNAME` varchar(14) DEFAULT NULL, `LOC` varchar(13) DEFAULT NUL
阅读全文
摘要:数据(data)是事实或观察的结果,是对客观事物的逻辑归纳,是用于表示客观事物的未经加工的的原始素材。 数据可以是连续的值,比如声音、图像,称为模拟数据。也可以是离散的,如符号、文字,称为数字数据。 数据库(DB)是一种专门存储信息和维护信息的容器,严格地说数据库是“按照数据结构来组织、存储和管理信
阅读全文
摘要:package com.neusoft.test; import java.util.Scanner; public class Test05{ public static void main(String[] args) { int i; int j = 0; int year;//年 int month;//月 int day = 0; int y;//初始化年...
阅读全文
摘要:--1、查询在1981年入职的员工信息select * from emp where hiredate between '01-1月-1981'and '31-12月-1981'; select * from empwhere hiredate >= '01-1月-1981'and hiredate
阅读全文
摘要:if: switch: while: do while: 正三角,倒三角: 运行结果: *** ** * * ** *** 九九乘法: 运行结果: 1*1=1 1*2=2 2*2=4 1*3=3 2*3=6 3*3=9 1*4=4 2*4=8 3*4=12 4*4=16 1*5=5 2*5=10 3
阅读全文
摘要:js获取标签内容和输出内容到页面 获取: html: js: 输出: html: <p id = "finalresult"></p> js: document.getElementById("finalresult").innerHTML = "输出的内容";
阅读全文
摘要:Java Jdk开发时环境,程序员使用 Jre运行时环境,用户使用 Jdk的配置 1.新建java_home jdk的安装路径 例:C:\Program Files (x86)\Java\jdk1.8.0_20 2.增加path %java_home%\bin; 3.新建classpath .;jd
阅读全文
摘要:选择器 1.标签选择器 用标签名进行选择 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> p{ color:blue; } </style> </head> <b
阅读全文
摘要:选择器:标签选择器、id选择器、类选择器 标签中: <p style="color:blue;"></p>:修饰p标签的字体颜色 <p style="color:#BC8F8F"></p> <p style="color:rgb(205,92,92)"></p> <head>中: <style ty
阅读全文
摘要:html:超文本标记语言 unicode(UTF-8):万国码 <...>:标记标签 :空格 <br>:换行 <hr>:水平线 <p></p>:段落标签 <sup></sup>:上角标(如:y=x^2) <sub></sub>:下角标 <h1></h1>:标题标签(h1~h6) <st
阅读全文
摘要:public Object getValue(String sql,Object... args) { Connection conn = null; Object obj= null; try { //拿conn conn = JdbcUtils.getConnection(); obj = qu
阅读全文
摘要:有时候出现这种怪异的问题,是由于多个版本的class存在。 比如说:某个java编译成class后,放到classes下面,然后lib目录下,也有这个class所在的jar包,这样就导致classpath实际上有两个相同的class(以上来自百度)解决办法:把项目的编译文件删除,知后重新编译(如果找
阅读全文

浙公网安备 33010602011771号