1. startup nomount
Non-installation startup. In this mode, you can execute: re-build the control file and re-build the database.
Read the init. ora file and start the instance, that is, start the SGA and background processes. To start the
1. Run sqlplus, prompt
Sqlplus: ErrorWhileLoading shared libraries:/u01/APP/Oracle/product/11.2.0/dbhome_1/lib/libclntsh. so.11.1: cannot restore segment prot after reloc: Permission denied
This problem is caused by SELinux. Solution:
I am so depressed that I have been depressed for more than half a day.
Start with the user-defined functions previously written:
Create or replace function f_getworkdays (daybegin date, dayend in date) return numberis... End f_getworkdays;
System Environment:
1. Operating System: Windows 2000
2. Database: Oracle 8i R2 (8.1.6) for NT Enterprise Edition
3. installation path: C: \ oracle
Access Method:
1. Connect to SQL * PlusLog On As A system/Manager User,SQL> conn system/Manager
PreviousArticleIs a demo about using oracleclient to access the Oracle database,
However, it seems that Microsoft has declared that it will give up its support for oracleclient since. Net 4.0,
So the following blog will introduce more methods
In the previous blog, I introduced how to use Oracle Developer Tools for Visual Studio. NET in combination,
This blog post will focus on how to access the Oracle database by using the sqldatasource control,
In fact, as long as the environment is
Create an Oracle database connection for OLE. When the web page is opened, the system prompts that the Oracle connection cannot be opened. The error message Summary"
The Oracle client and network components are not found .", Consult colleagues and
I have been using SQL Server for database development. Recently, I started to learn about oracle because I used Oracle databases for new projects.After learning for a while, I found that there is still a big difference between SQL Server and Oracle.
In fact, uploading images and other BLOB fields stored in Oracle is not very good, but it is also possible to do so,
For example, struts1 + hibernate uploads a file, a typical exampleCodeAs follows:
Dworkstationdao d = new dworkstationdao ();
For example, when creating a news navigation bar, it is often like this:
Home> A> A1> A2
In this way, we need to display the names of the fathers of A2, for example, in the classification of A2. in Oracle, it is very easy to do, mainly using
When oracle is uninstalled, it cannot be deleted. I want to reinstall the system. In my work, I have summarized the following methods and hope to help you.
1. log on to Windows as an Administrators Group.
2. Uninstall all orcle products and
-- Triggers and common built-in
Program Package
-- Author: shine
-- 1. Trigger:
-- 1. Trigger composition: it consists of trigger statements, trigger restrictions, and trigger operations.
-- Exp: 1.1.1
Create or replace trigger tri_test1
Before
Method 1:
Drop user XXXX cascade;
Drop tablespace XXXX including contents;
Method 2:
Write Stored Procedure Implementation
Declare Type name_list Is Table Of Varchar2 ( 40 );Type type_list Is Table Of Varchar2
The following method can be used for Oracle10g:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Connect System
As
Sysdba;
Shutdown
Immediate;Startup Mount;
Alter
System enable
In Oracle, always view process:
View the maximum number of processes in Oracle:SQL> select count (*) from V $ session # Number of connectionsSQL> select count (*) from V $ session where status = 'active' # number of concurrent connectionsSQL> show
Install the Oracle 11g client and the Pro * C/C ++ compiling environment on AIX
Installation preparation:
First, you need to determine whether the AIX version meets the minimum requirements for Oracle 11g Client installation, you
This blog post mainly introduces the management of Oracle log files,
There are two key terms for Oracle log files,
That is, the log file group logfilegroup and the log file logfile,
The following describes how to add a log file group,
How to
Determine the task expiration time:
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Create Or Replace Function Geturgentstate (m_taskid Varchar2 ,M_sendtime date,M_flag
Using System; using System. collections. generic; using System. linq; using System. text; using System. IO; using System. drawing; using System. runtime. interopServices; using Excel = Microsoft. office. interop. excel; using System. globalization;
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.