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
Moon Pale Wolf 2017-11-27 23:17:37
In Oracle, the data table alias cannot be added as, such as:
Select A.appname from appinfo a;--correct;
Select A.appname from appinfo as a;--error
May conflict with the keyword as in the stored procedure in
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
The merge statement is a new syntax for merging update and INSERT statements oracle9i. Through the merge statement, according to a table or the join conditions of a subquery to query the other table, join condition matching for update, unable to
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
The causes Oracle index to fail for many reasons: 1, using functions on indexed columns. such as SUBSTR,DECODE,INSTR, and so on, the index column is operational. You need to set up a function index to solve it. &NBSP Create a function index by:
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
recover data that was delete
Suppose the table name is: Table_delete
View System Current time
--Get the system current timeSelect To_char (sysdate, ' Yyyy-mm-dd hh24:mi:ss ') from dual;
View the data in this table at a
Ubuntu's openjdk often come with inexplicable mistakes, like the IDE suddenly collapses. Just Java8 also come out, why not try the latest Java on the latest Ubuntu.
First add PPA
$ sudo add-apt-repository Ppa:webupd8team/java
And then update
Reproduced from: http://www.cnblogs.com/lanzi/archive/2010/12/27/1917659.html
In ArcGIS, there are several ways to store data from SDE Storage to Oracle: binary long Raw, ESRI's st_geometry, and Oracle spatial sdo_geometry, and so on.
The pros and
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:
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
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