I. background
There are two sid: Asid and Bsid. There are two users Auser1 and Auser2 under Asid, and there is a user Buser1 under Bsid. Among them, Auser2 and Buser1 establish dblink. You want to log on to Buser1 to access three tables table1,
1. SQL SERVER variables must start.
2. You do not need to write a semicolon Terminator after the SQL SERVER statement.
3. oracle variable type number can be changed to decimal of SQL server
4. The oracle variable type varchar2 can be changed to
Oracle Database User Management Oracle permission settings
I. Permission classification:
System permission: The system specifies the user's permission to use the database. (System permissions are for users ). Object permission: the access permission
Preface
DECODE () function, which compares the input value with the parameter list in the function and returns a corresponding value based on the input value. The parameter list of a function is a sequence of several numbers and their corresponding
EBS run request error, ORA-01722. Oracle's description of the 1722 error is like this: ORA-01722: invalid number (invalid number ).
Check whether the SQL statement is faulty. If the same SQL statement is executed in PL/SQL dev, no error is reported.
Applicable scenarios
Imagine the following SQL
Select *
FromBD_INVMANDOC_bak t
Where t. negallowed is null
Or t. negallowed = 'n'
If the negallowed column has only two values: Y and N, and NULL exists
Therefore, when we create an index in the
I used Oracle table partitions today. Let's write a few examples to explain the partitions in this table:
I. Create a partition table
1. Range partitioning
Partitions Based on the range of data table Field Values
For example, you can partition a
In oracle, the delete command starts with delete, which is the same as other SQL statements. The following describes how to delete tables, views, sequences, functions, and data in oracle.
After executing the following SQL statement, we can get the
Server Cache introduction and working principles
The Oracle 11g version provides a new independent shared memory area to cache result sets that are frequently used by applications. We call it Server Result Cache. OLAP applications can greatly
After twists and turns, we finally successfully configured Oracle11GR2 ASM when the vmwarevm Redhat Enterprise Linux 6 has installed a single-node Oracle database 11G R2. The record process is as follows:
Environment: VMWare Player 5.0.2 build-103176
In oracle, the comment on command is used to describe tables or fields. The syntax is as follows:Copy codeThe Code is as follows:COMMENT ON{TABLE [schema.]{Table | view}| COLUMN [schema.]{Table. | view. | materialized_view.} column| OPERATOR [schema.
Question no: 2
You need to design a student registration database that contains several tables storing academic information.
The STUDENTS table stores information about a student. the STUDENT_GRADES table stores information about the student's
First, let's take a look at Oracle's official function definition:
The RPAD function returns an expression, right-padded to a specified length with the specified characters; or, when the expression to be padded is longer than the length specified
The TO_DATE function is a date function in oracle and is also a very common function. Next I will introduce you to my understanding and learning notes on oracle TO_DATE.
1. When Oracle's to_date function is used for date conversion, many Java
586. Consider the following command:
Backup database plus archivelog delete input;
How many backup sets wocould be created by this command if the following were true:
Control-file auto backups were enabled.
The size of backup sets was not restricted.
Understanding of SERVICE_NAME and SID in TNSNAMES. ORASID specifies only one instance, while SERVICE_NAME specifies multiple instances in the RAC environment.The configuration specifies the HOST of a node as follows:RAC1 =(DESCRIPTION =(ADDRESS_LIST
System statistics mainly describe some features related to system hardware, such as the performance and utilization of cpu and io systems. This information is very important for the query optimizer. During the execution plan selection process, 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