INSTR(Source string, target string, start position, match ordinal)In Oracle/plsql, the InStr function returns the position of the string to intercept in the source string. Retrieve only once, that is, from the beginning of the characterEnds at the
--oracle implement self-increment id--create a T _studentinfo table The CREATE TABLE t_studentinfo ("id" integer NOT NULL primary key, Xsname NVARCHAR2 (+) NOT NULL, Xsage integer NOT NULL, Mobile varchar (n), Email varchar (+), Address
1. Table and Data Recovery 1. Query the deleted table from the Recycle BinSelect Object_name,original_name,partition_name,type,ts_name,createtime,droptime from RecycleBin;2. Execute the table's recovery statementFlashback table TableName to before
1. Install centos
2. Install the library required by ora
3. Modify the centos Kernel
4. create user groups and directory structures
5. Install ora11g2r
6. Install the SQL plus paging program and help patch
7. self-starting script
8. Common commands
#
When using ORACLE databases, sequence + triggers are often used to set auto-increment fields for a table. However, when you need to import and export databases, the sequence is prone to problems.
When you export the database and import it to
Tablespace
Logically, the table space can be used to plan the database structure more flexibly.
Create
create tablespace test datafile ‘E:\’ size 20M autextend 5M;
The size is 20 MB, which is automatically expanded.
Modify the default
ORA-01455: converting column overflows integer datatype
The error 1455 is reported on MOS. This problem may occur during exp export.
1087122.1 introduction:
"When creating a sequence with an initial value greater than 10 bits, the following problems
8.3.5 Adding or Dropping Online Redo Log Files
8.3.5 add or delete the current redo log file
Changing the size and number of the online redo log files is sometimes done to tune the database. you can add or drop online redo log file groups or members
Environment: Oracle Linux 6 (64 bit)
Download mysql: http://dev.mysql.com/downloads/mysql/5.1.html version: 5.5.36 platform: Source Code
Generic Linux (Architecture Independent), Compressed TAR archive(mysql-5.36.tar.gz) to download this package of
The data center is powered off, so oracle's slave database must be restarted:
1. log on to sqlplus and start it. An error message is displayed:
SQL> STARTUP MOUNT;ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translated
2.
1. Regular Expression of question 3rd
Regular Expressions only search, replace, format, and other functions. Regular Expressions are usually used for back-reference formatting. length and concatenate are not calculated.
2. Delete columns with
How Does ORACLE 11G modify awr retention period less than 8 days?
Oracle Database 11g has a system-defined Moving Window Baseline by default. This Baseline corresponds to all AWR data during the AWR retention period.Only one Moving Window Baseline
From the table above, we can see that a database is composed of multiple tablespaces, one tablespace is composed of multiple segments, and one segment is composed of multiple partitions (extent) A zone is composed of multiple blocks.
Store it
A pos system has a large application volume and a large data volume! Statistical analysis of historical transactions affects another application to a certain extent. The two applications are OLTP and OLAP respectively.
In fact, many projects have
I. ORACLE physical architecture
Explanations:
PGA: private memory zone, which is only used by the initiator.
After a user logs on, the information is saved in PGA.
If the memory is not enough, oracle will complete it in the temporary
ALERT Log error message: Mon Jan 20 15:03:22 2014Incremental checkpoint up to RBA [0x442f. abd.0], current log tail at RBA [0x442f. 338a. 0]Mon Jan 20 15:08:13 2014Errors in
Cancel provides three types of Set Operations: UNION, INTERSECT, and MINUS)
UNION: merges the results of multiple operations into one query result, returns the UNION of query results, and removes duplicates automatically.
Union all: Merge the
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