这几天qq上很多朋友问及客户端网络配置问题,希望这篇文章能帮助一些朋友(之前也写过一篇文章关于用第三方工具连接数据库:http://blog.itpub.net/29876893/viewspace-1465317/)。首先说明的是数据库是单实例,数据库的连接方式是专有连接模式。
SQL> select * from v$version where rownum=1;
BANNER
----...
分类:
其他好文 时间:
2015-05-07 08:52:55
阅读次数:
181
1.模糊搜索 第一时间我马上想到了关键字 like 1.1.所要查询的字段中包含特定 字符,但不确定其位置,使用两个%包起来 select * from phone where provider like '%Apple%' 可以匹配 'AppleXXX', 'xxAppl...
分类:
数据库 时间:
2015-05-07 06:24:16
阅读次数:
164
PowerShellDSC的配置文件支持“分离”的格式,这是什么意思呢?好比说企业有一套合规性要求,这套要求无论是对开发测试环境还是生产环境都是一致的,但是显然开发测试与生产环境的规模大小以及硬件配置等等是不一样的,这也就导致了在DSC中定义的内容可以分为“What”和“Where..
分类:
系统相关 时间:
2015-05-07 01:10:15
阅读次数:
273
1、错误描述
1 queries executed, 0 success, 1 errors, 0 warnings
查询:select stu_id, (SELECT stu_name FROM t_student_info t WHERE t_student_info.stu_id = t.stu_id) stu_name from t_student_info t, t_...
错误代...
分类:
其他好文 时间:
2015-05-07 00:59:36
阅读次数:
236
常用的一共有4个方法,如下:1. 使用locate()方法 1.1.普通用法: SELECT `column` from `table` where locate('keyword', `condition`)>0 类似于 java 的 indexOf();不过 locate(...
分类:
数据库 时间:
2015-05-07 00:51:42
阅读次数:
182
【题目】
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Fin...
分类:
其他好文 时间:
2015-05-06 23:10:19
阅读次数:
391
1、错误描述
1 queries executed, 0 success, 1 errors, 0 warnings
查询:SELECT stu_id, (SELECT stu_name FROM t_student_info t WHERE t.stu_id = t.stu_id) stu_name FROM (SELECT SUM( CASE course WHEN '敮..
错误代码:...
分类:
其他好文 时间:
2015-05-06 22:57:02
阅读次数:
205
SELECT....FROMALEFTSEMIJOINBON(A.col1=B.col2)WHERE..."IfA.col1isofDOUBLEtype,butB.col2isofBIGINT,willprintWARNING:Comparingabigintandadoublemayresultinalossofprecision.Whycan‘tcastcol2todoubleautomatically?>IfA.col1isofDOUBLEtype,>butB.col2isofBIGINT,..
分类:
其他好文 时间:
2015-05-06 18:20:21
阅读次数:
110
Trapping Rain Water
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given ...
分类:
移动开发 时间:
2015-05-06 17:52:41
阅读次数:
142
查询数据库中哪些表被锁定的sql语句
SELECT object_name, machine, s.sid, s.serial#
FROM gv$locked_object l, dba_objects o, gv$session s
WHERE l.object_id = o.object_id
AND l.session_id = s.sid;
--释放SESSIO...
分类:
数据库 时间:
2015-05-06 17:41:34
阅读次数:
139