Previously, when processing Oracle's exports in code, if there is a return line in the field, processing is always very annoying, the practice is to put the field in the return line to kill, this is too dirt point, oh, but because of Oracle is not
When you debug Oracle's stored procedures and functions, you may need to output some debugging information, dbms_output with Oracle. The Put_Line () method can satisfy the requirements in most cases, but if the output is more than 256 characters, it
Count function usage in Oracle
Count is used to count the results of a query with several records
Example Table T_test
name
Gender
Age
Wages
Tom
Man
23
2000
John doe
Woman
34
Execute explain plain for select in Pl/sql ...
View Description Data reference:
Oracle's common execution planning steps
Here we introduce some common steps and algorithms in the execution plan.
1. Table Access Path
(1) TABLE ACCESS
Full:
Problems with JSP and Oracle are encountered(1) Write stored procedures in Oracle and read in Java find it is impossible to get a long type with getstring. and other varchar2 taken out together can be taken out as string valuesString
Reason for writing:
1. Oracle instance is created on 91.
2. In order to solve the problem of importing SDE user error without creating the SDE service pilot data, the sequence of data is introduced after the first SDE service is created.
3, because
Small knowledge Point: Dual is a pseudo table, is a single field, a row of records of the table.
do not need to get the data from the table, but simply in order to get some of the information we want, and to complete through select, it is
Create the following in the Sqlplus:1, Package
Sql> Create or Replace package types2 AS3 type CursorType is REF CURSOR;4 End;5/
The package has been created.
2. functionsql> Create or Replace function sp_listemp return Types.cursortype2 AS3 L_cursor
Recent project with Struts+spring+ibatis
I am a novice, the first time with Ibatis
So check the data online, download demo, run ...
The beginning is more smooth, nothing more than some select/update/delete
Later encountered a stored procedure call,
Solve the problem of EM,DBCA Chinese block garbled in Oracle 10g database under Linux
Today in Linux installed Oracle 10g database, installed after the Linux system language switch to Chinese, found Oracle's EM (Enterprise Manager), DBCA (Database
The "Exp-00003:no storage definition found for segment ..." error occurs when you export a table with a LOB object using the previous version of EXP from version 9205 (or more).This is a bug for Oracle, and for this bug, the following processing can
Because of Oracle commercial copyright issues, MAVEN cannot download jar packages directly through the central repository, and if you want to use jar packs, you need to manually process them.
Step One: Place the Ojdbc14.jar in the user's directory,
Oracle sequence detailing and creating a self-added primary key
Oracle Sequence PRIMARY KeySequence: A database object provided by Oacle to produce a series of unique digits.L provide a unique numeric value automaticallyL Shared objectsL primarily
Symptom: Undo table space is getting bigger and longer this end data crashes because of insufficient disk space;Problem Analysis: The causes of the problem are mainly the following two points:1. There is a large volume of transactions so that Oracle
Oracle gets the current date and date format
Get system Date: Sysdate ()Format Date: To_char (Sysdate (), ' Yy/mm/dd HH24:MI:SS)or To_date (Sysdate (), ' Yy/mm/dd HH24:MI:SS)Format Number: To_number
Note: to_char Converts a
I. Database user management
1. Users and Security
The security of Oracle databases includes the mechanism for controlling database access and use at the object level, which is implemented by database users. The database user is defined in the
Stored Procedures
1 CREATE OR REPLACE PROCEDURE Stored procedure name
2 is
3 BEGIN
4 NULL;
5 end;
Line 1:
The Create OR REPLACE PROCEDURE is an SQL statement that notifies the Oracle database to create a stored procedure called skeleton,
1: View the table space situation
Select Tablespace_name,
FILE_ID,
file_name,
Round (Bytes/(1024 * 1024), 0) Total_space
From Dba_data_files
ORDER BY Tablespace_name
2: Create a table space
CREATE tablespace
Oracle Common error: ORA-01403
ORA-06512: In "MALL." Pub_yang_logon_organ ", line 88
ORA-06512: On line 1
At Com.yangcq.flow.processflow.ProcessflowFunction.execute (processflowfunction.java:102)
At
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