`
VincentZheng
  • 浏览: 51483 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论
文章列表
//创建临时表空间 create temporary tablespace zfmi_temp tempfile 'D:\oracle\oradata\zfmi\zfmi_temp.dbf' size 32m autoextend on next 32m maxsize 2048m extent management local; //tempfile参数必须有 //创建数据表空间 create tablespace zfmi logging datafile 'D:\oracle\oradata\zfmi\zfmi.dbf' size 100m autoextend on next ...

Proto Type

    博客分类:
  • Java
package com.DesignPatterns; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; /** * The prototype is typically used to clone an object, i ...
首先下载maven工具,解压后在conf/settings.xml文件中添加: <localRepository>E:/Workspaces/.m3</localRepository> 此为maven下载jar及其相关文件的仓库 第二步,安装eclipse的maven插件M2eclipse: http://m2eclipse.sonatype.org/sites/m2e 安装完成后打开eclipse->window->preferences->maven ->installations->add->指定maven安装路径 ->u ...
Eclipse的编辑功能非常强大,掌握了Eclipse快捷键功能,能够大大提高开发效率。Eclipse中有如下一些和编辑相关的快捷键。 1. 【ALT+/】 此快捷键为用户编辑的好帮手,能为用户提供内容的辅助,不要为记不全方法和属性名称犯愁 ...
一些数据结构的资料
理解线程,首先要明白线程的几种状态,以及状态之间的转换,具体参考下图: 其次,必须理解线程中"锁"的作用,以下引用自sun公司文档Threads and Locks一章中关于Locks的描述: 引用The Java programming language provides multiple mechanisms for communicating between threads. The most basic of these methods is synchronization, which is implemented using monitors. Each ...
基本上所有的分析函数均是这种格式: 函数名称 ([参数]) OVER (analytic_clause) analytic_clause包含:[partition 子句][ order 子句 [window子句]] ● Partition 子句:Partition by exp1[ ,exp2]... Partition没啥说的,功能强大参数少,主要用于分组,可以理解成select中的group by。不过它跟select语句后跟的group by 子句并不冲突。 ● Order子句:Order by exp1[asc|desc] [ ,exp2 [asc|desc]]... [n ...
1. 在SQL Server中整型相除是取整(舍小数),如果要取小数且限制位数,可以用convert(numeric(10,2),a*1.0/b)或是cast(a*1.0/b as numeric(10,2))的方式得到. 2. 对于in/exists(clause)有4点需要注意: (1) 含义上来说,in/exists都是取的交集,not in/exists都是取的差集. (2) 语法上来说: in: where column_name (not) in(clause) exists: where (not) exists(clause) (3) 原理上来说: ...
定义:Cookie是由服务器端生成,发送给User-Agent(一般是浏览器),浏览器会将Cookie的key/value保存到某个目录下的文本文件内,下次请求同一网站时就发送该Cookie给服务器(前提是浏览器设置为启用cookie)。 作用: 1. 目前Cookies ...
定义:可以不加声明就在JSP页面脚本(Java程序片和Java表达式)中使用的成员变量。 JSP共有9种基本内置对象/内置组件(可与ASP的6种内部组件相对应):request, response, session, application, out, page, pageContext, config, exception。 1.request对象 客户端的请求信息被封装在request对象中,通过它才能了解到客户的需求,然后做出响应。它是HttpServletRequest类的实例。 序号方法说明1object getAttribute(String name)返回指定属性的属性值2E ...
http://wenku.baidu.com/view/c916fbbafd0a79563c1e72d3.html abstract class和interface是Java语言中对于抽象类定义进行支持的两种机制,正是由于这两种机制的存在,才赋予了Java强大的面向对象能力。abstract class和interface之间在对于抽象类定义的支 ...
1.为什么 fflush(stdin) 是错的 首先请看以下程序: #include<stdio.h> int main( void ) { int i; for (;;) { fputs("Please input an integer: ", stdout); scanf("%d", &i); printf("%d\n", i); } return 0; } 这个程序首先会提示用户输入一个整数,然后等待用户输 ...
很多人甚至市面上的一些书籍,都使用了void main( ) ,其实这是错误的。C/C++ 中从来没有定义过void main( ) 。C++ 之父 Bjarne Stroustrup 在他的主页上的 FAQ 中明确地写着 The definition void main( ) { /* ... */ } is not and never has been C++, nor has it eve ...
首先要说的是,使用 malloc 函数,请包含 stdlib.h(C++ 中是 cstdlib),而不是 malloc.h 。因为 malloc.h 从来没有在 C 或者 C++ 标准中出现过!因此并非所有编译器都有 malloc.h 这个头文件。但是所有的 C 编译器都应该有 stdlib.h 这个头文 ...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Insert title here</title> ...
Global site tag (gtag.js) - Google Analytics