在oracle 11g release 2 版本中新增的listagg函数,listagg是一个实现字符串聚合的oracle内建函数;listagg(column,'分隔符') within group (order by column) over(partition by column)分隔符可以...
分类:
数据库 时间:
2015-09-24 16:16:58
阅读次数:
240
yii2判断数据是否存在$exists = ModelName::find()->where([ 'column_name' => $value])->andWhere(['column_name' => $value])->exists();
分类:
其他好文 时间:
2015-09-24 09:29:53
阅读次数:
184
概要: 使用jdbc 如果在不知道表结构的情况下,如何读出表信息?使用ResultSetMetaData;然后使用getColumnType 获取column 类型使用getColumnName 获取column名字根据类型,使用ResultSet的getInt("column1")....获取每个...
分类:
数据库 时间:
2015-09-24 09:24:55
阅读次数:
277
1.索引使用原则 不要对索引使用全模糊,但是 LIKE 'asdf%'是可以的,即不要Contains,可用StartWith 不要对索引进行函数,表达式操作,或者使用is null判断,否则将会使用全表扫描 不等于也会造成全表扫描,使用column 'a' 来替代 如果一个列有索引,另一个无索引,...
分类:
数据库 时间:
2015-09-23 19:25:09
阅读次数:
178
转自:(http://blog.sina.com.cn/s/blog_5115a74c01008e40.html)ERROR 1406 (22001): Data too long for column 解决方法 修改mysql安装目录下修改my.ini中三处地方:1、[client] 下 ...
分类:
其他好文 时间:
2015-09-23 16:53:10
阅读次数:
192
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)If Target.Column = 2 Then For Each sht In Sheets If sht.Name Targe...
分类:
其他好文 时间:
2015-09-23 16:45:12
阅读次数:
214
完整错误信息:HTTP Status 500 - /online.jsp (line: 495, column: 2) File [/foot.jsp] not foundtype Exception reportmessage /online.jsp (line: 495, column: 2) File [/foot.jsp] not founddescription The server en...
分类:
Web程序 时间:
2015-09-22 16:47:04
阅读次数:
192
头:header 内容:content/container 尾:footer 导航:nav 侧栏:sidebar栏目:column 页面外围控制整体布局宽度:wrapper 左右中:left right center 登录条:loginbar 标志:logo 广告:banner ...
分类:
其他好文 时间:
2015-09-21 23:57:04
阅读次数:
239
1、Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A原因:是由于数据库太大,即数据库中表非...
分类:
其他好文 时间:
2015-09-21 13:47:29
阅读次数:
171
数据库的在上一篇博客中《SQLite之C语言接口规范(三)——Binding Values To Prepared Statements》用到了如何从查询结果中取出结果值。今天的博客就详细的介绍一下sqlite3_column_*()的方法。在SQLite数据库C语言接口中,从查询结果中取出不同.....
分类:
移动开发 时间:
2015-09-21 11:59:44
阅读次数:
323