These two functions are offset functions that can be used to detect the next or previous value in the same field.The lead (Col_name,num,flag) col_name is the column name; num is the first value of the orientation; flag is a flag, that is, if the
1, the command is written in one line: for example, Sqlldr sh/&[email protected]&connect_string control=&ctl_file data=&dat_file log=& Log_file Direct=yes rows=100000.2, note the file newline character, if it is wind, it is cr/lf, if it is a Mac,
function : Intercepts the specified part from a date (date) type or interval (time interval) type.Ii. Examples :Get System Current Timeselect sysdate from dual ;Sysdate-----------2016/1/3 18To get the corresponding month-day time and minutes
Oracle creates a create user and authorizes grant to view logged-in users:Here's what you can do:Show user;Select Sys_context (' Userenv ', ' Session_user ') from dual;Select User from Dual;To view all logged-on users, you must be a DBA User:Select
Use scenario: Convert a column value to a comma-delimited string Example: For example, query all of the table space below, now to get all the table space with a comma-delimited string (such as the time of Rman duplicate skip tablespace) SQL>Select
I. Configure the Yum source and install the readline* configuration local yum 1, Mount disc Mount/dev/cdrom/mnt/media 2, create a new local Yun source configuration file vi/etc/ Yum.repos.d/local.repo Add the
"Go" usage of Oracle's SUBSTR functionOracle's use of the SUBSTR functionGets a string that specifies the starting position and length of the string substr (string, start_position,[length] )Such as:SUBSTR ('This is a test', 6, 2) wouldreturn '
1. Querying the path of Oracle logsSql> Show Parameter Dump_dest name type VALUE ----------------------------------------------------------------------- ------ background_dump_dest string /home/
Implementation results: Write a stored procedure under a user in a database, use Dblink to connect to another database in a stored procedure, take a number from a user in the database, and then insert a table in the current database.Two.
Oracle never archives logs to archive log:sql> shutdown immediate;The database is closed.The database has been uninstalled.The Oracle routine has been closed.sql> startup Mount;The Oracle routine has been started.The database is loaded.sql> ALTER
Http://hi.baidu.com/wind_stay/blog/item/85113a6f6553a5d680cb4a0e.htmloracle wildcard characters, using the operatorThe conditions used for where comparison are:equals: =, , >=, <>Contains: In, not in exists, not existsRange: Between...and, not
If...then...elsif implementation of multi-branch judgment statementsIts syntax is as follows:If ThenPlsql_sentence_1;Elseif Thenplsql_sentence_2;...ElsePlsql_sentence_n;End If;There is no condition behind the last else, which is more
The REGEXP_INSTR function lets you search for a regular expression pattern string. The function uses the characters defined by the input character set for string calculations.It returns an integer that indicates the start or end of the matching
I. ORACLE Physical Architecture
Principle Structure diagram
Each part explains:PGA: Private memory area for use by the current initiating user only.Three effects
The session information after the user logs in will be saved in
1, whether to open the Audit function queryShow parameter AuditNAME TYPE VALUE------------------------------------ ----------- ------------------------------Audit_file_dest string/home/oracle/app/oracle/admin/Orcl/adumpAudit_sys_operations Boolean
Exp Zdxk/[email protected] tables= (MS_DATA_DICTORY_DEF,MS_STATIC_DATA_DEF) file=c:\staticdata.dmpExport by entering the EXP command and your username/passwordThe action prompts you to enter the parameters:For example: EXP Scott/tigerAlternatively,
[Translated from mos] Does OGG support invisible indexes in oracledb11g?
Source:
Does OGG support Invisible Indexes in Oracle 11g db (Document ID 1515952.1)Applies:
Oracle GoldenGate-Version 11.2.1.0.1 and laterInformation in this document applies
Control file management and common parameter settings in Oracle Database, oracle File Management
I. Control FilesPurpose:
Binary files
Records the structure and behavior of the current database instance, data file and log file information, and
Dynamic Registration and static registration of Oracle Listener, oraclelistener
1. What is registration?
Registration is to register the database as a service to the listener. The client does not need to know the Database Name and Instance name. It
[Translated from mos] How to Find the database and user name used by OGGDirectorServer?Applies to: Management Pack for Oracle GoldenGate-Version: 1.0.0.0-Release: 1.0Information in this document applies to any platform.Activity
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