Recently, I encountered a very depressing problem when using Oracle for backup and restoration. Exp did not report any error, but IMP reported a missing right bracket error. The detailed error message is as follows:
ORA-00907: missing right
1. Use imp/exp. Export the source database first, create a new database, create the tablespace, and then import it. (It is said that this is acceptable, provided that the new database cannot contain tablespaces with the same name as the source
Computing time difference is a common problem of ORACLE data types. Oracle supports date calculation. You can create expressions such as "date 1-date 2" to calculate the time difference between the two dates.
Once you find the time difference, you
Oracle wmsys. wm_concat function, which uses the ',' link character.
Example:
SQL> Create Table idtable (ID number, name varchar2 (30 ));
Table created
SQL> insert into idtable values (10, 'AB ');
1 row inserted
SQL> insert into idtable
This small problem is also common today. Record it. Query data within an input range: Select * From Table1 where fld1> = A and between Both A and B are optional input items, which have the following combinations: 1: A has a value, B has no
A few days ago, I wrote an oracle procedure to extract useful data from many irrelevant Excel files and insert them into a table in the form of a single record, I used two nested cursors in procedure to traverse and judge the results. After
Data Type comparison
Type name
Oracle
Sqlserver
Comparison
Character Data Type
Char
Char
All are fixed-length characters,OracleThe maximum size is 2 kb.Maximum length8 KB
Recently, I used Java to verify the information of cells in an Excel table. The data volume is large and the verification rules are complex.ProgramThe efficiency will be very low. Considering that the Oracle stored procedure can be compiled, the
1. Download the instant client from the Oracle Website:
Http://www.oracle.com/technology/global/cn/software/tech/oci/instantclient/index.html
Select different Instant Client versions based on your operating system
The downloaded file is a
Http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html
1.The following dll must be included during release.Http://www.189works.com/article-58367-1.htmlOr download the xcopy version of Oracle odac and run install. bat all c: \
Reprinted from: http://lin49940.javaeye.com/blog/466626
Today, a colleague encountered a problem when writing the Oracle storage process. The update operation in it cannot complete the update operation, but no error is reported.
For
Guidance:
Oracle 8i Database Server is a highly optimizable software product. Regular adjustments can optimize system performance and prevent data bottlenecks. By adjusting the database system, we can achieve optimal performance to meet user needs.
Oracle databases are widely used in different regions. Therefore, professional Oracle staff must understand how network connections affect database performance. The TNS provided by Oracle allows communication in each database.
The TNS server is
Guidance:
A few days ago, we used the package to complete the streams configuration. However, it would be more intuitive to use the OEM in management. Of course, it would be almost the same if we knew all the related packages. In 9i OEM, it seems
-- Concatenates values of different columns into a string using the concatenation operator "|" or Concat ('',''). -- Method 1: select s is recommended. team | '**' | S. name | '**' | S. job_number from staff s where S. pass = '000000' and S. TEAM = '
The time spent preparing new SQL statements is the most important part of the execution time of Oracle SQL statements. However, by understanding the internal execution plan generation mechanism of Oracle, you can control the number of times that
Requirement: the database contains two tables with different structures. Partial fields of the two tables need to be synchronized in real time.
Implementation solution: Create a trigger for synchronization on the two tables respectively. However,
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