Alibabacloud.com offers a wide variety of articles about oracle ebs implementation, easily find your oracle ebs implementation information here online.
Yesterday a friend asked me how to monitor the operation of a pl/sql, here is a brief introduction to several methods.
Introduce more professional dbms_pipe implementation methods.
If you think the Dbms_application_info package is not professional enough, here is a more professional solution, through Dbms_pipe to achieve interprocess communication.
Using this method, the Pl/sql process of operation can send messages to the receiving process through
Label:MySQL's variable is required to implement line numbers, because MySQL Wood has rownumber. The variable definition in MySQL can be used Set @var =0 Or Set @var: =0 can be used = or: = both, but if the variable is used in other statements, such as: Select then must be used: =, because = will be treated as a comparison symbol 1 Select @rownum: [Email protected]+1 as rownum, b.* from (select @rownum: =0) A, b This is very useful, for example, to get a lot of rankings.[Reproduced]mysql in t
new tablesql> exec dbms_redefinition.sync_interim_table (' T1 ', ' ori_tab ', ' int_tab ');PL/SQL procedure successfully completed.Sql> SELECT COUNT (*) from Ori_tab;COUNT (*)----------51Sql> SELECT COUNT (*) from Int_tab;COUNT (*)----------Description If the source table is updated frequently, we can also use this method to make the source table and the new table as much data synchronization as possibleNote: The sync program determines the length of the Finsh in the following step because the
process remember to introduce the JAR package Import java.sql.*; public class Fenye { public static void Main (String [] args) { try{ Class.forName ("Oracle.jdbc.driver.OracleDriver"); Connection ct=drivermanager.getconnection ("Jdbc:oracle:thin:@127.0.0.1:1521:orcl", "Scott", "Tiger"); ORCL-bit database name CallableStatement Cs=ct.preparecall ("{Call Fenye (?,?,?,?,?,?)}"); To give? Assign value Cs.setstring (1, "EMP"); Cs.setint (2,5);//Display 5 rows per page Cs.setint (3,2);//Show Second p
') fromdual; + - --Create a filter phrase the execCtx_ddl.create_stoplist ('my_stoplist'); * --Add the words you want to filter into the my_stoplist, and the words will not participate in the search $ execCtx_ddl.add_stopword ('my_stoplist','Co., Ltd.');Panax Notoginseng - the + A -----3 Create an index (using the word breaker, the filter phrase you created earlier)----- the Create IndexMy_test_index onTest_table (Text) Indextype isCtxsys. CONTEXT parameters ('lexer my_lexer stoplist my_s
You need to import data from the table GIS_WEICHAI_DATA_1S in a database to the table GIS_WEICHAI_DATA_1S in another database. Next, you can explain how to query and insert data between different databases. For more information, see
You need to import data from the table GIS_WEICHAI_DATA_1S in a database to the table GIS_WEICHAI_DATA_1S in another database. Next, you can explain how to query and insert data between different databases. For more information, see
During work, you need to import d
malloc implementation of the Lnux kernel (Oracle's cache buffer shadow)This article original for freas_1990, reprint please indicate source: http://blog.csdn.net/freas_1990/article/details/12845059This article introduces the principle of malloc, and students interested in mm (or interested in Oracle internal implementations) can find content of interest in this article.Malloc is mainly supported by two stru
Implementation of Oracle's INSTR function MySQLIn a migration project, the instr function of MySQL can only find whether the child string is in the parent string. Here I wrote one for migration. Of course, here I only focus on migration, and may not fully implement the details of the original function.Oracle uses the following calls several times,
SQL> select instr ('this is belong to you, but not to me. ',' to ',) as pos from dual; POS --------------
This article summarizes the Oracle implementation of page query SQL syntax, collation for everyone for your reference, details are as follows:
1. No order by sort of the wording. (Highest efficiency)
After testing, this method costs the lowest, only nested one layer, the fastest! Even if the amount of data query is large, and almost unaffected, the speed is still!
The SQL statement is as follows:
1.sequence+trigger enables Oracle column self-incrementCREATE SEQUENCE sequence Name[INCREMENT by N][START with N][{Maxvalue/minvalue n| Nomaxvalue}][{cycle| Nocycle}][{CACHE n| NOCACHE}];Create a test table[Email protected] Cdb> CREATE TABLE TEST (2 ID Number (Ten) is not NULL,3 DESCRIPTION VARCHAR2 () not NULL,4 CONSTRAINT test_pk PRIMARY KEY (ID)5);Table created.elapsed:00:00:00.14[Email protected] cdb> CREATE SEQUENCE test_seq;Sequence created.ela
Label:1. Create a sequence
--Create sequence
Create sequence Innerid
MinValue 1
MaxValue 99999999999999
Start with 1
Increment by 1
Cache 20
Order
2.--innerid.currval refers to the current sequence
--innerid.nextval refers to the next sequence
Insert into admin values (innerid.nextval, ' a ');
Insert into admin values (innerid.nextval, ' B ');
Insert into admin values (innerid.nextval, ' C ');
Insert into admin values (innerid.ne
Prerequisites: Maintenance of statutory festivals (T_FDJR) in the official holiday calendar including Saturday Sunday/** * Function Description: Gets the days of the day after this date based on the date entered and the number of days * Input parameters: * i_date yyyy-mm-dd* I_day days*/Create or Replace functionFun_get_workday (i_datevarchar2, I_day Number) return varchar2 iskint:=0; D1 date; D2 date;beginK:=I_day; D1:=To_date (I_date,'YYYY-MM-DD'); D2:=D1+K; whileK> 0LoopSelect Count(C_RQ) in
Label:Oracle Sales Cloud Implementation (i) I. What is Oracle Sales Cloud? Oracle Sales Cloud is a salesforce-like marketing management system developed by Oracle. Mainly to help sales staff improve performance, at the same time for the company can be standardized sales. For presidents and managers, you can find out ab
Oracle DBA Database Senior Engineer Training Upper (project implementation + Backup Recovery + foundation depth)Purchase Address:Http://edu.51cto.com/pack/view/id-739.html
DescribeOracle DBA Database Senior Engineer Training course is the wind brother alone research and development of the fine combat courses, the road map is mainly to let everyone fast employment, high-paying employment. The course cont
Production Application win Platform Oracle+websphere project implementation _websphere Video Training tutorialBasic part:Oracle Basic Concepts and architectureWebSphere related concepts, profiles, data sources, connection pools, consoles.Actual Combat part:Virtual machine configuration, Windows Host environment installation, Oracle database installation,
Problem Description:
Implementation of the Oracle automatic backup script.
Error tip 1:
Message file RMAN.MSB not found
Verify that Oracle_home is set properly
。。。。。。
Error Reason:
Automatic execution does not recognize the appropriate command and requires an explicit declaration of Oracle's environment variables in an automatic backup script.
Error Tip 2:
Standard in must to be a TTY
。。。。。。
Erro
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.