This is the first day on the CSDN published documents, the purpose is to confuse the two days of the problem has finally been solved, say, and share with you, I hope to encounter such a problem friend help.
So, we use F1 in Pb, the report is
One, data type
1, CharChar is a fixed-length string that is padded with spaces to reach its maximum length. If the column does not insert data as NULL, the insertion data is not in the defined length, padding with a space.
2, ncharThis is a
Scene
Suppose we have such an Access record table accesstable, which is the user's unique identification (USERID), the Access Time (Visittime), and the version information reported at the time of the visit (ver). The requirement is to query what
Whether the other Oracle version has this problem is not clear, at least for the Oracle 10g, Oracle 12c I tested at the moment, after the execution of either inexplicable error, or after the execution of the return of 0 rows affected.
My situation
The main problem is that the character encoding of the Oracle client software is inconsistent with the server-side character encoding.Oracle Service-side character encoding is: ZHS16GBKThe Oracle client character encoding is: WE8ISO8859P1There are
The documents involved are:/etc/oratab$ORACLE _home/bin under the two scripts, Dbstart and Dbshut
To edit a configuration file:
Vim/etc/oratab
Will:
Orcl:/u01/oracle/product/10.2.0/db_1:n
To
Orcl:/u01/oracle/product/10.2.0/db_1:y
Then the
There are usually four connection methods to choose from. Here I only use two of themI use tomcat under win98The server is winnt and Oracle is installedMy class path is: D: omcatwebappsROOTWEB-INFclassesyourpackageJsp path: D: omcatweb‑rootCall path:
I didn't want to write any articles similar to the tutorial, because since it is called a tutorial, it will be able to go through the test of history, for Cainiao programmers like me, I just like to share some of my experiences as I like. There is
The Blob field in Oracle is special. It has much better performance than the long field and can be used to save binary data such as images.Writing Blob fields is very different from writing other types of fields. Because Blob itself has a cursor,
After 64-bit oracle is installed, when plsql is used for connection, the database option is blank. To solve this problem, the following records are generated:1. Download and install oracle 11g r2Http://download.oracle.com/otn/nt/oracle11g/112010/win6
Duplicate data may be in the following two cases: The first is that only some fields in the table are the same, and the second is that the records in the two rows are the same.1. Deletion of duplicated data in some fields1. Query duplicate
Oracle users should be familiar with how to view and set the maximum number of connections of Oracle databases. Here we will try again ?? Chaos? /P>View the current number of connections. You can use select count (*) from v $ process;Set the maximum
The customer has an instance on the machine. After the machine is restarted, it is always not started at random. Each time it is started manually, srvctl is removed once. This is because of the crs configuration:[Root @ rac1 ~] # Crsctl stat res ora.
The customer has a 10 Gbit/s RAC environment. Due to an occasional requirement, a 11 Gbit/s database needs to be temporarily started. After we mount the 11 Gbit/s software volume and datafile volume, the database of 11 GB can be started normally,
The operating system version is Solaris 10. After installing the 11.2 grid, there is no problem with installing the 11g RAC database. But when installing the 10g RAC database, the progress bar to 50% always reports the Error of the OUI-35000 Fatal
1. Select an appropriate ORACLE OptimizerThere are three Optimizer types in ORACLE:A. RULE (RULE-based) B. COST (COST-based) c. CHOOSE (selectivity)Set the default Optimizer. various declarations of the OPTIMIZER_MODE parameter in the ora file, such
These functions allow you to access the Oracle8 and Oracle7 databases. They use the Oracle8 point-of-use interface (OCI8). To use this extension module, you need the Oracle8 client library file.This expansion module is smoother than the standard
When installing on an Oracle 8.0/2000 machine, select English as the language (the user's machine selects Simplified Chinese), and then use Regedit to edit the registry, select "Software> Oracle" under "HKEY_LOCAL_MACHINE" in "My Computer" and
Oracle does not support limit similar to MySQL. However, you can still use rownum to limit the number of rows in the returned result set.If you only want to return the first 10 records, you can write as follows:SELECT * FROM table where rownum
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