上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
  2013年1月23日
摘要: 1. Table and tablespace locationFinding out who owns a table and what tablespace it is in is a pretty common need of the DBA. In this query, we use the dba_tables view to find the owner and tablespace name of the EMP table.SELECT table_name, tablespace_name, STATUS FROM user_tables WHERE table_name. 阅读全文
posted @ 2013-01-23 07:07 Simon Han 阅读(354) 评论(0) 推荐(0) 编辑
  2013年1月22日
摘要: SQL语句大全—查看表空间(一)查看表空间的名称及大小:SQL>SELECTT.TABLESPACE_NAME, ROUND(SUM(BYTES/(1024 * 1024)), 0) TS_SIZEFROMDBA_TABLESPACES T, DBA_DATA_FILES DWHERET.TABLESPACE_NAME = D.TABLESPACE_NAMEGROUPBYT.TABLESPACE_NAME;查看表空间物理文件的名称及大小:SQL>SELECTTABLESPACE_NAME,FILE_ID,FILE_NAME,ROUND(BYTES / (1024 * 1024), 阅读全文
posted @ 2013-01-22 18:56 Simon Han 阅读(7155) 评论(0) 推荐(0) 编辑
摘要: In the HPP file:#include <stdio.h>#include <string.h>class ParentFirst{public: ParentFirst() { } ParentFirst(const char * pName, const int pAge) { strcpy(this->name, pName); this->age = pAge; } ~ParentFirst() {} virtual void Show() { printf("print in p... 阅读全文
posted @ 2013-01-22 11:44 Simon Han 阅读(351) 评论(0) 推荐(0) 编辑
  2013年1月15日
摘要: Oracle函数 字符串函数 数学函数 日期函数 逻辑运算函数 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 322.CHR给出整数,返回对应的字符;SQL> select chr(54740) zhao,chr(65) chr65 from dual;ZH C-- -赵 A3.C 阅读全文
posted @ 2013-01-15 20:29 Simon Han 阅读(207) 评论(0) 推荐(0) 编辑
  2013年1月14日
摘要: From:http://www.cnblogs.com/gaolonglong/archive/2011/05/31/2064790.htmlOracle中动态SQL详解1.静态SQLSQL与动态SQL Oracle编译PL/SQL程序块分为两个种:其一为前期联编(early binding),即SQL语句在程序编译期间就已经确定,大多数的编译情况属于这种类型;另外一种是后期联编(late binding),即SQL语句只有在运行阶段才能建立,例如当查询条件为用户输入时,那么Oracle的SQL引擎就无法在编译期对该程序语句进行确定,只能在用户输入一定的查询条件后才能提交给SQL引擎进行处理. 阅读全文
posted @ 2013-01-14 19:46 Simon Han 阅读(327) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页