Stop the Listening service process (Tnslsnr) logging.Lsnrctl set Log_status off;Copy the listening log file (Listener.log) and name it in LISTENER.LOG.YYYYMMDD formatCP Listener.log listener.log.20170521Empty the Listening log file
The NOT NULL constraint can be defined only at the column level, and the name of the NOT NULL constraint may be specified, and the name is automatically generated if unspecifiedsql> CREATE TABLE T1 (x number not NULL, y number constraint nn_t111_y
DescriptionA database trigger is a stored PL/SQL program that is associated with a table.Whenever a particular data manipulation statement (Insert,update,delete) is emitted on a specified table, Oracle itself actively runs the sequence of statements
http://blog.csdn.net/msdnchina/article/details/53174196Https://docs.oracle.com/cd/E52668_01/index.htmlOracle Linux, known as Oracle Enterprise Linux, is one of the oel,linux releases.Oracle launched its first release in early 2006 to better align
Simple conditional Judgment StatementSql> Declare2 myage Number: = 10;3 begin4 If Myage 5 dbms_output.put_line (' I am a child ');6 End If;7 End;8/I am a childPL/SQL procedure successfully completed.Sql> 2Myage number: = 10;Sql> CH/10/14Myage number:
oracle11g new Feature SPMHelps keep SQL's statement attributes, agreeing to run a performance-enhancing run plan only.Unlike the stored outlines, the SPM is designed to stabilize SQL performance while the store outlines freezes the SQL run planThing
1. Connect plsql Show SQL execution timeSql>set TIMING onSql>select * from T_user;Sql>select user_name from T_user;2, avoid using *, specific query to a column3, query some rows of data, do not query all the data, with where romnum4, rowID efficient
General character Splitting methodSelectREGEXP_SUBSTR (Str,'[^,]+',1, Level)STR from(Select '11,12,13,14,15,16' Str fromdual) CONNECT by Level Regexp_count (Str,'[^,]+');To split with a special number character:line break, carriage return, TAB
Table partitioning is an idea, and partitioning represents a technology implementation. When the size of the table over G can consider table partitioning, improve query efficiency, equalization IO. The Oracle partition table is the implementation of
Management SectionIf database force logging is not enabled, the repository/*+ append */operation, nologging operation, will report the bad block;Suggested table space Force logging or database force logging;--force logging/nologging TestALTER
CmdRun the cmd command lineInput sqlplus/nolog no user name loginConn/as SYSDBA Connect to data Local dataAlter user system identified by password; Modify the system password to passwordor open the Sqlplus software:Window User
In this article, we will focus on the knowledge that is used in database development, such as the format conversion of strings, the writing of stored procedures, advanced connections, etc.One: Stored procedureStored procedures are designed to be
Exchange Partition provides a way for you to migrate data between tables and tables or partitions and partitions. Note that the table is not converted to a constituent or non-partitioned form, but only to the number in the migration table(migrating
There is a table named TB, field segment named Name, data type nchar (20).1. Assuming that the field data is empty, you can do it directly, regardless of the field type you are changing to:ALTER TABLE TB Modify (name Nvarchar2 (20));2, if the field
650) this.width=650; "src="/img/fz.gif "alt=" Copy Code "style=" border:0px; "/>Create or replace procedure proc_test is --description: Deletes the specified character in the field ( Enter Chr (13), newline Chr
1. Please enter the user name: Sys as SYSDBA2. Enter Password: 1234563. Creating User: Create users admin identified by admin;4. Authorization Establishment table: Grant CREATE table to admin;5. Authorization to delete the table: Grant drop any
1, create a temporary tablespace when creating a tablespace, the DBF file is generally stored in the DataFile file under the folder (usually under the name of the instance folder) can be through the select * from V$datafile; View all data file
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