http://welcomyou.javaeye.com/blog/371189
Ja16sjistilde
Japanese_japan. Ja16sjistilde
Oracle Nls_lang Summary
Keyword: Oracle Nls_lang character Set character set to get a database from the customer, the client's database server is Ja16sjis, and
IMPDP smtj2012/password @localhost/devdb directory=dump_dir dumpfile=bkmmtdb_smtj20130417120001.dmp REMAP_SCHEMA=SMTJ: smtj2012 remap_tablespace=smtj:smtj2012
Data Pump IMPDP Parameters:1.remap_datafile This option is used to convert the source
use of functions and cursors in Oracle
--Creates a function and invokes the CREATE function fun1 (v_in_ename varchar2) return number is v_annual_sal number;
Begin Select (SAL+NVL (comm,0)) *13 into V_annual_sal from EMP where
Configuring system resources for Oracle in SOLARIS10
Wen/Huppis Haratu
Summary:
In this version of SOLARIS10, System resource configuration management has changed significantly compared to previous versions. such as Oracle, in the process of
In Oracle/plsql, the InStr function returns the position of the string to be intercepted in the source string.
The syntax is as follows: InStr (string1, string2 [, Start_position [, Nth_appearance]])
String1 the source string to find in this string.
1: First you need to create a package and define the type of cursor you return, the stored procedure
Create or Replace package test_pkg is--Public type declarationsType cur_emp is REF CURSOR;Procedure Test_proc (v_empno in number, emps out cur_emp);
In Oracle9i, Oracle provides an internal event that forces a flush buffer Cache with the syntax:
alter session SET events ' immediate trace name Flush_cache Level 1 ';
Or:
ALTER session SET events = ' Immediate trace name Flush_cache ';
Similarly,
/*
Source: Network
Collection and collation: Chenj
Date Created: 13:21 2010-3-3
Modified time:
*/
/*
Phenomenon:
ora-28001:the Password has expired
Reason:
Due to "password_life_time=180 Day" set in default profile in oracle11g
Effect:
Once the
Analysis function over and open window function
One: Analysis function over
Oracle provides analytic functions from 8.1.6, which are used to compute some sort of aggregation value based on a group, and the difference between it and the aggregate
First, row to column
In some application scenarios, such as student achievement. The students ' scores in all subjects are saved to a table, and when we need to display the results of each subject in the form of a list, we need to use the row-column.
http://skzr-org.javaeye.com/blog/811491
Goal: Timed export: Use Scheduled tasks to automatically compress: using the command line RAR automatic monthly storage: using cmd
Code:
CMD code @echo must go to the specified path, otherwise it will
in development, we may have deadlocks when manipulating the database, and if we don't want to wait, this requires us to manually kill the process.
Oracle View Lock Table
SELECT l.session_id Sid, S.serial#,
Http://topic.csdn.net/u/20070327/17/e322facd-794d-48c8-9ea5-66e4a8394cfe.html
Declare num number; Begin Select COUNT (1) into NUM from user_tables where TABL E_name= '
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
1.TRUNC (for dates)The date value that the Trunc function truncates for the specified element.Its specific syntax format is as follows:TRUNC (Date[,fmt])
which
Date value FMT date format, which is truncated by the specified element format.
Job
The parameters:
One: time interval execution (every minute, every day, weekly,: Monthly, Quarterly, half-yearly, yearly)
interval refers to the interval between the last execution end and the next start, and when the interval is set to NULL,
In general, after the Oracle database installation, there are many default accounts and passwords, more commonly used are:
Account: Scott Password: Tiger account: System Password: Manager account: sys password: any character.
When we want to create
Both date and timestamp are available for addition and subtraction operations.You can manipulate different time types for the current date Gagnin, month, day, hour, minute, and second, with three ways:
1 using built-in functions numtodsinterval add
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
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