Writing a simple SQL statement in Oracle
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->-- 1 remove spaces on both sides of the field content in SQL statements.
Rtrim (ltrim ('Demo '))
--
1. Modify the oracle11g parameter to solve the cursor exceeding problem:Log on to sys and change the startup parameter file.Open_cursors = 3000Session_cached_cursors = 3000Restart the Oracle instance using the command line (using new parameters)
Today, I tried to use C ++ to operate Oracle databases. The steps are as follows:
1. Install occi
If the Oracle database does not install occi by default, you can download the same version of the API from the official website, address:
Here we will not talk about Oracle, but about learning methods. It is often said that the Master leads the door and practices depend on the individual. To study Oracle, you need to study it on your own. Most of my studies on Oracle over the years
Recent studies have found that the indexes used by Oracle databases have never reached 1/4 of the number of available indexes,
Or its usage is different from the intent of the initial design. Unused indexes waste space and reduce DML
The speed,
SQL _text: The first 1000 characters of SQL text
Sharable_mem: size of the occupied shared memory (unit: byte)
Persistent_mem: Fixed memory size during the life cycle (unit: byte)
Runtime_mem: Fixed memory size during the execution period
Sorts:
To_date formatDay:Dd number 12Dy abbreviated FriDay spelled out FridayDdspth spelled out, ordinal twelfthMonth:MM number 03Mon abbreviated MARMonth spelled out MarchYear:YY two digits 98Yyyy four digits 1998
The time range in the 24-hour format is: 0
The following are all Oracle database connection strings. The summary is very detailed, but I did not summarize them. I just learned from Oracle. Paste it out. First, it is convenient for you to search for it later, and second, it also provides
Original address: http://www.iana.org/assignments/port-numbers
Service
Port
Product
Change Method
Oracle HTTP Server listen port/Oracle HTTP Server Port
80
Oracle Application Server
Edit httpd. conf and restart
1. log on to 9.2.0.1 as sysdba and delete public synonym xmlconcat & function xmlconcat
C:> sqlplus/nolog
SQL> connect/As sysdba
SQL> drop public synonym xmlconcat;
SQL> drop function xmlconcat;
2. Shut down normally and stop all Oracle
At this morning, a telephone bell woke me up. My colleagues at night shift made a mistake again. As a result, my colleagues told me that the database could not be connected and the production line could not be refreshed.
Open your computer and
In order to solve the memory leakage, the patch has been upgraded many times in the past few months, but it has failed many times, but it has finally been solved. In fact, the upgrade fails because some files are being used by other programs. The
1. Remove the network cable of the priv Nic of rac2. rac2 reboot and Rac1 work normally.[Oracle @ mesdb01 ~] $ Crs_stat-TName type target State host------------------------------------------------------------Ora. Mes. DB application online
Original article: http://dev.csdn.net/article/72/72686.shtm
For convenience, the following simple model is created and some test data is constructed:In BSS,-- Customer data table
Create Table MERs(Customer_id number (8) Not null, --
I sorted out the DB hang issue during the shutdown process yesterday. For details, refer:
Dbhang solution during oracleshutdown
Http://blog.csdn.net/tianlesoftware/article/details/7407587
Today, my colleague modified the stored procedure, which
The trunc () function is composed of two types:
1. trunc (for dates)The date value intercepted by the trunc function for the specified element.The syntax format is as follows:Trunc (date [, FMT])Where:Date: A date value.FMT date format, which is
Description of timed_statistics parameters on MOS:
Init. ora parameter "timed_statistics" reference note [ID 30824.1]
Health checkalert: Consider setting timed_statistics and statistics_level to recommendedlevels [ID 957433.1]
Version
During Oracle 11g installation, the following two problems are frequently encountered:
Oracle 11gora-00845: memory_target not supported on this system description
Http://blog.csdn.net/tianlesoftware/article/details/7256984
[Ins-35172] target
First look at our data:
SQL> select count (1) from Dave where cust_tel like '2013 ';
Count (1)
----------
2723
In our Dave table, cust_tel had 0551 records starting with 2723. Now we have changed these records to 0556.
Let's test it using
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