存储过程如下:create or replace procedure
p_createseq(tablename in varchar2,key in varchar2)Authid Current_User
--使用角色权限,否则无法创建序列或表isstrsql varchar2(500);t_k...
分类:
其他好文 时间:
2014-05-16 21:32:08
阅读次数:
211
一次过 1 public class Solution { 2 public String
countAndSay(int n) { 3 if (n <= 0) return ""; 4 int i = 1; 5 String current
...
分类:
其他好文 时间:
2014-05-16 21:27:59
阅读次数:
267
大家好,今天是注册表学习的第二课好了,废话不多说了,我现在就来分享我的读书笔记吧
一、禁用菜单系统栏的属性 首先,按照HKEY_CURRENT_USER-software-microsoft-windows-currentversion
-policies-explorer 新建一个DWORD值,命...
分类:
其他好文 时间:
2014-05-13 17:03:56
阅读次数:
307
ThisisourongoingLinuxcommandserieswherewearegoingtoreviewhowwecanusechkconfigcommandefficientlywithit’savailableparameters.TheChkconfigcommandtoolallowstoconfigureservicesstartandstopautomaticallyinthe/etc/rd.d/init.dscriptsthroughcommandline.Let’sseesome..
分类:
系统相关 时间:
2014-05-13 04:26:32
阅读次数:
469
7.1 操作系统接口
Os模块提供主要许多与操作系统交互的函数。
>>> import os
>>> os.getcwd() # Return the current working directory
’C:\\Python31’
>>> os.chdir(’/server/accesslogs’) # Change current working directory
>>> ...
分类:
编程语言 时间:
2014-05-12 23:08:03
阅读次数:
356
public class ThreadTest implements Callable {
public String call() throws Exception {
// TODO Auto-generated method stub
wait(10000);
return "hello";
}
}调用代码:
public static void main(Stri...
分类:
编程语言 时间:
2014-05-11 21:27:24
阅读次数:
533
1. Hadoop中遇到的问题
以前所遇到的问题由于没有记录,所以忘了
(1)NameNode没有启动成功, 是由于你对HDFS多次格式化,导致datanode中与namenode中的VERSION文件中的namespaceID不一致(对于NameNode节点,该文件位于hdfs-site配置文件中dfs.name.dir参数所指定的路径下的current文件夹中, 对于DataNode节点...
分类:
其他好文 时间:
2014-05-10 04:28:25
阅读次数:
475
Asp.net直接保存文件到客户端
在我们的系统的编写过程中,应该有很多的时候需要客户下载文件.我第一次的做法(应该也是大部分人的做法吧?)是:
1 HttpResponse response = HttpContext.Current.Response;
2 string js = "window.open('{0}');";
3 js = string.Format(js, url...
分类:
Web程序 时间:
2014-05-09 22:47:52
阅读次数:
311
Texlive的配置很简单,安装的时候跟着向导一步一步安装就可以了。
TexStudio也是同样的安装过程,没什么技巧。这里提一下界面颜色的配置。习惯了暗底白字,所以就google了一下相关的配置,大多给出的是颜色配置的代码。代码的使用也十分简单,先在TexStudio里面保存一下Current
S...
分类:
Windows程序 时间:
2014-05-09 19:46:13
阅读次数:
1165
Example #1$GLOBALS范例以上例程的输出类似于:$foo in global
scope: Example content$foo in current scope: local variable
分类:
Web程序 时间:
2014-05-09 13:25:52
阅读次数:
309