How Does Oracle create a user and grant access permissions to other user tables?
-- Step 1: create a user
Create User Username identified by password;
-- Step 2: assign a contact lock value to the user (only grant the session permission)
Grant
Verification Error
Check and correct the following errors, and then try again:
Error-failed to connect to the host as user administrator: Error: Wrong Password for user
Enter the user name and password of the operating system. This error is
Recently, I was working on an oracle project. Since I have never been familiar with Oracle development before, I encountered many problems. For example, adding an auto-incrementing column to an oracle table is different from that of SQL Server.
Adaptive cursor sharing adaptive cursor sharing or extended cursor sharing (Extended cursor sharing) is one of the new features of Oracle 11g. It is mainly used to solve previous versions
In this example, the SQL statement cannot obtain the best
Why use?
1. If you need to apply the same query multiple times in a complex query, use with to implement code reuse;
2. With query is similar to retaining the query results to the user's temporary table. Io can be reduced in large and complex
The Oracle version in this document is 11.2.0.1. No OEM was installed before. An error is reported when dbca is used for installation today. The error page is as follows:
I have previously reviewed an OEM reconstruction method:
Oracle OEM
Continue is a new feature brought in Oracle 11g, but there is a trap or bug need to pay attention, see the following code scrap:
Declare cursor dept_cur is select deptno , dname , Loc from Scott. dept; type dept_tab is table of dept_cur %
Update Oracle to 9.2.0.8. Check the invalid objects and find several invalid objects starting with odcxx. Check Oracle, saying that these objects are invalid due to unknown reasons in Versions later than 9.2.0.8. These objects have been deleted in
An export from an Oracle9i database fails:.... Exporting triggersEXP-00056: Oracle error 6550 encounteredORA-06550: Line 1, column 26:PLS-00201: identifier 'xdb. dbms_xdbutil_int 'must be declaredORA-06550: Line 1, column 14:PL/SQL: Statement
A statement failure occurs when the SQL statement is processed. When a statement fails, Oracle server automatically rolls back the failed SQL statement and returns the error code and message to the user.
1. application logic error
Application logic
A user process failure is an exception in the running process of the user process.
When a user process fails, the DBA does not need to intervene. The background process pmon (Process Monitor) can automatically detect the user process that is
You cannot start em, and then check the information on the Internet. The solution is as follows:
C: \> set oracle_sid = demo
C: \> emctl start dbconsoleProductname configuration issue. D: \ oracle \ product \ 10.2.0 \
Since Oracle's $7.4 billion acquisition of sun, Oracle China has begun to fully integrate sun China. On September 6, the reporter learned through relevant channels that some staff from Sun China's marketing department had left.
Some industry
Create Table ad_play_log_tmp
(
Ad_play_log_id number (10) Not null,
Play_date date,
Add_time date
)
Partition by range (play_date)
(Partition ad_play_log201101
Values less than (to_date ('2017-01-01 ', 'yyyy-mm-dd '))
Tablespace T1,
Partition
In real projects, you may need to use batch files to execute SQL files. The following describes how to use bat batch processing files to call independent SQL files and stored procedures in databases.
I. the BAT file calls the SQL File
First, create
In work, you often need to determine the type of columns in the table according to the actual situation. The following table records the description of column types in oralce.
Field Type
Description
When I used orcle today, I found that the system prompts that the account was locked when logging on to the system account (or another account). I checked the information and found the solution to the problem as follows:
CMD
C: \ Documents ents
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