It seems that by checking the data dictionary information is not the cause of the problem, only by manually performing the process of collecting statistics to try to discover the problem.
In order to avoid the problems caused by the accidental
Case 1--restores a table in the past at some point in time
1, based on the point of time
Sql> Select Username,scn,timestamp,sql_redo from v$logmnr_contents where seg_name= ' TB01 ';
USERNAME SCN TIMESTAMP Sql_redo
--------------- ---------- -----
Back up the database before doing the operation
rman> backup Database;
1. Check if the Flash recovery area is started:
Sql> Show Parameter Db_recovery_file
NAME TYPE VALUE
------------------------------------ ----------- -----------------------
1. Download the corresponding version of the instant Client from the Oracle Web site and extract it to e:/instantclient_11_2
2. Copy the Network/admin directory on the installed Oracle machine to E:/instantclient_11_2
Tns_admin=e:/instantclient_11_
Creating a Stored Procedure
Create or Replace procedure test (var_name_1 in type,var_name_2 out type) as
--Declaring variables (variable name variable type)
Begin
--The execution body of the stored procedure
End test;
Print out the time
An Oracle stored procedure consists of three parts: a procedure declaration, a procedure part, and a stored procedure exception.
Oracle stored procedures can have parameter-free stored procedures and parameter-stored procedures.
Procedure syntax
A function is a subroutine that evaluates the result value, except that the function has a return clause, and the other structure is similar to the procedure. It is worth noting that functions in Oracle must provide a return value, and if you define
First, user table space
Error: ORA-01157,ORA-01110 or operating system-level errors, such as ORA-07360, occur when you start the database
Error ora-01116,ora-01110 and operating system-level errors are caused when the database is closed (using
1 Introduction
Oracle database is a large relational database that can store terabytes of data, so how to ensure the security of these data is particularly important, we have been using Oracle database since 1991, through the use of these years, we
In Oracle 9i, data can be easily exported to a file or imported from a file. With Oracle's Management Server (Oracle Management Server,oms) can be easily implemented, there are many places to explain the entire operation, but the complete guidance
Enter the sqeuence of the order by, which should be "desc" or "ASC"
If you enter two order by, v_order_field= "a[sequence" and ORDER by B "
CREATE OR REPLACE PROCEDURE tablepage_select (v_page_size int,--the size a page of listv_current_page int,--
Connect to:
Oracle9i Enterprise Edition Release 9.2.0.1.0-production
With the partitioning, OLAP and Oracle Data Mining options
Jserver Release 9.2.0.1.0-production
SQL> create or replace procedure get_news( 2 aid in varchar2,atitle in varchar2)
Data migration in different databases, exchange of data with other systems, and so on, often because of different character sets cause migration failure or data in the database into garbled. Now I'm going to make a simple summary of some of the
Problem Description:
In processing general data records, for numeric types of fields, in Oracle sort, the null value is the default to be greater than any number of types, of course, for varchar2 type of field, the default is also the processing,
The goal of this article is to complete the process of automated Oracle database backups by executing a shell script, and to generate its compressed files in the current directory. The following steps are implemented:
1. Log on to the Linux system
When we use a database, always want the content of the database is reliable, correct, but because of computer system failures (including machine failure, media failure, misoperation, etc.), the database may also be damaged, then how to recover data
1. According to Q193893, we need to build two views within Oracle.
Information about using Oracle with Microsoft Transaction Server and COM + components
http://support.microsoft.com/?id=193893
Based on our past experience, we can try to run
The author in a production with a test library Select a table when the ORA-01578, a block damaged, before learning how to deal with block damage, to have really not met, today finally let me meet, or a production test library, there is no need to be
Oracle Background information
Before we introduce Oracle 9i, let's introduce some information about Oracle company to give our friends more insight into Oracle.
In 1977, Larry Airison and Bob Miner and Ed Oates created a software development lab
1 Brief introduction
In general, in order to ensure that the database data is not lost or less lost, reduce the accident recovery time, we often use the Oracle Database Export tool to regularly back up the database. For commonly used exp backups,
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service