Problem Description:Implementation of Oracle automated backup scripts.Error tip 1:Message file RMAN.MSB not foundVerify that Oracle_home is set properly。。。。。。Cause of Error:Automatic execution does not recognize the corresponding command and
Scenario: convert [SANNANYINV] to [3 male 1 female] in the contents of the field NNDP in datasheet tb_userMain script: A cursor script + split string function + Pinyin to digital scriptThe procedure is as follows:1. Create a TypeCreate or Replace
1. Modify the login identifier and default editor (not required)Modify $oracle_home/sqlplus/admin/glogin.sql to add the following at the end of the file:set sqlprompt ' _user ' @ ' _connect_identifier> 'define _EDITOR=VI2. Create initialization
1.OverviewOracle "CONNECT by" is a hierarchical query clause that is typically used for queries in tree or hierarchical result sets2. How to use 2.1. Via Connect byGenerating SequencesOracle constructs the number of days in a monthSelectTo_date ('200
1, commonly used functions are divided into five major categories: character functions, numbers and date functions, numeric functions, conversion functions, mixed functions 2. Character functions Character functions are primarily used to modify
In Greek history, Delphi was once considered the center of the world, and Apollo killed Python and took it for himself, inscribed Oracle on its temple, Yue: γνωθιδεαυτ?ν (Know your own concern, Cognosce Te Ipsum, Connais-toi toi-même). Borland
First, lockA database is a shared resource used by multiple users. When multiple users store data concurrently, the database generates multiple transactions that simultaneously access the same data. If the concurrency operation is not controlled, it
Select Case whenTo_char (Last_day (Add_months (Trunc (Sysdate,'y'),1)),'DD')= ' -' Then 'Common year' Else 'Leap Year' End asIsleapyear fromDualThe first step: the date of the beginning of the date; the second step: the beginning
1. String interceptionsubstr (String, start_position, [length])Cases:SelectSubstr'Hello World',1,2) fromDual--The returned result is ' He ' Note: A string of length 2 is intercepted starting from the first character of the stringSelectSubstr'Hello
It is important to avoid potential data type conversions as much as possible.If you compare character data with numeric data, Oracle automatically converts the character type with the To_number () function, which results in a full table scan.Example
Silent installation of Oracle database on OEL7.0Silent installation I use less, basically do not need to use a silent installation. Even a text-mounted system uses Xmanager to redirect graphics. But there is always an exception, such as on the Mac
Data export① to fully export the database ORCLExp Lims/[email protected] file=d:lims_20150104.dmp full=y② exporting LIMs users in a databaseExp Lims/[email protected] file=d:daochu.dmp owner= (LIMS)③ to export tables in the databaseExp Lims/[email
In the Oracle default installation, a Scott user has been created with the default password: Tiger, which has four tables:Employee table (EMP), departmental table (DEPT), Payroll registration form and bonus table. Many of the next operations are
Today on the Internet to see a blog written by a netizen, feel good, general uninstall Oracle has 4 local needs note: 1) services,2) software,3eventlog,4) path.1. Turn off all Oracle services. Can be turned off in the Windows Service Manager;2.
Oracle lock 1: DML lockDML lock, also known as data lock, is used to ensure data integrity when multiple users operate on data. DML lock prevents conflicting DML and DDL operations at the same time.
DML Locks include Row Locks (TX) and Table Locks
Oracle performance optimization operation 11: like clause frontend matching as much as possible
Because the like parameter is frequently used, if the like clause can be indexed, the query efficiency will be greatly improved.
Example:
Select *
Rollup and cube of Oralce advanced SQLIn oracle SQL query, oracle provides some advanced functions to simplify SQL query statements and improve query performance. The following describes the usage and difference of rollup and cube.1. rollupRollup
Prepare and review Oracledba before hardware engineers perform storage operations
Before the hardware engineers perform operations on the storage (new storage or other operations on the storage), Oracle DBAs should prepare:
1. vg information hpux:
What does cursor mean?
Cursor
I. classification:
Static cursor
Explicit cursor (need to be clearly defined)
Implicit cursor (all dml statements are implicit cursors, and for loop is also implicit cursors)
Ref cursor (try not to use ref cursor. ref
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