码迷,mamicode.com
首页 >  
搜索关键字:fetch data from data    ( 119818个结果)
mysql float double 类型
1.float类型 float列类型默认长度查不到结果,必须指定精度, 比如 num float, insert into table (num) values (0.12); select * from table where num=0.12的话,empty set。 num float(9,7), insert into table (num) values (0.12); selec...
分类:数据库   时间:2014-07-01 11:09:56    阅读次数:308
oracle 中,日期和数字字符串的格式化
select SYSDATE from dual t;--系统日期 select TO_CHAR(SYSDATE,'YYYY/MM/DD HH24:MI:SS') from dual t;--格式化日期 select TO_DATE('20140630 18:28:20','YYYY/MM/DD HH24:MI:SS') from dual t;--格式化日期 select sysdate,...
分类:数据库   时间:2014-07-01 10:49:03    阅读次数:506
TI_DSP_SRIO - package type(包格式)
SRIO Packets: The RapidIOdata stream consists of data fields pertaining to the logical layer, thetransport layer, and the physical layer. ? The logical layer consists of the header (defining the typ...
分类:其他好文   时间:2014-07-01 09:03:27    阅读次数:294
oracle dual表
dual是个虚表,其只有一列。 当查询时间或者日期这些对象的时候就需要使用这个表。 例如: select sysdate from dual; 因为在oracle当中,查询语句必须要有关键字 select ....from tablename; 只有样语句才完整的。要是没有表名就无法查询。而时间日期等不存于任何表中,这时候时候就引入了dual 虚表概念。...
分类:数据库   时间:2014-07-01 08:58:10    阅读次数:240
解方程 (允许误差)
解方程 (允许误差)1. 确定范围2. 确定误差3. 确定增量4. 在区间内执行方程,满足误差存入解集5. 返回解集var solveFun = function( f /*function*/, c /*closest to 0*/, from /*from what number*/, to /*to what number*/, ic /*increasement*/){ var arr...
分类:其他好文   时间:2014-07-01 08:14:48    阅读次数:237
创建android画笔程序的例子(有镜面效果)
关键是在检测到手指移动的时候用mPath.quadTo的方法,android sdk解释是: Add a quadratic bezier from the last point, approaching control point (x1,y1), and ending at (x2,y2). If no moveTo() call has been made fo...
分类:移动开发   时间:2014-07-01 08:07:39    阅读次数:289
把字符串按照分割符分解成不同的部分
select regexp_substr('A,B,C,D,E', '[^,]+', 1, level, 'i') as str   from dual connect by level            length('A,B,C,D,E') - length(regexp_replace('A,B,C,D,E', ',', '')) + 1;...
分类:其他好文   时间:2014-07-01 07:38:06    阅读次数:217
not exists 事例
今天一个开发问到一个not exists问题,小小做个实验 实验1 SQL> select * from emp e1 where not exists (select 1 from emp e2 where e1.mgr = e2.empno);      EMPNO ENAME      JOB              MGR HIREDATE                 ...
分类:其他好文   时间:2014-07-01 06:59:39    阅读次数:164
zoj 3790 Consecutive Blocks(链表重点是思想)
Consecutive Blocks Time Limit: 2 Seconds      Memory Limit: 65536 KB There are N (1 ≤ N ≤ 105) colored blocks (numbered 1 to N from left to right) which are lined up in a row. And the i-th b...
分类:其他好文   时间:2014-07-01 06:51:52    阅读次数:218
U-boot引导流程分析二
Stage II过程分析 在Stage II中使用到了一些比较重要的数据结构,这里先对这些数据结构来进行下分析: typedef struct global_data { bd_t *bd; unsigned long flags; unsigned long baudrate; unsigned long have_console; /* serial_init() was cal...
分类:其他好文   时间:2014-07-01 06:16:16    阅读次数:371
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!