博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

08 2010 档案

摘要:--删除表空间drop tablespace tablespace_name including contents and datafiles; SYS用户在CMD下以DBA身份登陆: 在CMD中打sqlplus /nolog 然后再 conn / as sysdba //创建临时表空间 create temporary tablespace user_temp tempfile 'D:\ora... 阅读全文

posted @ 2010-08-24 11:23 AndyZhou 阅读(194) 评论(0) 推荐(0)

摘要:SQL中的单记录函数 1.ASCII 返回与指定的字符对应的十进制数; SQL> select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual; A A ZERO SPACE --------- --------- --------- --------- 65 97 48 32 2.CHR 给出整数... 阅读全文

posted @ 2010-08-23 20:20 AndyZhou 阅读(169) 评论(1) 推荐(0)

摘要:Oracle基本语法1>字符处理upper(str)---将字符串str全部转换成大写lower(str)---将字符串str全部转换成小写initcap(str)---将字符串中每个单词的首字母大写concat(str1,str2)---将字符串str1与str2连接起来(也可以通过'||'号直接相连)substr(str,a,b)---取字符串str中的指定字符,从位置a开始取长度为b的... 阅读全文

posted @ 2010-08-23 14:45 AndyZhou 阅读(2110) 评论(0) 推荐(0)