1.USEREVN ()To return information about the current user environment, opt can be:Entryid,sessionid,terminal,isdba,lable,language,client_info,lang,vsize1.ISDBA See if the current user is a DBA if yes returns trueSql> Select Userenv (' Isdba ') from
1.Overview of the Automatic Workload RepositoryThe Automatic Workload Repository (AWR) collects, processes, and maintains performance statistics for problem detection an D self-tuning purposes. This data is both in memory and stored in the database.
Flashback is used to recover objects that the user mistakenly deleted (including tables, indexes, etc.) and does not support SYS users. Objects under the system table space cannot be retrieved from the Recycle Bin.Therefore, when using SYS or system
1. How to access the databaseIn Oracle database management and system, there are three ways to access the database;⑴. With Sql*plus, it has SQL commands to access the database with an interactive application;⑵. Applications developed using the
Crontab-eNo crontab for root-using an empty oneCrontab:installing New Crontab"/tmp/crontab. Jkmaak ": 1:bad minuteErrors in crontab file, can ' t install.Want to retry the same edit?Enter Y or NWant to retry the same edit? YCrontab:installing New
Oracle database Partitioning is an important means and method of Oracle database performance optimization, before, only heard the name of the partition, but never used, recently a simple study, summarized as follows, the wrong place, but also hope
After installing the Oracle 10g R2 in CentOS 6.3, after rebooting, you will find that Oracle does not boot itself, which is normal, because the installation of Oracle under Linux does not start on its own, you must set the relevant parameters, First
Total two sheets t1,t2Table Structure of the T1650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/56/C3/wKiom1SM7aDh9FgMAAFNXvJU8Ms226.jpg "title=" 1.png " alt= "Wkiom1sm7adh9fgmaafnxvju8ms226.jpg" style=
In some queries, you may not be able to grasp the exact value of the query, such as Baidu search input key words can query out the relevant results, this query is called Fuzzy query.The fuzzy query uses the LIKE keyword to retrieve the required rows
Sequences in Oracle are typically used to generate serial numbers, so we need to reset them (such as resetting them every morning), although we can reset the sequence by recompiling, but this approach has drawbacks such as invalidating the stored
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
Oracle Scheduler Chain usage
I am referring to other people's articles to learn about dbms_scheduler to create a CHAIN-type JOB. As for EXECUTABLE-type jobs, I have introduced how to . the following is an introduction to the Internet:
The Oracle
ORA-00604: error occurred at recursive SQL level 1, ora-00604recursive
When you use an account ESCMOWNER in the test environment to ALTER the database, the following error is always reported:
ORA-00604: error occurred at recursive SQL level 1
ORA-20
Sequential (learning notes), sequential learning notesFunctions of Sequences
In many databases, users are provided with a Sequence of auto-increment columns, which can be automatically numbered based on specified rules.
Complete Sequence creation
Trigger 6 (system trigger) (Learning notes), system trigger learning notesSystem triggers
System triggers are used to monitor the acquisition of information such as opening, closing, and error of database services, or to monitor user behavior and
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
Oracle Database SYNONYM (SYNONYM) Usage
This tutorial uses examples to illustrate how to create and delete Synonyms (SYNONYM) in Oracle Data ).
Concept
Synonyms refer to database objects (tables, views, sequences, stored procedures, and other
Common oracle languages
In Oracle development, the client sends SQL statements to the server, the server compiles and executes SQL statements, and returns the execution results to the client.
An Oracle SQL statement consists of the following
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