摘要: 这是存在此要求时可这样使用若有如下情情况dm content111 ertre12 434513 fgs14 43515 345可以用 selectcontent from where instr(dm, 传入的参数)=1;获取 当dm为1时 可得11 ertre12 434513 fgs14 43515 345当 dm=11时 得11 ertreINSTR函数 使用方法INSTR (源字符串, 目标字符串, 起始位置, 匹配序号) 在Oracle/PLSQL中,instr函数返回要截取的字符串在源字符串中的位置。只检索一次,就是说从字符的开始 到字符的结尾就结束。 语法如下: in... 阅读全文
posted @ 2012-05-30 21:27 diwer 阅读(885) 评论(0) 推荐(0) 编辑
摘要: jquery 访问.ashx 取值 $.ajax({ type: "POST", url: "ajaxUpFile.ashx",//这是访问的。ashx文件 data:{ upfile: $("#" + obfile_id).val()},.ashx 中用string teststr = context.Request.Form["upfile"]; //upfile为参数名 阅读全文
posted @ 2012-05-30 20:55 diwer 阅读(362) 评论(0) 推荐(0) 编辑
摘要: select KSCJ*10 || '--'|| (KSCJ+1)*10 as 成绩段 ,count(KSCJ) from(select floor(KSCJ/10) as KSCJ from kszt)group by KSCJ order by KSCJ*10 || '--'|| (KSCJ+1)*10 descKSCJ为表名 上述语句可得到成绩的分段统计 阅读全文
posted @ 2012-05-30 19:57 diwer 阅读(814) 评论(0) 推荐(0) 编辑