码迷,mamicode.com
首页 >  
搜索关键字:from    ( 57817个结果
sql server 查询表基本信息sql
SELECT c.name,t.name TYPE,c.max_length,c.precision,c.scale,p.value FROM sys.extended_properties p INNER JOIN sys.columns c ON p.major_id=c.object_id A...
分类:数据库   时间:2015-05-13 18:28:21    阅读次数:182
oracle 基本查询语句及实例
1、查询所有列 select * from 表名; 2、查询表结构      desc 表名; 3、查询指定列 select ename,sal,job from 表名; 4、oracle中查看所有表和字段 获取表: select table_name from user_tables; //当前用户的表        select table...
分类:数据库   时间:2015-05-13 16:48:04    阅读次数:187
MySQL连接字符串
select * from tablenamewhere mydata like CONCAT(CURDATE(), '%') limit 3这里concat是字符串拼接, concat('mys', 'q', 'l') -> mysqlCURDATE()是日期不算时间 2015-05-13
分类:数据库   时间:2015-05-13 16:34:27    阅读次数:162
修改织梦DedeCms文章页默认title的方法
{dede:field.title/}_{dede:field name='typeid' runphp='yes'}$id=@me;global $dsql;$sql="select seotitle from dede_arctype where id=$id";$row=$dsql->getO...
分类:其他好文   时间:2015-05-13 16:11:05    阅读次数:111
mysql 数据库笔记-基本查询(分组、聚合函数)
SELECT COUNT(*) FROM T_Employee WHERE FAge=23;  //查看人数 ALTER TABLE T_Employee ADD FSubCompany VARCHAR(20); ALTER TABLE T_Employee ADD FDepartment VARCHAR(20);  //为T_Employee表增加两列 UPDATE T_Employee ...
分类:数据库   时间:2015-05-13 14:55:50    阅读次数:175
From Hibernate To Mybatis (一)
关于Mybatis的学习笔记...
分类:Web程序   时间:2015-05-13 14:55:24    阅读次数:199
Attempting to badge the application icon but haven't received permission from the user to badge the
今天调试出现了这个错误提示“Attempting to badge the application icon but haven't received permission from the user to badge the application”,代码里已经设置了ios8的处理,修改了半天,最后终于找到了错误原因是怎么造成有,是之前在手机设置里已经把通知给关闭了,所以才造成了这个错误提示的出...
分类:移动开发   时间:2015-05-13 14:48:43    阅读次数:124
Java_语法基础_取余操作符 %
首先我们来看下 The Java® Language Specification 中官方对它的定义:The binary % operator is said to yield the remainder of its operands from an implied division; the left-hand operand is the dividend and the right-hand...
分类:编程语言   时间:2015-05-13 14:48:25    阅读次数:126
mysql 中自定义变量排序
$temporary1 = DB::select('select hair_bbs_article.*,hair_member.nickname,hair_member.headphoto,'                 .' ('.$articleSort.' +(hair_bbs_article.order * '.$tenDayTime.')) as order1 from hair_...
分类:数据库   时间:2015-05-13 14:45:56    阅读次数:351
SQL Server 自定义函数(1)把某一列多行的值拼接成一个字符串
DECLARE @resultstr VARCHAR(8000)SET @resultstr=''SELECT @resultstr=@resultstr+'|'+[BaseImage] FROM dbo.life_fc PRINT @resultstr
分类:数据库   时间:2015-05-13 14:32:24    阅读次数:129
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!