I just tested a program and reported an error saying that the data was not found:
Rochelle date1! = L_date2L_date1 = 26-May-11, l_date2 = 26-May-11
......
It turns out that it was nls_date_format.
Oracle uses built-in programs such as
When handling exceptions, pay special attention to the use of when others then, because when others then will eat all the exceptions. If no information is thrown after when others then, that is, when others then null, this may greatly increase the
Test code:
Declare begin -- most normal way to handle exception. declare except_test0 exception; begin raise effect_test0; exception when effect_test0 then dbms_output.put_line ('test0 effect_test0: sqlcode = '| sqlcode || ', sqlerrm = '|
Executing root. Sh errors with "failed to Upgrade Oracle cluster registry configuration" [ID 466673.1]
Modified07-jun-2010TypeProblemStatusPublished
In this
1. delete/truncate: only delete data. The index structure is not deleted. Drop will delete the table structure and the index/constrain/trigger that depends on the table. The procedure/function will be retained, but will change to the invalid state;
Archive logs record database operation records, which are the basis for data recovery. If the archive mode is enabled for the database, a large number of archive logs will be generated. Of course, if there is an RMAN backup, logs that have been
Flash back Query
(1). Flash back Query
For example:
1) after the employee Smith record is deleted, You can query the data of EMP at '2017-02-11 23:34:05 'if you want to query the values before the row record is deleted. The query method is as
create or replace function GET_COUNT_ZS(deptcode in varchar2, tablename in varchar2,bs in varchar2)return varchar2is num varchar2(1000);c number;beginif(bs=0) then num:='select count(*) from '||tablename||' where deptcode like '''||deptcode||'%'''
How to use ORACLE analysis functions such as rank (), row_number (), and lag ()Row_number () over (partition by col1 order by col2)
Indicates grouping by col1 and sorting by col2 within the groupThis value indicates the sequential number after
Exp encountered ORA-06552 error solution (PLS-553: Character Set Name is not recognized) There is a built data, Oracle 9.2.0.4 for Linux, character set is the default we8iso8859p1, not changed to zhs16gbk. the database does not have any
Problem description: My colleague said that an SQL statement on PLSQL has been being executed. To be disconnected, the PLSQL process cannot be disconnected. Therefore, the PLSQL process is simply closed. Later, I wanted to check whether the process
First download the installation package... Address: This http://download.oracle.com/otn/nt/oracle10g/10201/10201_database_win32.zip
Of course, the default installation package does not support Windows 7 and visata. So we must change the following
Step 1: Create a table cat in Oracle
Id varchar2 (32)
Name varchar2 (50)
Sex char (1)
Weight float
Create a sequence cat_sequence
Step 2: create a web application Quickstart,
Add related DLL
Iesi. Collections. dll
Linfu. dynamicproxy. dll
Log4net.
Many of my friends only use Oracle to delete the system. However, in many cases, he may find that the next installation page disappears when the system is re-installed, and he may have to reinstall the system, in fact, this is not the case if your
How to back up one or more users separately:
D: \> exp Scott/tiger file = Export File
D: \> exp system/manager owner = (user 1, user 2 ,..., User N) file = Export File
2. How to back up one or more tables separately:
D: \> exp user/password tables =
LSNRCTL> StatusConnecting to (description = (address = (Protocol = IPC) (Key = extproc1 )))TNS-12541: TNS: no listenersTNS-12560: TNS: protocol adapter error.TNS-00511: no listeners32-bit Windows Error: 2: no such file or directoryConnecting to
This problem has plagued me for a while, and I searched it online. I didn't find anyone who actually solved it. There has been no class-test problem in operating Oracle databases using the nhib.pdf packaged in spring.net in the project. However,
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