摘要: 1.取整(大) select ceil(-1.001) value from dual2.取整(小) select floor(-1.001) value from dual3.取整(截取) select trunc(-1.002) value from dual 4.取整(舍入) select r 阅读全文
posted @ 2017-06-03 16:29 忧郁香蕉 阅读(961) 评论(0) 推荐(0)
摘要: 步骤/方法 打开路由器配置页面。(输入路由器IP地址,输入用户名密码进入。) 查看本机IP地址,方法如下: 打开本地命令行窗口,输入命令ipconfig 回车,如下图中红框内信息为本机的IP地址。 选择 转发规则菜单中DMZ主机设置: 设置DMZ状态为启用。 设置DMZ主机IP地址为本机IP地址,如 阅读全文
posted @ 2017-04-19 16:40 忧郁香蕉 阅读(1571) 评论(0) 推荐(0)
摘要: order by CAST ( id AS int ) 阅读全文
posted @ 2017-03-15 16:53 忧郁香蕉 阅读(3467) 评论(0) 推荐(0)
摘要: --添加字段alter table INP_ADVICE add (IS_DISPLAY NUMBER(1));comment on column INP_ADVICE.IS_DISPLAY is '是否显示';commit; --使用一个SQL语句同时添加三个字段: alter table tes 阅读全文
posted @ 2017-03-15 16:51 忧郁香蕉 阅读(31493) 评论(0) 推荐(2)
摘要: ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED; --查询密码状态select * from dba_profiles where profile='DEFAULT' and resource_name='PASSWORD_LIFE_ 阅读全文
posted @ 2017-03-14 17:26 忧郁香蕉 阅读(194) 评论(0) 推荐(0)
摘要: 使用rownum --修改个人编号update sys_user t set t.user_no = 17020000+rownum,t.user_work_no = 17020000+rownum where t.user_no is null; 阅读全文
posted @ 2017-03-14 17:24 忧郁香蕉 阅读(2539) 评论(0) 推荐(0)
摘要: /*分为四步 *//*第1步:创建临时表空间 */create temporary tablespace IMS_DATA tempfile 'D:\oracledata\yuhang_temp.dbf' size 50m autoextend on next 50m maxsize 20480m 阅读全文
posted @ 2017-03-14 17:20 忧郁香蕉 阅读(291) 评论(0) 推荐(0)
摘要: 在“命令提示符”里输入 netsh wlan set hostednetwork mode=allow ssid=wifi key=1234567890 回车,系统会自动虚拟出一个wifi热点 “ssid=”后面是wifi热点名称,“key=”后面是密码,密码必须是8位或者8位以上。同样在命令提示符 阅读全文
posted @ 2017-03-14 17:11 忧郁香蕉 阅读(392) 评论(0) 推荐(0)
摘要: 第一种方法: 先查询一下当前用户下的所有空表 select table_name from user_tables where NUM_ROWS=0; 用以下这句查找空表 select 'alter table '||table_name||' allocate extent;' from user 阅读全文
posted @ 2017-03-14 16:59 忧郁香蕉 阅读(308) 评论(0) 推荐(0)
摘要: yum install gcc gcc-c++ autoconf automakeyum install pcre pcre-develyum install -y openssl openssl-devel cd /appdata/soft/tengine-2.1.2 ./configure -- 阅读全文
posted @ 2017-03-14 16:39 忧郁香蕉 阅读(3924) 评论(0) 推荐(0)