1. What is the Oracle character set?The Oracle character set is a collection of symbols for the interpretation of byte data. It can be divided into different sizes and have an inclusive relationship. Oracle supports the national language
Oracle is used in the projectInstrThis function, by the way, carefully learns this knowledge again.
In Oracle, you can useInstrThe function determines whether a string contains specified characters.
Its syntax is:Instr (string, substring, position,
When Oracle exp and IMP are used to export and import data. Sometimes, the data to be imported is not necessarily the same tablespace as the same user.
For example, in the source database, the user is AAA and the tablespace AA is the target
OracleLoop statementLoopAndWhileUsage
A. Loop... end Loop (Execute at least once)
Please write a process. You can enter the user name and add 10 Users to Users in the table, the user number is from 1 .
Create or replace procedureSp_
MySQL: it will not die, but it will not develop, or even shrink its functions. It is only suitable for personal or Working Group databases. Oracle will not be silly enough to let the world scold him
Java: Oracle should pay great attention to it.
For a long time, I have been using ms SQL Server/Access database, through. Net Access Ms home things almost never encountered any trouble. Recently, I used oracle as a database in my project. I learned some things about. Net accessing Oracle and
What should I do if a very long SQL statement cannot be executed? See the following solution:
/* ----------------------------------- | The ceo SQL statement, such as the parameter and value is very large ---------------------------------------- *
Recently, you need to manually refresh a materialized view after the documents are successfully submitted.
The solution was to call dbms_refresh.refresh ('materialized view name') on the after update trigger of the table. An error was reported
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
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
■ Modify the initialization parameter control_files SQL> alter system set control_files ='/Export/home/opt/product/10.1.0.3.0/oradata/ldfsys/control01.ctl ','/Export/home/opt/product/10.1.0.3.0/oradata/ldfsys/control02.ctl
If you are familiar with Oracle, you must be familiar with Scott. Almost every version has a built-in user with four tables. Log on to Scott/tiger. I once heard a joke, saying that a company is recruiting developers engaged in Oracle. A person who
The Oracle oledb driver uses the following registry project: Modify the file path and import it.
Windows Registry Editor Version 5.00
[Hkey_classes_root \ CLSID \ {3fc8e6e4-53ff-11d2-bb7d-00c04fa30080}]@ = "Oracle ole db error lookup"
Similar to physical creation, only the special location of logical standby is indicated here.
The biggest difference between logical standby and physical standby is:Is to extract the SQL application from the redo file to the logical
Recently, a query statement is required in the project report to count the number of other columns that meet the conditions of a certain column.
For example, the following table structure is available:
You need to add a column after
after receiving instructions from the user today, you need to create a table in the database. After the script is written, the user is successfully executed, but the user is found to be using the error user1, user2 should be used.
Delete the
Description:Decode(Condition, value 1, return value 1, value 2, return value 2,... value n, return value n, default value)
The function has the following meanings:If condition = value 1 thenReturn (translation value 1)Elsif condition = value 2
When creating an Oracle database, some built-in database objects will be created, which can be roughly classified into four categories:1. Data dictionary; 2. Dynamic Performance view; 3. PL/SQL packages; 4. Database event triggers. This note briefly
-- Create a package specificationCreate or replace package package_pageType cursor_page is ref cursor;Procedure proc_page (P_curpage number, -- current pageP_pagesize number, -- size of each pageP_tablename varchar2, -- table name EMP EP_where
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