1. Start Sqlplus2. Please enter your username: Sqlplus/as sysdba3. Enter Password: direct return(Note: For SYS both lock and not lock can be locally certified log into SYSDBA)4. Connect to:Oracle Database 11g Enterprise Edition release
Today encountered ORA-12560:TNS: Protocol adapter error problem, after a few efforts to solve the problem, and share with you.
There are three reasons for the problem with Ora-12560:tns: Protocol Adapter errors:
1. The monitoring service did not
First, installation oracle10g (hereinafter refers to oracle10g)
Most of the time Oracle installation is a headache, confusedly installed, the results can not be used, and then unloaded load loaded to install to feel the effect is getting worse, this
The command is at the beginning--the command that can be entered in the--cmd--dos run.
(1) command to open and close Oracle related services:
Open service
net start oracleoradb10g_home1tnslistener--This is listening, this service name may not be the
Oracle provides a number of logical judgment functions that can be used in queries. 1, testing for null values-NVL function function prototype: NVL (testvalue,substitutevalue) common usage is Select max (score) from SC Where name= '
The Row_number () syntax is as follows:
1, Row_number () over (Order BY column DESC) first returns a sequence number for each record by descending the column columns:
SELECT d.*, Row_ Number () over (order by D.r_opate_num DESC) as INX from
A recently done module involves 8 tables of joint query, because these 8 tables have a lot of master and Subordinate Table Association, the results of the use of fuzzy query results set a duplicate record. As follows:
The SQL statement executed is
First, the distinction between partitioned tables and table partitions is clear: Table partitioning is an idea, and partitioning represents a technology implementation. Table partitioning can be considered when the size of the table is over G,
Kai-Stop Oracle Services
Log on to the server where the Oracle service resides [root@localhost ~]# su Oracle[Oracle@localhost ~]$ Sqlplus/nologSql> Connect/as SYSDBAsql> shutdown immediate (Close database instance)Sql> Startup (starting a database
I. Permissions-related
1. Landing
Sqlplus System/admin as SYSDBA; Administrator Login System Account
Sqlplus Scott/tiger; Log on to regular user Scott
2. Managing Users
Create user Wahaha; Under the Administrator account, create a user
When doing a project just now, configure the oracle10g report connection error in MyEclipse: Error while performing database login with theoracle driverThe information entered when the database Driver is configured is as follows:Driver
Problem Description:
A while back home after the project to find that can not connect Plsql, after looking at service Discovery Tnslistener not started, and then go to the list of services to manually start. Discovery could not be started
Solution:
Create a user in 12c--avoid ORA-65096 or ORA-65049 errors
From:Creating users in 12c-avoiding ORA-65096 or ORA-65049. (Document ID 1572404.1)
Apply to:Oracle database-enterprise edition-version 12.1.0.1 and laterInformation in this document applies
When you need to use these 2 times, first of all, simply:
If you order the monthly product of March 15, the end of the month, then you should charge a 17-day fee, this time should determine whether the order time is greater than the beginning of the
If Oracle sets a certain time without access, the connection is automatically closed so that an IO exception occurs when Java accesses Oracle again.Workaround: Add the following configuration information to the spring configuration
In the absence of visual tools to monitor database performance, common scripts come in handy, and here are a few scripts related to Oracle performance for your reference. The following scripts are passed in Oracle 10g testing and Oracle 11g may have
analysis and solution of the problem of Oracle character set garbledI. Description of the problem
SQL Plus Worksheet is an SQL Statement editor for a window graphical interface, which is relatively sql/plus for users who prefer a window interface
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