Purpose:Regular backup of database data to avoid data loss or errors
Implementation Method:Oracle export + windows Task completed
Learning Method:To know why
Implementation process:
1. Create a file backup. bat (custom file name. bat)
@ Echo off
Today, seven Chinese characters are inserted into the VACHAR2 (20) field of a table in ORACLE. The error message is displayed: The inserted value is too large.
You can insert six Chinese characters.
For a long time, a Chinese character occupies
In the previous chapter, we used the common method to configure the client. Is there a green version of the client?
The official Oracle answer is: Instant Client.
First, go to the homepage of this product and select the Windows 32-bit
This means that the system cannot log on, and no user can log on. If you suspect that the database is faulty, you can log on to the server and run sqlplus username/password. If you do not enter the database, you are prompted to enter the username.
How to export empty tables in oracle 11g
Due to the new features created by the delay segments of oracle 11g, oracle does not allocate data segments when no data is inserted. In this case, exp cannot export empty tables of the 11g Database.
Of
// Function: query the annual salary based on the employee nameCreate function sp_fun1 (sp_name varchar2) return number is yearSal number (7,2 );Begin-- Execution partSelect sal * 12 + nvl (comm, 0) * 12 into yearSal from emp where ename =
No character set is set when Oracle11g is installed on Centos6.4. The default Operating System Character Set WE8MSWIN1252 is used to change the character set to AL32UTF8.
SQL> select userenv ('language') from dual;
SIMPLIFIED
Causes and Solutions of ORA-01795
The system reports an SQL exception. The content is as follows:
Java. SQL. SQLException: ORA-01795: maximum number of expressions in a list is 1000
The SQL statement executed when an exception is thrown is not
Functions of L1, L2, and L3 blocks:-facilitates the query of data blocks.
L1 has a pointer to L3, L2 has a pointer to L3, and L3 has multiple data block pointers and States.1. Each L3 contains multiple L2 addresses (the first L3 is the segment
The cause of the problem is unknown. The problem is that an oracle service in windows cannot be started and the following error is returned.Windows cannot start OracleDBConsoleorcl on a local computer. For more information, see System Event Logs. If
1. First, install the MySQL Client software on the computer where Oracle is located, and install the x86_64 and i386 versions to connect to the MySQL database. Check the Client installation status:Copy codeThe Code is as follows:Rpm-qa | grep
The following describes how to use a connection pool to connect to a database on the Tomcat server.1. Modify the web. xml file:Copy codeThe Code is as follows: project index.html index.htm index. jsp default.html default.htm default. jsp
All oracle files may be faulty or lost due to misoperations!
These problems are often the most frustrating!
Of course, for a person who has a deep understanding of the oracle architecture, the problem is not very difficult!
Next, let's talk about
When developing an Oracle-based database, you must configure the client when debugging SQL statements.1. Install the Oracle client
Environment:
Windows XP Pro sp3 (Simplified Chinese) 32-bit1. First download Oracle 11g from the official website
(1)
Oracle often used trigger often appears ora-04091 variant table problem, here bring two kinds of processing methods for your reference.
-- ***** Example ***** Scenario Description:
1. init table create table sales (prod_code varchar2 (4),
A problem occurred some time ago, that is, a data file in the RAC environment was put on a local hard disk instead of in the ASM disk group. This is a strange phenomenon. What's more strange is that RAC actually allows this situation.
In fact, the
Oracle patch is also an Oracle patch. Oracle patches include several other types. Small patches are hard to count and are confusing. However, Oracle patches are still sequential. In addition, the opatch tool provided by Oracle is very convenient for
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.