Open the Oracle console that you just installed today and find that you cannot open the prompt for the following:The database is closed. Please specify the host authentication to access the database restart and diagnostic tools.This is also the case
1:DDL statementsCreate a student tableCREATE TABLE Stu (ID Number (6) is not NULL,Name VARCHAR2 (20),Age Number (3),Gender char (1) Default ' m ',Grade number (1),Class VARCHAR2 (Constraint STU_CLASS_FK foreign key references class (ID),Email
1. Prerequisites: You have correctly installed the Oracle service in your Linux system and can start normally using manual mode.2. After typing the command "Vi/etc/oratab" into the VI editor, find "orcl:/u01/app/oracle/product/12.1.0/dbhome_1:n" and
1. Change the machine name~]# hostnamectl--static Set-hostname Oracle2.~]# su-oracleLast login:tue April 10:11:34 CST from 192.168.30.250 on pts/0[Email protected] ~]$ lsnrctl statusLsnrctl for linux:version 11.2.0.1.0-production on 12-apr-2016 10:19
View the commands for monitoring listener LSNRCTL statusTurn off monitoring Lsnrctl stopStart monitoring Lsnrctl StartRegister for monitoring alter SYSTEM register (requires connection to database [email protected]>alter system register; Manual
1, internal connection (equivalent connection)Example: Connecting a table content to a displaySelect * from where = E.deptno;Note: The content is displayed only if the D.deptno = E.deptno condition is met, otherwise it is not displayed2, external
1. Use rownum you must include the first record, and if you do not include the first record, the result will not be returned. Because RowNum is a pseudo-column, it is a column that is added after the result set. And it was arranged starting from 1.2,
The drop table is placed in the Recycle Bin (user_recyclebin) instead of being deleted directly. In this way, the table information in the Recycle Bin can be restored or completely erased.1. Retrieve the deleted table information by querying the
I. VARCHAR2 (10) and number should be converted why type?When Oracle turns into MySQL:VARCHAR2 (10) can be turned into varchar (10)Number depends on what type of data is stored in Oracle:1, if the integer type, then MySQL, with an int can be;2, if
Oracle Database remote connection configuration tutorial
I have worked on Oracle databases some time ago, but I found that the database listening program and service name are difficult to handle, and there is no ready-made tutorial on the Internet.
0005 SQL note Note 01-SELECT statement, select statement example
1. SELECT basic statements:
SELECT field name 1,..., field name n FROM Table Name
2. Search all fields and replace the field name with "*", which leads to inefficiency.
SELECT * FROM
How to Implement the application of stored procedures in Oracle to call the MatLab function (1)
Design Concept: first, use java in eclipse to call the Matlab function, and then map the java class in the Oracle stored procedure. (The final choice of
Advantages and disadvantages of using SQL GUID and auto-increment columns as primary keys [reprinted], sqlguid
All databases in our company use GUID as the primary key. Many people are used to using int as the primary key. So here we will summarize
OracleEBSLOV Speed Optimization
I. symptom
When the SQL statements of our EBS LOV are complex, or the data volume is large, the LOV pop-up display speed, or directly fill in the ticket number and move it to another input box (when the Validate
Oracle 12C database imported to 11 GB
The packages backed up from oracle 12c (expdp) are restored to 11 GB. We all know that there will be compatibility issues.
Sure enough, an error is returned:ORA-39142: Version 4.1 (in the dump file forks. expdp)
Details about how to start and close Oracle database programs in Linux.
In a single-host environment, to start or shut down the ORACLE system, you must first switch to the ORACLE user, as shown below:
su - oracle
Oracle databases can be started in
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.