摘要: 出现这种问题是因为日期格式的问题,调整日期格式后就可以了改成yyyy-mm-dd的格式就好了 阅读全文
posted @ 2014-12-17 17:49 剑指南山 阅读(661) 评论(0) 推荐(0)
摘要: 1 --oracle 函数 2 --lower(char):将字符串转换为小写格式 3 --upper(char):将字符串转换为大写格式 4 --length(char):返回字符串的长度 5 --substr(char,m,n):取字符串的子串 6 --用户名小写 7 select lower... 阅读全文
posted @ 2014-04-14 19:23 剑指南山 阅读(528) 评论(0) 推荐(0)
摘要: 1 --oracle表的管理 2 3 --创建表 4 create table users(userName varchar2(20)); 5 --删除表 6 drop table users; 7 --创建表 8 create table student(xh number(4),xm varchar2(20),sex char(2),birthday date,sal number(7,2)); 9 create table classes(classId number(2),cnmae varchar2(40)); 10 --添加一个字段 11 alter tabl... 阅读全文
posted @ 2014-04-13 08:45 剑指南山 阅读(503) 评论(0) 推荐(0)
摘要: 1 --oracle学习第一天 2 --连接 @后面连接数据库实例,具体连接到那个数据库 3 conn scott/tiger@MYORA1; 4 --修改密码 5 passw; 6 --显示用户 7 show user; 8 --查询emp 9 select * from emp;10 --进行... 阅读全文
posted @ 2014-04-12 21:48 剑指南山 阅读(515) 评论(0) 推荐(0)
摘要: package com.yin.button.Activity;import android.app.Activity;import android.os.Bundle;import android.view.View;import android.widget.Button;import andr... 阅读全文
posted @ 2011-11-22 23:52 剑指南山 阅读(234) 评论(1) 推荐(0)