EXEC master..xp_cmdshell 'bcp FH2_SJH.dbo.dCurrent in c:\tt.txt -c -t -S"SMARTSENCER\SQL2008" -U"sa" -P"password"'EXEC master..xp_cmdshell 'bcp FH2_SJ...
分类:
数据库 时间:
2014-06-25 09:13:57
阅读次数:
282
一、设置服务端:
1、加入Listener到conf/server.xml
2、加入JAVA_OPTS到bin/catalina.sh
JAVA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote....
分类:
其他好文 时间:
2014-06-25 07:23:23
阅读次数:
244
今天用到了多个表之间的关系,另一个表中的一个字段要以第一个表的主键作为外键。
下面说两种方法,MyBatis+MySQL 返回插入记录的主键ID:
第一种:
insert into user(userName,password,comment)
values(#{userName},#{password},#{comment})
第二种:
SELECT LOGS_SEQ...
分类:
数据库 时间:
2014-06-25 07:13:38
阅读次数:
210
boot.properties可以使管理服务器启动时不需要提供密码在所有生产环境中都被使用,随着bea被收购,及Weblogic的发展,其位置发生了改变。boot.properties内容为boot.properties##############################username={your_username}password={your_password}###############..
分类:
Web程序 时间:
2014-06-25 06:16:00
阅读次数:
396
Emacs Org mode is a very powerful, versatile and extensible package, which can be used for personal information management, maintenance of a wiki plat...
分类:
Web程序 时间:
2014-06-25 00:45:38
阅读次数:
533
(一)
那么当程序的控制流到达这个变量定义时,变承受构造成本;当变量离开作用域时,便承受析构成本。
string encryptPassword(const std::string& password) {
using namespace std;
string encrypted;
if(password.length() < MinimumPasswordLengt) {
t...
分类:
编程语言 时间:
2014-06-24 23:24:54
阅读次数:
297
string plainText = "This is plain text that we will encrypt";
string password = "P@$$w0rd";
Console.WriteLine(plainText);
Console.WriteLine();
create a ne...
分类:
Web程序 时间:
2014-06-24 20:35:56
阅读次数:
249
查看mysql的所有用户及密码和所属权限mysql>selectuse,password,hostmysql.user;查看mysql支持的存储引擎mysql>showplugins;设置编码类型为utf8vi/etc/my.cnf在[mysqld]配置选项下添加character-set-server=utf8查看编码是什么类型mysql>howvariableslike"%char%";
分类:
数据库 时间:
2014-06-24 16:15:44
阅读次数:
286
相关链接:Snmp学习笔记使用snmp4j实现Snmp功能(一)使用snmp4j实现Snmp功能(二)使用snmp4j实现Snmp功能(三)SNMP是英文“Simple Network Management Protocol”的缩写,中文意思是“简单网络管理协议”。SNMP是眼下最经常使用的环境管理...
分类:
其他好文 时间:
2014-06-24 14:56:19
阅读次数:
176
一、创建索引表空间:指令:create tablespace orcl_index datafile 'D:\app\Administrator\oradata\orclyg\index\orcl_index.dbf' size 50M extent management local uni...
分类:
其他好文 时间:
2014-06-24 12:33:30
阅读次数:
235