上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 66 下一页
摘要: (1)lower 转换小写(2)upper 转换大写(3)substr 截取子字符串(4)length 取长度例如查询员工姓名长度为5的:(5)trim 去空格,去掉的是首尾空格(6)to_date 将字符串转换成日期(7)to_char 将日期或数字转换成字符串(8)to_number 将字符串转换成数字(9)nvl 可以将NULL值转换成一个具体的值如下我想查询一下所有工资:有两种方法:第一种:第二种:结果显然不对,因为comm字段有空值,无法计算。解决方法如下:先把null值转为0然后再计算(10)case 分支语句(11)decode 通case(12)ro... 阅读全文
posted @ 2013-10-24 08:20 yshy 阅读(230) 评论(0) 推荐(0)
摘要: (1)查看所有表>select * from tab;(2)查看表结构>desc 表名;(3)将查询出来的字段显示为其他名称>select empno as 员工编号 from emp;或>select empno 员工编号 fromemp;(4)SQL Plus常用命令我们在SQLPlus中执行查询命令时会显示非常难看,通过以下两条命令设置之后就显示好多了。>set linesize 300;//表示一行为300个字符>set pagesize 100;//表示显示的页大小(5)l(list)可以显示缓存区中最后执行的内容(6)r(run)重新执行缓存区中 阅读全文
posted @ 2013-10-24 07:53 yshy 阅读(229) 评论(0) 推荐(0)
摘要: 首先要切换到系统用户:>conn ysytem(1):创建用户,用户名为test用户密码为test123。 create user test identified by test123(2):创建表空间,表空间名为ts_test文件位置为D:\dbfile\,大小为100M。 create tablespace ts_test datafile 'D:\dbfile\test_data.dbf' size 100m(3):将表空间分配给用户 alter user test default tablespace ts_test(4):给用户授权 grant create s 阅读全文
posted @ 2013-10-23 12:14 yshy 阅读(570) 评论(0) 推荐(0)
摘要: 效果:(1):Tooltip(2):Menu(3):NestedMenu(4):Login------源码: The title The content Tooltip Menu Nested Menu Login Here is a tiny popup being used like a tooltip. ... 阅读全文
posted @ 2013-10-21 14:15 yshy 阅读(3069) 评论(0) 推荐(0)
摘要: 代码片段: The title data-theme="a" data-theme="b" data-theme="c" data-theme="d" data-theme="e" The footer 阅读全文
posted @ 2013-10-21 13:19 yshy 阅读(4204) 评论(0) 推荐(0)
摘要: 效果如下:data-inset="true":为圆角data-filter="true":带着过滤输入框 The title The content One Two One One Two One Two One The footer 阅读全文
posted @ 2013-10-21 13:14 yshy 阅读(282) 评论(0) 推荐(0)
摘要: 1:dialog-test.html The title The content Open dialog The footer 2:dialog.html Dialog Delete page? OK Cancel 阅读全文
posted @ 2013-10-21 13:01 yshy 阅读(1966) 评论(0) 推荐(0)
摘要: 如下所示:主要用到的属性:android:drawableLeftshape_input.xml 阅读全文
posted @ 2013-10-21 08:15 yshy 阅读(1864) 评论(0) 推荐(0)
摘要: 内容(content)、填充(padding)、边框(border)、边界(margin), CSS盒子模式都具备这些属性。每个属性都包括四个部分:上、右、下、左;这四部分可同时设置,也可分别设置。 width、height是针对content。 阅读全文
posted @ 2013-10-19 10:59 yshy 阅读(229) 评论(0) 推荐(0)
摘要: 例如: 用户名 邮箱 阅读全文
posted @ 2013-10-19 09:40 yshy 阅读(517) 评论(0) 推荐(0)
上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 66 下一页