PL SQL游标将hregright表中不存在hrno的记录,用house表中的hrno填充(house唯一的时候)declare cursor house_cur is select h.regno,h.hrno from house h where h.hrno...
分类:
数据库 时间:
2015-05-13 14:30:51
阅读次数:
156
1、简单查询 ????1.1 查询全部列 Example:?????select?*?from?t_userInfo ????1.2 查询制定列 Example:????select?*?from?userName,passWord?from?t_userInfo ????1.3 查询带计算的...
分类:
数据库 时间:
2015-05-13 13:18:42
阅读次数:
174
昨天把基础系统部署在了服务器上,一切正常.
可是开发人员要远程访问服务器上的MySQL数据库,发现远程连接不上,提示错误:“1045-Access
denied for user root@...”
解决办法如下,执行命令:
mysql> use mysql;
mysql> selecthost,user from user;
查看结果是不是r...
分类:
数据库 时间:
2015-05-13 12:53:08
阅读次数:
139
Loaded plugins: fastestmirror, securityLoading mirror speeds from cached hostfile* base: mirrors.163.com * extras: mirrors.cqu.edu.cn * updates: mirro...
分类:
编程语言 时间:
2015-05-13 12:42:00
阅读次数:
639
isKindOfClass:returns YES if the receiver is an instance of the specified class or an instance of any class that inherits from the specified class.isM...
分类:
其他好文 时间:
2015-05-13 12:33:37
阅读次数:
86
http://stackoverflow.com/questions/412562/execute-a-terminal-command-from-a-cocoa-appin the spirit of sharing... this is a method I use frequently to ...
分类:
移动开发 时间:
2015-05-13 12:23:38
阅读次数:
133
使用PLSQL Developer和DbVisualizer查询oracle数据库时,出现查询数据中文乱码情况。查看了一下数据库编码格式select * from v$nls_parameters;查看编码值为WE8ISO8859P1。而电脑环境变量NLS_LANG的值为AMERICAN_AMERI...
分类:
数据库 时间:
2015-05-13 12:19:23
阅读次数:
230
if exists (select * from sysobjects where name='Test') drop table test;gocreate table Test(ID int, --IDName nvarchar(50), --名称Total int, --总量Finishe.....
分类:
数据库 时间:
2015-05-13 12:07:35
阅读次数:
203
异常描述:redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getResource(Pool.java:...
分类:
其他好文 时间:
2015-05-13 12:04:38
阅读次数:
78