Backup files can be customized in the following formats:
% C Number of copies of backup slices
% D Database Name
% D the day in the month (DD)
% M is in the month of the year (MM)
% F a unique name based on DBID, in the form of a
01. query all data in the employee table and describe the disadvantages of using *
Select * from emp;
01. query the salaries of employees whose job is 'President'
Select sal from emp where job = 'President ';
02. query the information of employees
I. What is a grouping function?
The grouping function acts on a group of data and returns a value for a group of data.
Ii. Grouping function types
Avg, count, max, min, stddev (standard variance), sum.
Function Name
Function Description
In the Oracle 10g world, partition tables are divided into five types: range, hash, list, range-hash, and range-list. In oracle 11g, it has evolved to the 3*3 partition combination type to meet more application scenarios! However, no matter under
Usage and exceptions of optical mark in Oracle
1. Use of cursor without Parameters
SQL>Declare
2CursorClIs Select*FromEmp;
3 emp_row emp % rowtype;
4Begin
5OpenCl;
6 loop
7FetchClIntoEmp_row;
8 exitWhenCl % notfound;
9
For more information about rownum and rowid, see:
For details about how to use rownum paging, refer to the following SQL
Select*From (
SelectT1.*, RownumRnFrom (
Select*FromScott.EmpOrder BySalDesc --Here is the sorted table
)T1Where Rownum 8
During routine database maintenance, we need to check the invalid object information in the database in time and re-compile the abnormal object. For various object types, see the following compilation method:
Check the name of the generated Invalid
Keywords: Oracle to_char, to_number, and to_date usage
TO_CHAR converts a date or number to a string.TO_DATE converts a string to a date type conversion function in the database.TO_NUMBER converts a character to a number
TO_CHARUse the TO_CHAR
Background:Just a netizen asked the ORA-30009 error, the database version is 10.2.0.5, the operating system version is RedHat 4; then I took into account the hardware and buffer constraints, the verification, the details are as follows:
Error
1. Prepare the system environment before installing Oracle 10 Gb database
1. view the system version, kernel version, number of operating system digits, memory and swap partition size, file system space, host name, IP address, and so on.
[Root @ rac0
The control file records important information about the DATABASE, including the DATABASE identifier (the DB_NAME parameter or the name used when the create database statement is used) name and location of data files and redo log files, timestamp of
Master database:192.168.0.11
Alternative master database:192.168.0.12
Slave database:192.168.0.13
Monitoring machine:192.168.0.10
First, installMysql(Invigilator'sMysqlDo not install it first ).
I usePercona server(OneMysql. It is said
Oracle em grid control 10.2.0.2 is installed on a windows Server, and an existing database is used as the database.
The oracle emgrid agent software is installed on various linux servers for monitoring the oracle database and rac system. The agent
I. Prerequisites for Migration:1. The operating system meets the installation conditions of the Oracle database version.2. database versions are consistent
2. operations on the source database:
1. Check whether the database is archived. If not,
ROWID determines Based on the index:SQL> select rowid from;
ROWID
------------------
AAAQ/LAACAAABacAAA
AAAQ/LAACAAABacAAB
SQL> desc;
Name Null? Type
-----------------------------------------------------------------------------
Id not null number (5)
After watching the struts video, I started learning about Hibernate. After writing a few examples, I found that this framework is really convenient and easy to use.
Its advantages and disadvantages:
1. A special advantage of Hibernate is to simplify
Differences between Oracle row triggering and statement triggering
1. the row trigger has a for each row clause. The statement trigger does not have a for each row clause.2. the row trigger can have the when as the trigger limit. You can use new/old.
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