- 浏览: 425583 次
- 性别:
- 来自: 珠海
文章分类
- 全部博客 (364)
- oracle (23)
- java (39)
- birt (10)
- uml (0)
- android (10)
- ubuntu (12)
- mysql (21)
- ant (1)
- lucence (1)
- Design Pattern (0)
- Data Struct (0)
- cvs svn vss (1)
- javascript (2)
- css (1)
- qtp (2)
- LoadRunner (0)
- spring3.0源码分析 (1)
- 编程经验 (2)
- 工作日志 (1)
- svn apache (2)
- vbscript (3)
- jbpm4.0-5.0 (0)
- 百度百科 (1)
- ivy (1)
- jni (0)
- drools5.1 (2)
- vss (1)
- 联系方式 (1)
- maven (2)
- jetty (1)
- webservice (0)
- Flex (45)
- 开发工具 (3)
- json (1)
- 项目配置应注意的问题 (1)
- freemarker 代码生成 (1)
- 自考 (0)
- 脚本语言 (0)
- weblogic (4)
- jar包冲突 (0)
- Nginx (2)
- Zxing (1)
- 嵌入式开发 (2)
- C# (4)
- 开发经验总结 注意事项 (1)
- CentOS 6.0 (4)
- BI (0)
- Hadoop (2)
- tomcat (3)
- db2 (1)
- sqlserver (1)
- php (5)
- thinkphp (0)
- amfphp (0)
- cognos (0)
- nutch (0)
- mongodb (9)
- nodejs (3)
- webrtc (0)
- websocket (0)
- html5 (0)
- css3 (0)
- nosql (2)
- ssdb (1)
- icommet (0)
- memcached (0)
- protocal (1)
- Linux --ssh (8)
- postgresql (8)
- sequoiadb (1)
- jquery (1)
- jvm jmx (1)
- spark (0)
- hbase (0)
- storm (0)
- netty (0)
- mina (0)
- shell (2)
- sacala (0)
- go (0)
- mac (1)
- netbean (1)
- mysql_postgresql (4)
- 消息队列 (0)
- neo4j (0)
- git (1)
- python (1)
- Perl (0)
- docker (4)
- video audio (1)
- actionscript (1)
- tensorflow (0)
- 机器学习 (0)
- 人工智能 (0)
- cas (1)
- 协程 (1)
- http (1)
- window (1)
- 内网穿透 (1)
- angular5 (0)
- vpn (2)
- AI (0)
- NLP (0)
- Spring Clound (0)
- mongoldb (1)
- 前端 (0)
最新评论
-
ping2010:
哥们最后如何解决的?
neo4j 未修改jdbc驱动中的连接用户名与密码错识 -
Gedo:
小菜求指点 ivy.xml里面怎么声明 能不说详细点 大 ...
ivy + ant+eclipse -
dongguang1082:
[color=red][/color][img][/]
条形码的工作原理和详细的内容 -
JadeLuo:
要将项目转化成Flex的项目类型才会自动生成
Flex4项目html-template文件夹解析 -
quentinyu777:
你好,我在创建Flex4SDK的Project为什么不生成ht ...
Flex4项目html-template文件夹解析
create or replace procedure hkeam_p_bookkeeping_detail(my_cursor out sys_refcursor, assetinfo_assetid_in in varchar2)
is
begin
open my_cursor for
select assetorder.orderdate 领用时间_订单时间
,assetorder.orderprincipal 领用人,
(select dep.depname from ams_bd_department dep where dep.depid = (
select emp.depid from ams_bd_employee emp where emp.employeeid = (
select ord.orderprincipal from ams_sm_assetorder ord where ord.orderid =
(select * from (select ordlist.orderid from ams_sm_orderlist ordlist,ams_sm_assetorder assetorder
where ordlist.assetid = 'assetid1' and ordlist.orderid = assetorder.orderid order by assetorder.orderdate ) where rownum < 2)))) 信用部门
,(select count(*) 保养次数 from ams_msm_maintaininfo a where a.assetid =assetinfo_assetid_in and a.maintype='养护') 保养次数
,(select b.mcost from ams_msm_maintaininfo b where b.assetid =assetinfo_assetid_in and b.maintype='养护')保养费用
,(select count(*) 保养次数 from ams_msm_maintaininfo c where c.assetid =assetinfo_assetid_in and c.maintype='维修') 维修次数
,(select d.mcost from ams_msm_maintaininfo d where d.assetid =assetinfo_assetid_in and d.maintype='维修')维修费用
from ams_sm_assetinfo t
,ams_sm_assetorder assetorder
,ams_sm_orderlist orderlist
where
t.assetid = assetinfo_assetid_in
and
(orderlist.assetid (+)= assetinfo_assetid_in
and orderlist.assetid(+)= assetorder.orderid) --注意顺序
order by assetorder.orderdate desc;
end hkeam_p_bookkeeping_detail;
create or replace procedure hkeam_p_bookkeeping_list (outputlist out sys_refcursor, indexpagenum in number ,perpagelimitcount in number)
is
begin
open outputlist for
select * from (
select distinct t.id, t.assetid 资产编号
,t.assetname 资产名称
,t.assetsize 资产型号
,assettype.atypename 资产类型_车辆_设备
,sup.suppliername 对应供应商
,assetorder.enteyd 入库时间
,storem.storename 所在仓库名称
,devicemessage.state 资产状态,stockinfo.qty 资产数量
from ams_sm_assetinfo t
,ams_bd_assettype assettype
,ams_bd_supplier sup
,AMS_SM_ASSETORDER assetorder,AMS_SM_ORDERLIST orserlist
,AMS_SM_STOCKINFO stockinfo,AMS_BD_STOREM storem
,AMS_MSM_DEVICEMESSAGE devicemessage
where
assettype.atypeid (+)= t.atypeid
and sup.supplierid (+)= t.supplierid
and (orserlist.assetid (+)= t.assetid and assetorder.orderid(+)=orserlist.orderid )
and (stockinfo.assetid (+)= t.assetid and storem.storeid(+)= stockinfo.storeid)
and devicemessage.assetid (+)= t.assetid
union
select distinct t.id, t.assetid 资产编号
,t.assetname 资产名称
,t.assetsize 资产型号
,assettype.atypename 资产类型_车辆_设备
,sup.suppliername 对应供应商
,assetorder.enteyd 入库时间
,storem.storename 所在仓库名称
,carmessage.state 资产状态,stockinfo.qty 资产数量
from ams_sm_assetinfo t
,ams_bd_assettype assettype
,ams_bd_supplier sup
,AMS_SM_ASSETORDER assetorder,AMS_SM_ORDERLIST orserlist
,AMS_SM_STOCKINFO stockinfo,AMS_BD_STOREM storem
,ams_vm_carmessage carmessage
where
assettype.atypeid (+)= t.atypeid
and sup.supplierid (+)= t.supplierid
and (orserlist.assetid (+)= t.assetid and assetorder.orderid (+)= orserlist.orderid )
and (stockinfo.assetid (+)= t.assetid and storem.storeid (+)= stockinfo.storeid)
and carmessage.aseetid (+)= t.assetid
order by id desc
)where
rownum <= indexpagenum* perpagelimitcount and rownum >= (indexpagenum-1)* perpagelimitcount
;
end hkeam_p_bookkeeping_list;
create or replace procedure hkeam_p_bookkeeping_search (outputlist out sys_refcursor, assetid_in in varchar2,assetname_in in varchar2,assetsize_in in varchar2)
is
begin
open outputlist for
select distinct t.id, t.assetid 资产编号
,t.assetname 资产名称
,t.assetsize 资产型号
,assettype.atypename 资产类型_车辆_设备
,sup.suppliername 对应供应商
,assetorder.enteyd 入库时间
,storem.storename 所在仓库名称
,devicemessage.state 资产状态,stockinfo.qty 资产数量
from ams_sm_assetinfo t
,ams_bd_assettype assettype
,ams_bd_supplier sup
,AMS_SM_ASSETORDER assetorder,AMS_SM_ORDERLIST orserlist
,AMS_SM_STOCKINFO stockinfo,AMS_BD_STOREM storem
,AMS_MSM_DEVICEMESSAGE devicemessage
where
assettype.atypeid (+)= t.atypeid
and sup.supplierid (+)= t.supplierid
and (orserlist.assetid (+)= t.assetid and assetorder.orderid(+)=orserlist.orderid )
and (stockinfo.assetid (+)= t.assetid and storem.storeid(+)= stockinfo.storeid)
and devicemessage.assetid (+)= t.assetid
and t.assetid like sys.standard.CONCAT(sys.standard.CONCAT('%',assetid_in),'%')
and t.assetname like sys.standard.CONCAT(sys.standard.CONCAT('%',assetname_in),'%')
and t.assetsize like sys.standard.CONCAT(sys.standard.CONCAT('%',assetsize_in),'%')
--order by t.id desc
union all
select distinct t.id, t.assetid 资产编号
,t.assetname 资产名称
,t.assetsize 资产型号
,assettype.atypename 资产类型_车辆_设备
,sup.suppliername 对应供应商
,assetorder.enteyd 入库时间
,storem.storename 所在仓库名称
,carmessage.state 资产状态,stockinfo.qty 资产数量
from ams_sm_assetinfo t
,ams_bd_assettype assettype
,ams_bd_supplier sup
,AMS_SM_ASSETORDER assetorder,AMS_SM_ORDERLIST orserlist
,AMS_SM_STOCKINFO stockinfo,AMS_BD_STOREM storem
,ams_vm_carmessage carmessage
where
assettype.atypeid (+)= t.atypeid
and sup.supplierid (+)= t.supplierid
and (orserlist.assetid (+)= t.assetid and assetorder.orderid (+)= orserlist.orderid )
and (stockinfo.assetid (+)= t.assetid and storem.storeid (+)= stockinfo.storeid)
and carmessage.aseetid (+)= t.assetid
and t.assetid like sys.standard.CONCAT(sys.standard.CONCAT('%',assetid_in),'%')
and t.assetname like sys.standard.CONCAT(sys.standard.CONCAT('%',assetname_in),'%')
and t.assetsize like sys.standard.CONCAT(sys.standard.CONCAT('%',assetsize_in),'%')
order by id desc
;
end hkeam_p_bookkeeping_search;
create or replace procedure hkeam_p_bookkeeping_list_size (size_out out varchar2)
is
begin
select count(*) into size_out from (
select distinct t.id, t.assetid 资产编号
,t.assetname 资产名称
,t.assetsize 资产型号
,assettype.atypename 资产类型_车辆_设备
,sup.suppliername 对应供应商
,assetorder.enteyd 入库时间
,storem.storename 所在仓库名称
,devicemessage.state 资产状态,stockinfo.qty 资产数量
from ams_sm_assetinfo t
,ams_bd_assettype assettype
,ams_bd_supplier sup
,AMS_SM_ASSETORDER assetorder,AMS_SM_ORDERLIST orserlist
,AMS_SM_STOCKINFO stockinfo,AMS_BD_STOREM storem
,AMS_MSM_DEVICEMESSAGE devicemessage
where
assettype.atypeid (+)= t.atypeid
and sup.supplierid (+)= t.supplierid
and (orserlist.assetid (+)= t.assetid and assetorder.orderid(+)=orserlist.orderid )
and (stockinfo.assetid (+)= t.assetid and storem.storeid(+)= stockinfo.storeid)
and devicemessage.assetid (+)= t.assetid
union
select distinct t.id, t.assetid 资产编号
,t.assetname 资产名称
,t.assetsize 资产型号
,assettype.atypename 资产类型_车辆_设备
,sup.suppliername 对应供应商
,assetorder.enteyd 入库时间
,storem.storename 所在仓库名称
,carmessage.state 资产状态,stockinfo.qty 资产数量
from ams_sm_assetinfo t
,ams_bd_assettype assettype
,ams_bd_supplier sup
,AMS_SM_ASSETORDER assetorder,AMS_SM_ORDERLIST orserlist
,AMS_SM_STOCKINFO stockinfo,AMS_BD_STOREM storem
,ams_vm_carmessage carmessage
where
assettype.atypeid (+)= t.atypeid
and sup.supplierid (+)= t.supplierid
and (orserlist.assetid (+)= t.assetid and assetorder.orderid (+)= orserlist.orderid )
and (stockinfo.assetid (+)= t.assetid and storem.storeid (+)= stockinfo.storeid)
and carmessage.aseetid (+)= t.assetid
order by id desc
);
end hkeam_p_bookkeeping_list_size;
is
begin
open my_cursor for
select assetorder.orderdate 领用时间_订单时间
,assetorder.orderprincipal 领用人,
(select dep.depname from ams_bd_department dep where dep.depid = (
select emp.depid from ams_bd_employee emp where emp.employeeid = (
select ord.orderprincipal from ams_sm_assetorder ord where ord.orderid =
(select * from (select ordlist.orderid from ams_sm_orderlist ordlist,ams_sm_assetorder assetorder
where ordlist.assetid = 'assetid1' and ordlist.orderid = assetorder.orderid order by assetorder.orderdate ) where rownum < 2)))) 信用部门
,(select count(*) 保养次数 from ams_msm_maintaininfo a where a.assetid =assetinfo_assetid_in and a.maintype='养护') 保养次数
,(select b.mcost from ams_msm_maintaininfo b where b.assetid =assetinfo_assetid_in and b.maintype='养护')保养费用
,(select count(*) 保养次数 from ams_msm_maintaininfo c where c.assetid =assetinfo_assetid_in and c.maintype='维修') 维修次数
,(select d.mcost from ams_msm_maintaininfo d where d.assetid =assetinfo_assetid_in and d.maintype='维修')维修费用
from ams_sm_assetinfo t
,ams_sm_assetorder assetorder
,ams_sm_orderlist orderlist
where
t.assetid = assetinfo_assetid_in
and
(orderlist.assetid (+)= assetinfo_assetid_in
and orderlist.assetid(+)= assetorder.orderid) --注意顺序
order by assetorder.orderdate desc;
end hkeam_p_bookkeeping_detail;
create or replace procedure hkeam_p_bookkeeping_list (outputlist out sys_refcursor, indexpagenum in number ,perpagelimitcount in number)
is
begin
open outputlist for
select * from (
select distinct t.id, t.assetid 资产编号
,t.assetname 资产名称
,t.assetsize 资产型号
,assettype.atypename 资产类型_车辆_设备
,sup.suppliername 对应供应商
,assetorder.enteyd 入库时间
,storem.storename 所在仓库名称
,devicemessage.state 资产状态,stockinfo.qty 资产数量
from ams_sm_assetinfo t
,ams_bd_assettype assettype
,ams_bd_supplier sup
,AMS_SM_ASSETORDER assetorder,AMS_SM_ORDERLIST orserlist
,AMS_SM_STOCKINFO stockinfo,AMS_BD_STOREM storem
,AMS_MSM_DEVICEMESSAGE devicemessage
where
assettype.atypeid (+)= t.atypeid
and sup.supplierid (+)= t.supplierid
and (orserlist.assetid (+)= t.assetid and assetorder.orderid(+)=orserlist.orderid )
and (stockinfo.assetid (+)= t.assetid and storem.storeid(+)= stockinfo.storeid)
and devicemessage.assetid (+)= t.assetid
union
select distinct t.id, t.assetid 资产编号
,t.assetname 资产名称
,t.assetsize 资产型号
,assettype.atypename 资产类型_车辆_设备
,sup.suppliername 对应供应商
,assetorder.enteyd 入库时间
,storem.storename 所在仓库名称
,carmessage.state 资产状态,stockinfo.qty 资产数量
from ams_sm_assetinfo t
,ams_bd_assettype assettype
,ams_bd_supplier sup
,AMS_SM_ASSETORDER assetorder,AMS_SM_ORDERLIST orserlist
,AMS_SM_STOCKINFO stockinfo,AMS_BD_STOREM storem
,ams_vm_carmessage carmessage
where
assettype.atypeid (+)= t.atypeid
and sup.supplierid (+)= t.supplierid
and (orserlist.assetid (+)= t.assetid and assetorder.orderid (+)= orserlist.orderid )
and (stockinfo.assetid (+)= t.assetid and storem.storeid (+)= stockinfo.storeid)
and carmessage.aseetid (+)= t.assetid
order by id desc
)where
rownum <= indexpagenum* perpagelimitcount and rownum >= (indexpagenum-1)* perpagelimitcount
;
end hkeam_p_bookkeeping_list;
create or replace procedure hkeam_p_bookkeeping_search (outputlist out sys_refcursor, assetid_in in varchar2,assetname_in in varchar2,assetsize_in in varchar2)
is
begin
open outputlist for
select distinct t.id, t.assetid 资产编号
,t.assetname 资产名称
,t.assetsize 资产型号
,assettype.atypename 资产类型_车辆_设备
,sup.suppliername 对应供应商
,assetorder.enteyd 入库时间
,storem.storename 所在仓库名称
,devicemessage.state 资产状态,stockinfo.qty 资产数量
from ams_sm_assetinfo t
,ams_bd_assettype assettype
,ams_bd_supplier sup
,AMS_SM_ASSETORDER assetorder,AMS_SM_ORDERLIST orserlist
,AMS_SM_STOCKINFO stockinfo,AMS_BD_STOREM storem
,AMS_MSM_DEVICEMESSAGE devicemessage
where
assettype.atypeid (+)= t.atypeid
and sup.supplierid (+)= t.supplierid
and (orserlist.assetid (+)= t.assetid and assetorder.orderid(+)=orserlist.orderid )
and (stockinfo.assetid (+)= t.assetid and storem.storeid(+)= stockinfo.storeid)
and devicemessage.assetid (+)= t.assetid
and t.assetid like sys.standard.CONCAT(sys.standard.CONCAT('%',assetid_in),'%')
and t.assetname like sys.standard.CONCAT(sys.standard.CONCAT('%',assetname_in),'%')
and t.assetsize like sys.standard.CONCAT(sys.standard.CONCAT('%',assetsize_in),'%')
--order by t.id desc
union all
select distinct t.id, t.assetid 资产编号
,t.assetname 资产名称
,t.assetsize 资产型号
,assettype.atypename 资产类型_车辆_设备
,sup.suppliername 对应供应商
,assetorder.enteyd 入库时间
,storem.storename 所在仓库名称
,carmessage.state 资产状态,stockinfo.qty 资产数量
from ams_sm_assetinfo t
,ams_bd_assettype assettype
,ams_bd_supplier sup
,AMS_SM_ASSETORDER assetorder,AMS_SM_ORDERLIST orserlist
,AMS_SM_STOCKINFO stockinfo,AMS_BD_STOREM storem
,ams_vm_carmessage carmessage
where
assettype.atypeid (+)= t.atypeid
and sup.supplierid (+)= t.supplierid
and (orserlist.assetid (+)= t.assetid and assetorder.orderid (+)= orserlist.orderid )
and (stockinfo.assetid (+)= t.assetid and storem.storeid (+)= stockinfo.storeid)
and carmessage.aseetid (+)= t.assetid
and t.assetid like sys.standard.CONCAT(sys.standard.CONCAT('%',assetid_in),'%')
and t.assetname like sys.standard.CONCAT(sys.standard.CONCAT('%',assetname_in),'%')
and t.assetsize like sys.standard.CONCAT(sys.standard.CONCAT('%',assetsize_in),'%')
order by id desc
;
end hkeam_p_bookkeeping_search;
create or replace procedure hkeam_p_bookkeeping_list_size (size_out out varchar2)
is
begin
select count(*) into size_out from (
select distinct t.id, t.assetid 资产编号
,t.assetname 资产名称
,t.assetsize 资产型号
,assettype.atypename 资产类型_车辆_设备
,sup.suppliername 对应供应商
,assetorder.enteyd 入库时间
,storem.storename 所在仓库名称
,devicemessage.state 资产状态,stockinfo.qty 资产数量
from ams_sm_assetinfo t
,ams_bd_assettype assettype
,ams_bd_supplier sup
,AMS_SM_ASSETORDER assetorder,AMS_SM_ORDERLIST orserlist
,AMS_SM_STOCKINFO stockinfo,AMS_BD_STOREM storem
,AMS_MSM_DEVICEMESSAGE devicemessage
where
assettype.atypeid (+)= t.atypeid
and sup.supplierid (+)= t.supplierid
and (orserlist.assetid (+)= t.assetid and assetorder.orderid(+)=orserlist.orderid )
and (stockinfo.assetid (+)= t.assetid and storem.storeid(+)= stockinfo.storeid)
and devicemessage.assetid (+)= t.assetid
union
select distinct t.id, t.assetid 资产编号
,t.assetname 资产名称
,t.assetsize 资产型号
,assettype.atypename 资产类型_车辆_设备
,sup.suppliername 对应供应商
,assetorder.enteyd 入库时间
,storem.storename 所在仓库名称
,carmessage.state 资产状态,stockinfo.qty 资产数量
from ams_sm_assetinfo t
,ams_bd_assettype assettype
,ams_bd_supplier sup
,AMS_SM_ASSETORDER assetorder,AMS_SM_ORDERLIST orserlist
,AMS_SM_STOCKINFO stockinfo,AMS_BD_STOREM storem
,ams_vm_carmessage carmessage
where
assettype.atypeid (+)= t.atypeid
and sup.supplierid (+)= t.supplierid
and (orserlist.assetid (+)= t.assetid and assetorder.orderid (+)= orserlist.orderid )
and (stockinfo.assetid (+)= t.assetid and storem.storeid (+)= stockinfo.storeid)
and carmessage.aseetid (+)= t.assetid
order by id desc
);
end hkeam_p_bookkeeping_list_size;
发表评论
-
actionscript rtmp 推流
2016-08-17 17:38 890<?xml version="1.0 ... -
Flex与JavaScript交互
2016-07-25 18:43 444http://www.cnblogs.com/zhaozha ... -
解决oracle表的主键被另一个表作为外键关联使用后主表无法清空问题思路
2011-12-08 16:29 3782select c.constraint_name, ... -
Oracle企业管理器错误解决方法.txt
2011-11-24 15:35 1403http://wenku.baidu.com/view/f27 ... -
oracle数据库备份
2011-11-24 10:03 800ORACLE数据库的逻辑备份分为三种模式:表备份、用户备份和完 ... -
vim for window xp
2011-11-23 16:41 681http://www.2bridal.net/shgq/?p= ... -
条形码的工作原理和详细的内容
2011-11-13 18:53 5145http://android.d.cn/software/32 ... -
hkeam运行时错误与配置相关的内容
2011-11-08 12:25 1080未在tomcat中替换 juel的3个包 mx.messagi ... -
Flex加载后台返回的流的图片
2011-11-07 15:31 828http://blog.csdn.net/To9m/artic ... -
List排序
2011-11-02 11:41 837private List sortList(List list ... -
共享无线
2011-10-28 18:19 10011.如果无线网络连接创 ... -
Java反射机制 与克隆对象
2011-10-28 08:35 1027http://www.iteye.com/problems/5 ... -
MyEclipse优化
2011-10-28 08:34 714http://apps.hi.baidu.com/share/ ... -
hibernate 调用oracle存储过程
2011-10-27 16:30 801http://blog.knowsky.com/191930. ... -
Flex 嵌入jsp
2011-10-27 13:35 1519http://zwh910621.iteye.com/blog ... -
No Dialect mapping for JDBC type: -1 原文链接:http://itlife365.com/blog/read.php/47
2011-10-25 11:13 1013http://itlife365.com/blog/read. ... -
Flex debug问题
2011-10-19 13:09 772http://www.cnblogs.com/riacool/ ... -
注意hibernate查单一字段和查两个以上的字段返回的结果
2011-10-10 13:52 877注意hibernate查单一字段和查两个以上的字段返回的结果 ... -
eclipse修改tomcat位置
2011-10-09 11:56 903Server Locations修改后会变灰,如果需要更改设置 ... -
Flex 项目安装备份文件
2011-10-08 11:00 864导入新项目时注意html-template文件夹内的内容是否完 ...
相关推荐
Oracle 常用 SQL 语句大全 本文档总结了 Oracle 中常用的 SQL 语句,包括数据库的创建、删除、备份、表的创建、删除、修改、索引的创建、视图的创建等基本操作,以及一些高级查询运算符的使用。 一、数据库操作 ...
### 从 SQL Server 迁移大批量数据到 Oracle 在 IT 领域,数据库迁移是一项常见的任务,尤其是在企业级应用中。随着业务的发展和技术的进步,企业可能需要将现有的 SQL Server 数据库迁移到 Oracle 数据库。本文将...
"Oracle_backup.rar_dba_oracle"这个压缩包显然包含了关于Oracle数据库备份的相关资料,对DBA或希望成为DBA的人来说非常有价值。 首先,"使用手册.txt"可能是一份Oracle数据库备份和恢复的手册,它可能会涵盖Oracle...
Oracle支持多种备份策略,如物理备份(包括全备和增量备)和逻辑备份(例如,使用SQL*Plus的EXPDP工具)。物理备份通常通过RMAN(恢复管理器)来执行,它可以创建二进制文件来保存数据文件、控制文件、重做日志等。...
### BackupExec 12.5 备份 Oracle 数据库知识点详解 #### 一、测试背景与准备工作 在开始介绍如何使用 BackupExec 12.5 进行 Oracle 数据库备份之前,我们需要了解测试的背景以及进行备份前的准备工作。 **测试...
你可以使用SQL命令如`EXPDP`(Export Data Pump)来导出特定表的数据,生成一个.dmp文件,该文件包含了表的元数据和数据。例如,要备份名为`employees`的表,可以运行如下命令: ``` expdp username/password ...
### 高级Oracle SQL知识点解析 #### 一、Oracle SQL概览 在IT行业中,数据库技术一直是企业数据管理和处理的核心工具之一。Oracle作为全球领先的数据库管理系统之一,其SQL(Structured Query Language)语言更是...
本篇将结合Oracle和SqlServer数据库系统,深入讲解SQL的基础知识和常用实例。 1. **创建数据库** - `CREATE DATABASE` 语句用于创建新的数据库。例如,`CREATE DATABASE database-name` 将创建名为 "database-name...
Oracle数据库是全球广泛使用的大型企业级关系型数据库管理系统,其备份和恢复机制是确保数据安全性、完整性和业务连续性的重要环节。本教程将深入探讨Oracle数据库的备份与恢复策略,帮助用户理解并掌握这一关键技能...
"Oracle官方教程backup"是针对Oracle OCP(Oracle Certified Professional)认证的重要学习资源,它详细介绍了Oracle数据库的备份策略、工具和技术。 在Oracle数据库中,备份的主要目标是为了防止数据丢失,无论是...
### Symantec Backup Exec 12.5 备份 Oracle 的详细步骤与注意事项 #### 一、测试背景 Backup Exec 是 Symantec 公司推出的一款面向 Windows 平台的优秀备份软件,它提供了全面的数据保护功能,适用于各种规模的...
这些组件允许我们建立与SQL Server、MySQL、Oracle等数据库的连接,并执行SQL命令。 在实现数据库备份时,我们可能需要执行以下步骤: 1. **建立数据库连接**:使用Delphi中的数据库连接组件(如ADODB.Connection...
### Oracle DBA 数据库日常维护手册:常用SQL脚本解析 在IT行业中,数据库的高效稳定运行对于企业的业务连续性和数据安全至关重要。Oracle作为全球领先的数据库管理系统之一,其日常维护工作是确保系统性能、安全与...
### Backup_Exec_12_for_oracle_RAC安装-配置-应用 #### 一、概述 本文档旨在详细介绍如何在Oracle RAC环境下安装、配置并使用Symantec Backup Exec 12来实现数据库的备份与恢复功能。Oracle Real Application ...
Oracle PL/SQL是Oracle数据库系统中的重要组成部分,用于创建复杂的业务逻辑和数据库处理。以下是对题目中提到的一些关键知识点的详细解释: 1. **冷备份与热备份**:冷备份是在数据库关闭状态下进行的,简单且可靠...
Iperius Backup Full 是一款广泛适用于普通家用电脑和专业服务器的一体化综合型数据备份软件,支持iperius backup备份oracle,可安装为Windows服务、增量备份、多个备份并行、备份前后运行外部脚本、进程和文件、...
将数据库从非归档模式切换到归档模式,需要启用自动存档,指定归档路径,并通过SQL命令`ALTER DATABASE ARCHIVELOG`和`ALTER DATABASE OPEN`来执行。相反,从归档模式切换到非归档模式则通过`ALTER DATABASE ...
备份数据库在SQL Server中通常涉及到`sp_addumpdevice`存储过程和`BACKUP DATABASE`命令,如示例所示,用来创建备份设备并执行数据库备份。 创建新表是数据存储的核心。`CREATE TABLE`语句允许你定义表的结构,包括...
对于Oracle 11G,还需要在SQL*Plus中创建一个逻辑目录以便导出到指定路径。 **Oracle 10G 脚本示例**: ``` #!/bin/bash export LANG="en_US.UTF-8" export NLS_LANG="Simplified Chinese_china.ZHS16GBK" ...
Oracle PL/SQL是一种强大的编程语言,它将SQL与过程编程语言的功能结合起来,为数据库管理和开发提供了丰富的工具。在Oracle环境中,PL/SQL是构建高效、可靠应用程序的关键组件。以下是对"Oracle PL/SQL常用47个工具...