In Oracle 9, The dbstart command does not respond or report errors. 1. solution to the problem where dbstart does not respond: vi/var/opt/oracle/oratab change the N value after the corresponding instance name to Y. For example: ora:/export/home/oracle/product/9.2: N changed to: ora:/export/home/
problem, there is another way to continue the analysis. Analyze the Sqlplus application using the operating system Analysis tool.Linux:Strace-o/tmp/strace_sysdba.output-cft Sqlplus/as SYSDBAAIX, Solaris:Truss-fea-o/tmp/truss_sysdba.output Sqlplus/as SYSDBAHP-UX:TUSC-AFPO/TMP/TUSC_SYSDBA.OUTPUT-AEF Sqlplus/as SYSDBAAnalysis tools can be used to refer to mikitp://mikixiyou.iteye.com/admin/blogs/1489090Based on the analysis, the problem can be further judged.The main references in this document ar
[Oracle] [Standby] [PDB] Modify parameters in PDB, set range to SPFILE, report ORA-65099 errorIn the data gaurd Standby (or CDB is Read only), under the PDB, the following SQL error is executed:sql> ALTER SYSTEM SET sga_target = M SCOPE = SPFILE;ALTER SYSTEM SET sga_target = M SCOPE = SPFILE*An error occurred on line 1. :Ora-65099:can not perform operation if CDB are not openAlso, even if CDB is opened with
How to configure the STATSPACK performance report of Oracle 11g ADG
Create a normal STATSPACK report user on the master database
Sqlplus/as sysdba
SQL> @? /Rdbms/admin/spcreate. SQLSQL> -- cancel some settings of $ Oracle_HOME/sqlplus/glogin. SQL.SQL> -- in some cases, the password, tablespace, and temporary files are required.
Perfstat 235619
-- Create an SB use
Oracle 10g version is 10201_database_win32, installation Prompt "program terminated abnormally, an unknown error occurred."1. Modify Oracle 10g\database\stage\prereq\db\refhost.xmlIn 2. Locate the Oraparam.ini file in the install directory and#Windows =4.0,5.0,5.1,5.2Modified into#Windows =4.0,5.0,5.1,5.2,6.1and add the following[Windows-6.1-required]#Minimum display colours for OUI to runmin_display_colors
Remember a MySQL foreign KEY constraint design flaw
Background information
Recently in the database migration of the project, from Oracle to MySQL, a foreign key constraint was running normally in Oracle, and the MySQL reported an exception. (because it took a few days to take over, not familiar with the business and framework, it took a lot of time to deal with the problem.) )
[2018-08-01 13:34:19] [23000]
http://oracleseeker.com/2009/08/25/font_mapping_setup_for_special_character_print_in_oracle_ebs_bip/If you use some special fonts in the Bip report, these fonts are not in the JRE font library, the results of the BIP report are incorrect, and the most typical example is the printing of barcode fonts.If I use the Code39 font design barcode display in the RTF templateHowever, after running in the
The customer's database has tools to log in to an Oracle database during transfers occasionally ORA-04031, after analysis because the tool needs to query v$session, which is identified as a bug 12808696–shared pool memory leak of " Hng:all Sessi "Memory (Doc ID 12808696.8), reproduce the error as follows Node 1 for query report ORA-4031
code is as follows
copy code
sql> Se
oracle| Create
Create a crosstab report
CREATE TABLE T1 (
Goodid number is not NULL,
Saledate date NOT NULL,
Salesum Number (10)
);
Requirement to generate a product sales statement for each month of the year
M1 m2 m3 ... M12
G1
G2
.
.
.
Gn
The following is the SQL that generates the report
SELECT Goodid,
SUM (Decode (saledate, ' mm '), ' To_char ', salesum)
Label:As far as I know, Apex 4.x does not provide an editable interactive reporting component. This requires our manual implementation. In fact, this is not very complicated, just a few simple steps.1. Create a interactive report according to the wizard. The query statement can be as follows.
Select Apex_item.hidden (1,e.id) | | E.name as Staff, Apex_item.select_list_from_lov (p_idx=>2,p_value=>e.department_id,p_lov=> ' lov_department
As far as I know. Apex 4.x is not provided with an editable interactive reporting component. This needs to be implemented manually.In fact, this is not very complicated, just a few simple steps.1. Create a interactive report based on the wizard. Query statements can be as follows.
Select Apex_item.hidden (1,e.id) | | E.name as Staff, Apex_item.select_list_from_lov (p_idx=>2,p_value=>e.department_id,p_lov=> ' lov_department ') as depart
sessionsSELECT * from V$lock where lmode=0 and type in (' TM ', ' TX ');Check for blocking other session locksSELECT * from V$lock where lmode>0 and type in (' TM ', ' TX ');4. Querying the process that the database is waiting for a lockSELECT * from v$session where lockwait are NOT null;5. Query the relationship between session lock waitsSelect A.sid holdsid,b.sid waitsid,a.type,a.id1,a.id2,a.ctime from V$lock A,v$lock bwhere A.id1=b.id1 and A.id2=b.id2 and A.block=1 and b.block=0;6. Query the
Note: This article is original, as a learning exchange use, reproduced please indicate the author and source, the author reserves the right to pursue legal responsibility. Lumen Sulzsu1989#gmail.com (#[email protected])www.cnblogs.com/lzsu1989------------------------------------------------------------------------------------------------------When developing Oracle report 6i, Fnd_global or fnd_profile are o
The following code has been tested and can be run directly.A brief description of Oracle analysis functions, multidimensional functions, and Model functions, mainly for BI report statistics, not necessarily comprehensive, but a few instructions on BI application scenarios
-- Create a sales quantity table with an increasing data TrendCreate table ComputerSalesSELECT120 + TRUNC (rn/12) + ROUND (DBMS_RANDOM.VA
file value: Sql> create Pfile from SPFile; Add this parameter and put the name of the segment that you want to restore in Corrupted_rollback_segments= (_syssmu10_3550978943$,_syssmu9_1424341975$,_syssmu8_2012382730$,_syssmu7_3286610060$,_syssmu6_2443381498$,_syssmu5_1527469038$,_syssmu4_1152005954$,_syssmu3_2097677531$,_syssmu2_2232571081$,_syssmu1_3780397527$,_syssmu22_888340975$,_syssmu21_2646097468$,_syssmu20_1273092953$,_syssmu19_2470562502$,_syssmu18_420064975$,_syssmu17_1769081034$,_syssm
Tags: oracl repo ima. com bubuko user img border SYSDBA1, open the CMD Command dialog box, login Sqlplus (mainly if the administrator account, the user name needs to add as SYSDBA, the password format is [email protected]/instance name), enter the AWR Execute SQL statement (Note that The path is based on the actual installation path).2, set the Report_type value, here use the default HTML format, directly enter Skip3. Set the number of AWR reports to display, set the value from 1 to 7.4. Set the
The WMS warehouse management system implements the "sending and receiving daily report" data query function. SQL statement: Oracle [SQL] www.2cto.com SELECT AA. PRODUCT_CNAME, AA. PRODUCT_ID, AA. PRODUCT_CODE, AA. MODEL, AA. MASTER_UNIT, AA. OTHER_UNIT, AA. PACKAGE_RATIO, AA. CUSTOMER, SUM (week) AS QTY_OUT_TODAY, QTY_TODAY, SUM (week) AS week, SUM (QTY_OUT) AS QTY_OUT, SUM (QTY_IN) AS QTY_IN FROM (select c
Oracle select into prevents failure to report an error, oracleselect
As follows:
Begin select name into v_name FROM t_student WHERE id = '000000' exception when NO_DATA_FOUND THEN v_name: = ''; END;
In this way, you do not need to select count (1) from t_student where id = '000000' in advance to determine whether it is null.
The above caught exception only processes errors without data. If there are mor
One
1. Start: The fields in the SQL code exported through Powderdesiger are lowercase and are then imported directly into Oracle.
2.bug: Unable to modify the table structure (in PL/SQL developer)---include adding delete modifications ...
3.
Obviously the table is there, delete times: Table or view does not exist ~!
Line 1th Error:
ORA-00942: The table or view does not exist
and then finally found out because my table name is lowercase, but uppercas
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.