`
文章列表
单行函数和多行函数示意图:     单行函数分为五种类型:字符函数、数值函数、日期函数、转换函数、通用函数     单行函数:   --大小写控制函数   select lower('Hello World') 转小写, upper('Hello World') 转大写 from dual;   --initcap: 首字母大写   select initcap('hello world') 首字符大写 from dual;   --字符控制函数   -- concat: 字符连接函数, 等同于  ||   select concat('Hello',' Worl ...
--只是建立ta表,与emp表结构相同,并不添加数据 --这种构造与现存表相同结构的表,是不会将comment带过来的 create table ta as select * from scott.emp where 1=0; --建立tb表,结构与dept结构相同,将dept表中的数据导入其中 --这种构造与现存表相同结构的表,是不会将comment带过来的: create table tb as select * from scott.dept where 1=1;
import java.io.Serializable; import java.util.ArrayList; public class JString { private static ArrayList<PinyinCode> pinyin = new ArrayList<PinyinCode>(); /** * 该方法返回一个字符串的拼音,对于要做敏感字 * 检查时应该一个字一个字来获取其拼音以免无法 * 得知每个字对应的拼音。 * @author zyj * @param word * @return ...
import java.io.UnsupportedEncodingException; public class Chinesetoen { private final int[] li_SecPosValue = { 1601, 1637, 1833, 2078, 2274, 2302, 2433, 2594, 2787, 3106, 3212, 3472, 3635, 3722, 3730, 3858, 4027, 4086, 4390, 4558, 4684, 4925, 5249, 5590 }; private final String[] lc_Fir ...
declare plsql_block varchar2(512); begin --at first,we should disable all constraint of tables for t in (select table_name, constraint_name from user_constraints where constraint_type = 'R') loop plsql_block := 'alter table ' || t.table_name || ...

oracle命令导出dmp文件

 
1、进入cmd命令窗口,选择要导入到哪个盘输入: D: 2、输入:exp命令 3、输入要导出的username 4、输入要导出的password 5、Enter array fetch buffer size: 4096 >输入enter回车键 6、选择要导出的dmp文件名称:zc.dmp 7、然后一直按enter键默认选项即可。

oracle完全卸载方法

 
实现方法: 1、开始->设置->控制面板->管理工具->服务停止所有Oracle服务; 2、开始->程序->Oracle – OraDb10g_home1>Oracle Installation Products-> Universal Installer 卸装所有Oracle产品,但Universal Installer本身不能被删除; 3、运行regedit,选择HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE,按del键删除这个入口; 4、运行regedit,选择HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Se ...

oracle命令导入dmp文件

 
1.首先进入cmd命令窗口 2.执行命令:imp userid=用户名/密码@orcl file=d:\nc60.dmp full=y  解释 用户名:就是你的目标用户 。密码:就是你的目标用户登录密码。orcl:是实例名称 就是数据库名。file:就是你要导入的dmp文件全路径。full=y 是否全部导入 只有当前用户是dba的时候 才能用此选项 。         当别人在他机器上以abc用户导出一个db.dmp文件时 本地电脑用efg用户身份导入: imp user/pass file=db.dmp log=db.log fromuser=abc touser=efg i ...
创建用户:create user zchen identified by zchen default tablespace users Temporary TABLESPACE Temp; 分配权限:grant connect,resource,dba to zchen; 提交命令:commit;   首先以sys身份进入sqlplus 然后执行上面的命令   第一个zchen代表用户(create zchen) 第二个zchen代表密码(identified by zchen)  
<s:set name="number" value="maxLevel"/> <s:bean name="org.apache.struts2.util.Counter" id="counter"> <s:param name="first" value="1" /> <s:param name="last" value="%{#number}" /> <select nam ...

jquery操作select大全

 
http://www.cnblogs.com/bynet/archive/2009/11/16/1603769.html
1.介绍     1)DOM(JAXP Crimson解析器)     DOM是用与平台和语言无关的方式表示XML文 档的官方W3C标准。DOM是以层次结构组织的节点或信息片断的集合。这个层次结构允许开发人员在树中寻找特定信息。分析该结构通常需要 ...
applicationContext-datasource-jdbc.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC     "-//SPRING//DTD BEAN//EN"     "http://www.springframework.org/dtd/spring-beans.dtd"> <beans default-autowire="no" default-lazy ...
package com.zchen.property; public class User { private int id; private String name; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } } ...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans ht ...
Global site tag (gtag.js) - Google Analytics