码迷,mamicode.com
首页 >  
搜索关键字:column    ( 6576个结果)
ORACLE行转列(行转1列,行转多列)
在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正确的取出数据(转)
概要: 使用jdbc 如果在不知道表结构的情况下,如何读出表信息?使用ResultSetMetaData;然后使用getColumnType 获取column 类型使用getColumnName 获取column名字根据类型,使用ResultSet的getInt("column1")....获取每个...
分类:数据库   时间:2015-09-24 09:24:55    阅读次数:277
Oracle 查询性能优化实践
1.索引使用原则 不要对索引使用全模糊,但是 LIKE 'asdf%'是可以的,即不要Contains,可用StartWith 不要对索引进行函数,表达式操作,或者使用is null判断,否则将会使用全表扫描 不等于也会造成全表扫描,使用column 'a' 来替代 如果一个列有索引,另一个无索引,...
分类:数据库   时间:2015-09-23 19:25:09    阅读次数:178
#1406 - Data too long for column (转)
转自:(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
Excel双击“单元格”后,自动跳转到相关“工作表
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 found
完整错误信息: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
mysq常见问题
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
iOS开发之SQLite--C语言接口规范(四) —— Result Values From A Query
数据库的在上一篇博客中《SQLite之C语言接口规范(三)——Binding Values To Prepared Statements》用到了如何从查询结果中取出结果值。今天的博客就详细的介绍一下sqlite3_column_*()的方法。在SQLite数据库C语言接口中,从查询结果中取出不同.....
分类:移动开发   时间:2015-09-21 11:59:44    阅读次数:323
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!