Garbled characters in Oracle Chinese:When querying a remote database, sometimes the query results are displayed in all the fields displayed in Chinese ?? The Chinese characters are garbled.Causes of Chinese garbled characters:The Oracle database
88. What are the counter numbers of CHR?
ASCII ()
Select char (65) from dual;
Select ASCII ('A') from dual;
89. String concatenation
Select Concat (col1, col2) from table;
Select col1 | col2 from table;
90. How to export the select result to a text
22. ExpReturns the n root of the number E.
SQL> select exp (2), exp (1) from dual;
Exp (2) exp (1)
------------------7.3890561 2.7182818
23. FloorReturns an integer to a given number.SQL> select floor (2345.67) from dual;
Floor (2345.67)------------
Original article: http://www.cnblogs.com/fjfzhkb/archive/2007/09/03/879807.html
Import and Export Oracle Data imp/exp
Function: Oracle Data Import/Export imp/exp is equivalent to Oracle data restoration and backup.In most cases, you can use ORACLE
C # string used to connect to the Oracle database
C # The string connecting to the Oracle database is as follows:Data Source = orclsid_127.0.0.1; user id = Scott; Password = Scott;
It should be particularly noted what the value of data source is and
Detailed description of Oracle database instance operations through JDBC
This example uses jdbc2.0 and Oracle9i databases. The database is located on the local machine. Use the Scott mode that comes with the database.
With detailed comments, I don't
Oracle form development issues (FRM-40831)
Make a fund form for the project. On the query page, you can set the funds based on the date range and other conditions.Can be queried. Other fields are correct during query, butThe following error is
1. null Concept
There is an important concept in the database: null. Sometimes, in a table, some field values may be null because the data does not know the value or does not exist at all.
2. null value judgment
The null value is not equal to
Using the Oracle utl_file package, you can transfer text files to the data table, and vice versa:
1: create a file directory
First, create a file directory on the database server.
1.1 method:Set utl_file_dir = 'e:/temp 'to the path in the init. ora
The Application Development Framework (ADF) is short for short. Its predecessor isBc4j. The name indicates an end-to-end framework. Like spring, it provides support at every layer of the enterprise application architecture. Shows the architecture of
--------------------- The following is the Oracle database -----------------------------
SQL statement Optimization Methods: 30 examples
We often use hint in the SQL statement optimization process. Here we summarize the common Oracle hint usage in
I. Oracle connection method:
Starting with a user request,What is the complete working mechanism of Oracle? First, a user process sends a connection request, if the host name or host name hit by the local service is used ), the request will be
Now I have been using the Ubuntu System for my work. I used to use Widnows to connect Oracle client to the SAP background oralce database. If you don't want to install another Windows server, you have to try the Ubuntu client.
First, go to the
Oracle9i introduces the merge command. You can execute the inserts and updates operations on a table in an SQL statement at the same time. the merge command selects rows from one or more data sources to update or inserting to one or more tables. in
Difference between after and before:One is triggered before the record operation, and the other is triggered after the record operation.
For example, a foreign key is defined between tables. When deleting a primary key, you must first Delete the
Today, Oracle 10 Gb is installed on your computer. Now we will introduce the installation process:
Environment: OS: Win 2000 Server
Mem: 250 m (haha is a little small, but there are still warnings during installation ~)
DB: Oracle 10.2.0
1 ). You
Processing of text fields in hibernate + spring + Oracle
After N days of painstaking exploration, I finally found a solution for processing large text fields in hiberate.
The configuration is as follows:
Applicationcontent. xml. Note: The
In Oracle 9i, reading char fields is inconvenient, which limits the use of char fields. to read the value of a field, use the following methods:
SQL> Create Table Test (
2 a char (5 ))
3 tablespace users;
The table has been
Although Oracle's locking mechanism is well-developed, many people are stuck in database programming. Don't blame others. Let's take a closer look at your design model and operational logic. The problem lies in yourself.
The following program can
The procedure is as follows:
//
// 1. After installationOracle 11g R2 for x64 LinuxCopy the occi header file and library file:// (1). Copy the header file// Mkdir-P ~ /OCCI-11gR2-X64/include// CP $ ORACLE_HOME/rdbms/public /*~ /Occi/include///// (2).
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