1. Obtain the scn Number of the current database
Select current_scn from v $ database; (switch to sys user or system user query)
The queried scn number is 1499223.
2. query the scn before the current scn number
Select * from table name as of scn
The following are all Oracle database connection strings. The summary is very detailed, but I did not summarize them. I just learned from Oracle. Paste it out. First, it is convenient for you to search for it later, and second, it also provides
1. sqlplus/as sysdbaOperating system authentication does not require the database server to start listener or the database server to be available. For example, if you want to start the database, you can accessSqlplus, and then start it through the
64-bit oracle10g installation in win7
:Http://download.oracle.com/otn/nt/oracle10g/10204/10204_vista_w2k8_x64_production_db.zip
1. In \ database \ stage \ db \ refhost. xmlAdd the following to the CERTIFIED_SYSTEMS element:
2. In \ database \
1.Java. SQL. SQLException: Invalid column type
Cause:
A. the Data Type of the incoming, OUT, or typeHandler parameters IN ibatis does not match the data type of the attribute values IN the Oracle custom object;
B. What is in the call SQL
Run tkprof in the system to convert the trace file into a format that can be read by humans.(I personally don't feel very good. I don't need to get a good format when the trace file is output)
Syntax:Tkprof tracefile
Flashback has two main functions: flashback query and flashback table/database)Enable the flashback function (you can enable database flashback only after archiving)
name,flashback_on v$; system db_recovery_file_dest_size; system db_recovery_
1, %: represents any 0 or multiple characters. It can match any type and length of characters. In some cases, if it is Chinese, use two percent signs (%.For example, SELECT * FROM [user] WHERE u_name LIKE '% 3%'We will find all records with "3",
Oracle Decode () Functions and CASE statements are often used. What are their differences? The following is a detailed introduction
The difference between the Oracle Decode () function and the CASE statement is for your reference.
First, let's give
The Oracle database used in the recent project has created multiple tablespaces on the server for use by different systems. When two systems are in use at the same time, a project under development is testing and running, from time to time, the
(1) select the most efficient table name sequence (only valid in the rule-based Optimizer ):
The ORACLE parser processes the table names in the FROM clause in the order FROM right to left. The table written in the FROM clause (basic table driving
Oracle concepts-Overview of database files:
Oracle contains three basic files:
1: data file)
2: control file)
3: online redo log file)
Concepts of oracle Database files:
The final component of the oracle database architecture is reflected in the
Set oralce Automatic Memory ManagementShutdown and restart are required to enable oracle automatic memory management.1. Determine the sga pga memory size:SHOW PARAMETER TARGET2. determine the maximum pga usage since the database is started:Select
DBMS_RANDOM.STRING (var1, var2)
This function has two parameters.
The var1 parameter values include u, l, a, x, and p.
U --> uppercase
L --> lowercase
A --> mixed case
X --> uppercase, alpha & numeric
P --> any printable char
The above
Resets the oracle sequence from a specified number.
The Code is as follows:DeclareN number (10 );V_startnum number (10): = 10000001; -- start from the numberV_step number (10): = 1; -- stepTsql varchar2 (200 );V_seqname varchar2 (200): = 'mip _
Concept: Database: a warehouse that organizes, stores, and operates data in batches. Data Warehouse is a basic term in the database field. Here it refers to its conventional meaning.
Database Management System (DBMS): A software module used to
1. InstallationOracle.Select custom installation for oracle Installation, then install transparent gateway, and then choose to install components for sqlserver.2. Modify the oraclehomeora92tgsmsqladmininittg4msql. orq FileHS_FDS_CONNECT_INFO =
Many netizens are putting the REDO01 ~ 03. After the three redo logs are deleted, the database cannot be logged on normally. The following example shows the specific recovery process, hoping to solve the problem for you:
I:
C:/> sqlplus/nolog
II:
1. Set automatic database backup control files and SPFILE files
2. Zero-level full database backup for RMAN every Sunday
3. Perform RMAN Level 1 Incremental Backup every day (except Sunday)
4. Full database backup and Incremental backup within
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