The real story is as follows:
When you test yourProgramOracle performs very well, and the CPU is only 20%. But when you officially run the program, you find that its CPU suddenly soars to 100%. At this time, the bosses and many users are watching,
1. User Logon
Conn system/Manager
Conn Scott/Tiger
Ii. Change the password
Enter passw and press enter to modify the settings as prompted.
3. Switch the Login User
Conn username/password
4. display the currently logged-on user
Show
After completing the training, Master Zhou immediately ran to another brother organization to solve the problem. I really admire Master Zhou.
Brother organizations have encountered two difficult problems. A primary key repetition error is reported
1. Install Oracle client 9 and modify the tnsnames. ora file under c: \ oracle \ ora90 \ Network \ admin:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
# Tnsnames. ora network configuration file:
In the recent project, a group ranking problem occurs as follows:
The database has the following table:Depart a B C group
detachment 1 34.4 3.3 1 detachment 1 33.3 32.2 1 detachment 3 2 3.3 22.2 1 detachment 4 3.3 4.4 33.3 1 high-tech Zone
Basic Oracle Spatial operations
Oracle Spatial mainly usesMetadata table and Spatial Data Field(Sdo_geometry field) and spatial index to manage spatial data, and provide a seriesSpatial Query and Spatial AnalysisOfProgramPackage, allowing users
What is a cursor:
A cursor is a swimming cursor.
Description in the database language: the cursor is the entity mapped to the position of a row of data in the result set. With the cursor, users can access any row of data in the result set, after
From Oracle database products, from oracle2.0 (without 1.0) to oracle7.3.4, it is only a simple version number. However, from oracle8, database product feature identifiers such as Oracle8i and 9i appear, internet stands for "I", indicating that this
Test environment: oracle9i, PL/SQL developer 8.0, PL/SQL developer 7.0
After a colleague created Oracle jobs through PL/SQL developer 8.0, he could not see the jobs folder, but under the dbms_jobs folder. After creating Oracle jobs through PL/SQL
Oracle series: ref cursor
In the Oracle series: cursor (see:Http://blog.csdn.net/qfs_v/archive/2008/05/06/2404794.aspx)Think about it: How to pass a cursor as a parameter? To solve this problem, you need to use ref cursor.
1. What is
Through searching, I summarized the information about the query table in Oracle, including the table name, field name, field type, primary key, foreign key uniqueness constraint information. The index information query SQL is as follows, hope to
E: \ exp help = "Y"
By entering the exp command and user name/password, you canCommand after user/password:
Example: EXP Scott/Tiger
Alternatively, you can control the running mode of "Export" by entering the exp command with various parameters.
ASP. NET calls the Oracle Stored Procedure for fast Paging Original post: http://dev.csdn.net/article/82/82808.shtm For more information about accessing the stored procedure of Oracle 9i using ADO. net, see the following section.Article)Http://www.
In Oracle, if an update is performed across two tables, the SQL statement is written as follows:
Update table a set a. ID = table2.id where a. Name = table2.name
Oracle won't pass. After checking the information, you must write the SQL statement
Database links in Oracle can be used for cross-database queries, but problems often occur during use, often failing to test inexplicably. In fact, pay attention to the following issues to avoid many such problems.
1. It is best to set the link to
Problem Discovery
6
Month
24
Day
Afternoon, found A Local ClientProgramAn error occurred while inserting data. The reason is the table. B The constraint becomes "?", Because it contains Chinese characters, the data
To_date format
Day:
Dd number 12
Dy abbreviated Fri
Day spelled out Friday
Ddspth spelled out, ordinal twelfth
Month:
MM number 03
Mon abbreviated MAR
Month spelled out March
Year:
YY two digits 98
Yyyy four digits 1998
The time range in the
Oracle substr function usageObtain the substr (string, start_position,
[
Length
]
)For example:Substr (
'
This is a test
'
,
6
,
2
) Wowould
Return
'
Is
'
Substr (
'
This is a test
'
,
6
) Wowould
Method 1
Step 1: log on to SQL/plus to execute the command (no sequence is available)
Set Time on; (Note: Enable time display)Set autotrace on; (Description: Enable Automatic Analysis Statistics and display the running results of SQL
Oracle will acquire Sun Microsystems for $7.4 billion
Http://news.csdn.net/a/20090420/210589.html
Oracle acquired sun, and said it would use MySQL, an open-source database for the snow collection.
Http://news.csdn.net/a/20090421/210595.html
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