1. Nls_lang parameter composition
The Nls_lang parameter consists of the following sections:
Nls_lang=_.
The meaning of each part of the Nls_lang is as follows:Language specify:Language used by-oracle messages-month and day display in dateTerritory
Patrol content 1. Check database basics In this section, the basic state of the database is examined primarily, including: checking Oracle instance status, checking Oracle service processes, and checking the Oracle Listener process for a total
An IF.. THEN
IF condition THEN
Statements 1;
Statements 2;
....
End IF;
Two IF.. THEN ... ELSE
IF condition THEN
Statements 1;
Statements 2;
....
ELSE
Statements 1;
Statements 2;
....
End IF;
Three IF.. THEN.. elsif
IF Condition1
--Create a test table name
CREATE TABLE job_table (run_date date);
--Create a stored procedure
Create or replace procedure Job_proc as
Begin
Insert into job_table (run_date) values (sysdate);
End
--Create a job and specify one minute
CREATE OR REPLACE PROCEDURE p_rebuild_all_index (tablespace_name in VARCHAR2,-this is the table space name, and you can pass in NULL if you do not change the table spaceOnly_unusable in BOOLEAN)--is only an invalid index operationAsSQLT VARCHAR (200)
Example 1:select deptno,ename,job,sal,sum (SAL) over (order by Sal) his from EMP; Results: SMITH Clerk JAMES Clerk 950 1750 ADAMS Clerk 1100 2850 WARD salesman 1250 5350 MARTIN salesman 1250 5350 MILLER Clerk 1300 6650 TURNER salesman 1500 8150
Oracle Partition Partition Detailed summary
This article from the following aspects to collate the concept and operation of the partition table: 1. Table space and the concept of partitioned tables 2. Table partitioning specific
Today, using the laptop's Plsql developer to connect to Oracle on another desktop in the LAN, the login process is slow, and then reports
Ora-12170:tns occurred: Connection timeout
Such a mistake, Baidu a long time to find a solution.
It is said
Local=no and Local=yes in the Oracle process
Reprinted to Http://www.cnblogs.com/wjoyxt/p/3780860.html
We connect the database with Sqlplus on the server, and when we view the process, we have one more record:
Oracle 16007 16006 0 10:27? 00:00:00
Article copyright by the author Xiaohui and blog Garden Common, if reproduced please mark the source clearly: http://www.cnblogs.com/naaoveGIS/. 1. Background
In the Leting project, the engineering colleagues put forward the need in the docking
The syntax format is as follows:
Lpad (String, Padded_length, [pad_string])
String
Prepares the string to be filled;
Padded_length
The length of the string after the padding, which is the length of the string returned by the function, if the number
When you first use Oracle database, we may find it more difficult, in general, the initial use of a database, we would like to know what the operation is, the author believes that may be the following questions.
1, how to enter the SQL
Sometimes we accidentally delete the important records in the database table (EMP), how to get it back, look at the example below you will understand.
One day, 10 o'clock, John accidentally deletes an important record of the EMP in the database
1. View Oracle Max Connection numberSql>show parameter Processes #最大连接数2. Modify the maximum number of connectionsSql>alter system set Processes=value Scope=spfileRestart the databaseSql>shutdown ForceSql>start Force3. View the current number of
There are several reasons for ORA-01034 and ORA-27101 errors:
1. The main Oracle current service is not available, shared memory realm does not exist, because Oracle is not started or does not start properly, share memory is not assigned to the
Pole share posted on 2015-11-05-16:54 1/440
45 Very useful Oracle query statementsJust look at the floor of the landlord. Here we introduce a very useful Oracle query statement, mainly covers the date operation, get the server information, get the
How to remove duplicate data from an Oracle database. When you use a datasheet, you often get duplicate data, so how do you delete it? The following green Tea Small series for you to share the resolution of Oracle database data duplication problem.
1. explains the differences between cold and hot backups and their benefits answers: Hot-backed databases for archive mode, backed up while the database is still working. A cold backup is a database that is backed up after the database is
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