oracle
sdzlwind
这个作者很懒,什么都没留下…
展开
-
oracel应用(一)
java: oracle中字段类型为clob,在生成表代码中type要写为org.springframework.orm.hibernate3.support.ClobStringType 否则输入内荣大于1000就会有问题 oracle 从一个表中,按照找表中日期字段的时间段以及具体的时间来查询数据信息SELECT * FROM GZL_ACTION_INSTANCE AI ...原创 2011-06-29 21:01:34 · 81 阅读 · 0 评论 -
oracle 建索引语句
oracle 建索引语句 create index a_index1 on cfmc_3mon(node_id) create index a_index2 on cfmc_3mon(during_time) 或这样: create index a_index on cfmc_3mon(node_id,during...原创 2011-06-29 21:07:40 · 379 阅读 · 0 评论 -
查看ORACLE表空间是否自动扩展
非临时表空间: select file_id from dba_data_files where tablespace_name=; alter database datafile autoextend on next 10M maxsize 10G; 临时表空间: select file_id from dba_temp_files where tablespace_name=;...原创 2011-07-08 17:59:34 · 776 阅读 · 0 评论 -
oracle把一个表的数据插入到另一个表中
把一个表的数据插入到另一个表中 insert into userareaterminal (id,areaid,mobilenumber,terminalid,status) select SEQ_USERAREATERMINAL_ID.NEXTVAL,2,t.mobilenumber, t.terminalid,0 from terminalmanage t;...原创 2011-08-02 10:27:15 · 1724 阅读 · 0 评论