When you use a different version of the EXP tool for database export in an Oracle database, you sometimes experience errors similar to the following:Exp-00003:no storage definition found for segment (11, 307)Exp-00003:no storage definition found for
--19-1: Create a function with no parameters create OR REPLACE function cur_datetime return VARCHAR2 are BEGIN return To_char (sysdate, ' YYYY ' year "MM" month "DD"
Day "Hh24″" MI "cent" SS "seconds" ');
End;
/--19-2: Create a function with input
One. Sql*plus Client Tools
1. Download, URL: http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html (click to open link)
2. Select the corresponding version of the operating system of the client, the window system as an
1. Oracle Date format
The default time format data for Oracle data is displayed in relation to the character set being used. Usually displays the month and the year, but does not show time and seconds.
For example, when using the Us7ascii character
CREATE TABLE EMP (ID int,ename VARCHAR2 (30),Sale Number (7,2)--a total of 7-bit xxxxx.xx The biggest is this data)
--Develop a package---
Create or replace package testpackage asType test_cursor is REF CURSOR;End Testpackage;
--the process of
Table 1:
Table 2:
Now to get repid=48 corresponds to table 2 of the last day record, which is to investigate dealid=58
Sql:
SELECT *From Mgruserrepresentationsdeal MDwhere Md.dealid = (select Max (dealid) dealidFrom Mgruserrepresentationsdeal
when we have finished installing the Oracle database, we will be thinking about connecting with the visualizer, Navicat is our common tool for visualizing connected databasesWhen we finish installing the Oracle database, we need to start himStart
Split function One:String segmentation:Create or Replace function get_strarraylength(Av_str VARCHAR2,--the string to be splitAv_split VARCHAR2--Separator symbol)return numberIsLv_str VARCHAR2 (1000);Lv_length number;BeginLv_str:=ltrim (RTrim (AV_STR)
Set up software only the following comments are strange, and the previous software only different, for RAC install and to upgrade a Oracle Database; previously loaded once set up software only, Next time, post it.Only Oracle base, no Oracle
Monitoring the number of Oracle connectionsUse Python scripting to monitor the number of Oracle connections, connect Oracle to install the Cx_oracle module, check for normal after installation is complete, no information returned as normal;python -c
The data source is Oracle and the field type is number.Found connecting to a Logrow control via mainline, the value of the field entered is 0After many tests, there are no rules.This sentence is found by looking at the code.if (row2.id! = null)
I. Functions
1. lpad/rpad in Oracle/PLSQL, the lpad function pads the left-side of a string with a specific set of characters. the syntax for the lpad function is: lpad (string1, padded_length, [pad_string]) string1 is the string to pad characters
Recently I found that even Oracle 10g R1 had the following error after Shutdown and startup to switch to archive mode:
ORA-12528: TNS: Listener: all appropriate instances are blocking new connections
I checked some of them and said it was a problem
Using shrink space to shrink ORACLE data segments
In Oracle, you can use alter table table_name shrink space to contract a table. There are two prerequisites for using shrink:
1. Row movement must be enabled for a table. 2. The segment space
Today I learned about the open-source DSpace software. The installation process is summarized as follows:1. Environment Settings1.1 download and install jdk1.6.x. Select the default installation path during installation.Generally C:/program
Here we will introduce the implementation process of modifying user permissions in Oracle, including some permission management aspects. I hope this article will help you understand how to modify the user permissions of oracle.
Oracle Database
5.5.1 principles of Web-based management
1. Client
The client operating system is Windows 2000, Windows 98, or Windows NT. the browser with IE 5.0 or above is installed, and the Java Plug-in Oracle JInitiator 1.1.8.10 and the applet-based
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