问题1:异常:in expected: (possibly an invalid or unmapped class name was used in the query) [from Customer]解决方案:查看HQL语句查询的是否是实体类,映射文件属性是否正确:复制到输出目录à始终复制 。....
分类:
系统相关 时间:
2014-06-27 20:57:29
阅读次数:
606
1.SQLServer2008数据库sa账户登录127.0.0.1失败http://wenku.baidu.com/link?url=FiTOMHmOBYJp3LFKYFuHNN2uHn_00zSVbVLgudRa9QA2usB5liFjQbKah4F9GcqUfgWQiMfxDwx9-6kyFnA...
分类:
数据库 时间:
2014-06-27 20:41:57
阅读次数:
175
12. You need to produce a report where each customer's credit limit has been incremented by $1000. Inthe output, the customer's last name should have ...
分类:
其他好文 时间:
2014-06-27 15:53:14
阅读次数:
225
--1调用存储过程exec 存储过程名 参数openrowset方法使用:select * from openrowset('sqlncli', 'server=192.168.247.64;uid=sa;pwd=123;', 'exec dbo.process ''参数值''') as tmp;-...
分类:
数据库 时间:
2014-06-27 14:49:43
阅读次数:
248
2014-06-26 BaoXinjian一、摘要基本在做supplier, customer, employee查询,都会涉及hz_parties表的使用,通过主外键party_id进行关联二、 案例1. 查询Supplier相关信息2. 供应商主表数据 1 SELECT ass.vendor_i...
分类:
其他好文 时间:
2014-06-27 12:05:08
阅读次数:
247
SQL2008无法连接到.\SQLEXPRESS,用户'sa'登录失败(错误18456)图文解决方法出现问题 :标题: 连接到服务器------------------------------无法连接到 .\SQLEXPRESS。------------------------------其他信息:...
分类:
数据库 时间:
2014-06-26 12:50:31
阅读次数:
249
自己留一个mark,以后提醒用。
1)机械硬盘状态下利用alien sprawn创建的系统恢复U盘,无法在SSD下使用,因为SSD中没有recovery分区,只能使用随机携带的系统恢复光盘;
2)最好在SSD安装系统之前,先用机械硬盘引导,在windows下使用diskgenious进行格式化分区,4k字节对齐;
3)将SSD安装在硬盘盘位1,因为是最经常使用,并在bios中设置SA...
分类:
其他好文 时间:
2014-06-25 10:02:55
阅读次数:
242
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
/**
* Method 1: Delete the input element x
* and meanwhile keep the length of array after deleted n
* @param a the array
* @param n the length of array after deleted.
* @param x the element t...
分类:
其他好文 时间:
2014-06-25 08:27:27
阅读次数:
171
赋值语句variable=expression几种赋值的实例:x = x1+x2;x = sum(of x1-x6); 括号中要用ofsum(x,y);如果x或y中有一个为缺失值,sum的结果会将缺失值设为0,而如果用z=x+y;有缺失值的话z的结果会为缺失值ar(1) = br(1); *将数组b...
分类:
其他好文 时间:
2014-06-25 00:36:53
阅读次数:
1693