Automated maintenance tasks are provided in the Oracle database to ensure that the Oracle database can run more efficiently. In different versions of Oracle, there is a difference between the types of automated tasks and how they are executed. This
Problem descriptionCustomer reflects the system can not login;ReasonThrough testing, it was found that the Oracle user password expired, mainly because "password_life_time=180 days" was set by default in oracle11g in the defaults
--Query statement: SELECT Column name/wildcard/column alias/expression from table name (decoration/restriction statement)SELECT * from tab;Select Tname columns specified from tab;--Select Tabtype from tab;Select Tname "T-m" from tab;--new column
In the storage of Oracle data, storage space can be imagined as a reservoir, the data is imagined as water in the reservoir. The position of the water in the reservoir is a line called the watermark, in Oracle, this line is called the High watermark
Oracle creates the user's syntax:CREATE USER username identified bypassword or identified exeternally or identified globally as ' Cn=user ' [DEFAULT tablespace tablespace] [Temporary Tablespace Temptablespace] [QUOTA [integer k[m] [UNLIMITED]] on
Today, when you modify a user's password in an Oracle database, you find the following rule1 passwords are composed only of letters and created successfullySql> ALTER user ICS identified by password;User changed.2 passwords are only made up of
(ORACLE)
Rssanbob Blog
Rssanysql.net
Rssdavid Dai Blog
Rsseygle Blog
Rssguoyjoe Blog
Hellodba
Rsskamus Blogs
Rsskillkill Blog
Oracle Official Blog
Rssrobin Blog
Rssroger Blog
Rssvage Blog
RSS
View current control file number and location, name[email protected] rac1>show parameter control_files;NAME TYPE VALUE-------------------------------------------- ------------ ----------------------------------------------------Control_files
1. What tables are derived from the foreign keys in the view table in OracleSelect Cl.table_name from user_cons_columns Cl left joins user_constraints c on cl.constraint_name = C.r_ Constraint_name where c.constraint_type = ' R ' and
First, when we need to process SQL statements in XML format, we often use symbols such as ,>= and so on, but it is very easy to cause errors in XML format, which causes the background to convert the XML string to the XML document times error, which
Format of the triggerThe name of the Create or replace trigger triggerBefore [after] insert[update,delete]On which table the on action[For each row] If a statement-level trigger is not written, row-level triggers are writtenDeclareBeginEnd--trigger
When importing data to Oracle, there is a column to import the data should be in the format of ' 2017-04-17 ', the result of importing data is ' 2017/04/17 ' format, more than 1000 records to change the basic impossible. So think of the Replace this
Learning the database, we are just learning attitude, consider how to use the database command statements, did not think about the work, if the wrong operation, can lead to irreparable loss. When I really met these questions at work, I started
1. In the PL/SQL interface, locate the Directories folder and locate the path to the directory file.2. Access the server via SSHLocate the appropriate path Cd/u01/oracle/dpdirInput instructionsDf-h View Resource UsageSu–oracle Oracle users entering
Record the use of exit and returnExit to jump out of the loopLoopIF V_KBP is NULL thenEXIT;END IF;End Loop;Return jump out of stored procedureLoopIF V_KBP is NULL thenReturnEND IF;End Loop;Jump out of Loop onceOracle 11g has provided continue;Oracle
[SQL]View PlainCopy
Update (Select Length (t.name), t.* --name,length (name)
From G_enterprise_info T
where NVL2 (translate (name, ' \1234567890 ', ' \ '),
' is characters ',
' is number ') = ' is number '
and Asciistr (GSZCDJH)
Restart the Oracle database and listener under Linux:Method 1:Log in to Linux with root SSH and open the terminal to enter the following command:CD $ORACLE _home #进入到oracle的安装目录Dbstart #重启服务器Lsnrctl Start #重启监听器CD $ORACLE _home
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