In the Windows enterprise operating system, uninstall Oracle 9i:
1. Stop all Oracle services
2. Delete All Oracle items in the Registry
(1) Delete the Oracle directory under HKEY_LOCAL_MACHINE \ Software
(2) Delete All Oracle items under
The views related to permissions and roles include the following:Dba_sys_privs: query the system permissions of a userUser_sys_privs: system permissions of the current userSession_privs: All permissions of the current userRole_sys_privs: system
Problem:
ORA-04063: ORA-04063: Package body "XX. YY" has errorsORA-06508: PL/SQL: cocould not find Program unit being called: "XX. YY"
Processing Process:
1. Re-compile the "XX" package in PL/SQL developer and find no problems;
2. Execute
We should not only write SQL statements, but also write SQL statements with excellent performance. The following sections will help the author learn, extract, and summarize some materials to share with you!
(1)Select the most efficient table name
The server is Windows Server 2003. After the Oracle client is installed normally, when data is inserted, all Chinese characters are displayed ?.
Exception:
Enter select userenv ('language ') from dual in the PLL/SQL statement, and the result is
The view SYS. dba_free_space and SYS. dba_data_files must be granted the query permission on these two view objects.
-- Connect as sysdba
Grant select on SYS. dba_free_space to Forrest;
Grant select on SYS. dba_data_files to Forrest;
View
Drop table "taskitem ";Create Table "taskitem"("Taskitemid" number not null enable,"Modifycount" number default 0,"Systemgroupid" number default 0 not null enable,"Description" varchar2 (400 ),"Makeruserid" number default 0 not null
Oracle Data is defined as a clob field. If it is obtained using the Rs. getstring () method, the value is always NUL and cannot be retrieved.
Use Rs. getclob () to obtain the clob type.
Convert clob type to string type
Java code
rs =
Assume that, as shown in the following table, the number of rows corresponding to each I value is not fixed.SQL> select * from T;
I a d---------------------------------------1 B 10:55:421 A 2008-03-27 10:55:461 D 10:55:302 Z 2008-03-27 10:55:552 t 1
Oracle Delete serialization:
Drop sequence seq_itv_collection;
Create serialization in Oracle:
Create sequence seq_itv_collectionIncrement by 1 -- add severalStart with 1399 -- count from 1Nomaxvalue -- do not set the maximum valueNocycle -- always
-- Sort by characters
Select * From perexl order by perexl. xx
-- Sort by numbers corresponding to characters
Select * From perexl order by to_number (perexl. xx)
-- Sort by pinyin (default)
Select * From perexl order by nlssort (danwei, 'nls _ sort
Why asmlib and why not?
Asmlib is a kernel support library based on the Linux module designed specifically for the Oracle Automatic Storage Management feature ).
Our long-term understanding of asmlib is not comprehensive. Here we will take a look at
Gossip:
Recently, I want to start learning oracle. I am always looking for Google du if I don't know anything, but sometimes I am not very interested in what I find. Hi, it seems that I should not be too lazy. I have collected some online knowledge
Introduction:
Oracle 10g express edition (xe) integrates Oracle html db 2.1 to facilitate Web-based application development. of course, there must be functional limitations for free: it can only be used for a single processor and can process up to 4
Working Mechanism of Oracle:
1. An instance is currently running on a computer (usually a host or database server) and runs oracle.
2. An application running on a computer (local computer or customer workstation) to run user processes.
3. The server
Because the SDE cannot be installed and is ready to be uninstalled and reinstalled, manually delete E: "SDE. DBF. When the Oracle Enterprise Manager is opened again, the system cannot log on and the database instance becomes faulty. Then, run the
1. Modify the oracle11g parameter to solve the cursor exceeding problem:Log on to sys and change the startup parameter file.Open_cursors = 3000Session_cached_cursors = 3000Restart the Oracle instance using the command line (using new parameters)
First install the Oracle client 1. Choose Control Panel> Administrative Tools> data source (ODBC)> add data source> select Oracle client data source name, we recommend that you use the same description as Sid to describe TNS service name. The
Table join
Table join refers to the association between tables in an SQL statement to retrieve relevant data from one or more tables. If an SQL statement has more than two associated tables,So what is the order of connection? Oracle first connects
In the past, I never wanted to read Oracle's copyright statement carefully. Today I opened the oracle10gr2 document, So I simply read this article from the beginning.
I think everyone should know that although the concept of copyright in China is
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.