Oracle note (16) database design paradigm

Oracle note (16) link to the database design paradigm: Oracle note (1) Oracle introduction and Installation http://www.bkjia.com/database/201209/154049.html ; Oracle notes (2) SQLPlus command http://www.bkjia.com/database/201209/154051.html Oracle

Oracle PL/SQL Control Structure

Oracle PL/SQL control structure PL/SQL is a process-oriented language with a logic-oriented control language. The main logical control statements include IF, IF .... ELSE..., IF .... ELIF ....., nested IF, CASE, LOOP, WHILE... LOOP,... LOOP, cursor

Oracle tool: tkprof Analysis

Oracle tool: tkprof Analysis 1 Definition of the executable tool used to analyze the oracle trace file and generate a clearer and more reasonable output result as needed 2 preference [SQL] F: \> tkprof www.2cto.com Usage: tkprof tracefile outputfile

Use of oracle set commands

Use SQL> set colsep ''for the oracle set command; //-domain output separator. SQL> set term {ON | OFF}; // on: the query result is displayed in both the offline files and SQLPLUS files. off: the query result is only displayed in the offline files.

Oracle Table Partitioning Learning

Oracle Table Partitioning has been studying the knowledge of Oracle Table Partitioning for a while. As the data volume continues to expand, the Partitioning technology is a very effective technology to improve efficiency. Www.2cto.com is limited to

ORACLE startup instance switching command

ORACLE startup switch instance command start other server instances export ORACLE_SID = database instance name sqlplus/nolog conn/as sysdba select name from v $ database ;! Lsnrctl status; view the instance listener startup Oracle operation command #

Solve the problem that sqlplus disappears after login in win7

Solve the problem that sqlplus disappears after login in win7 many win7 users will have this experience when using sqlplus, including some other such as toad and PL/SQL. The graphic interface disappears when you click log on. This problem occurs

The database user has been deleted, and the tablespace and data files are all there. How can this problem be recovered?

The database user is deleted, and the tablespace and data files are all there. How to restore the environment: www.2cto.com [html] SQL> select * from v $ version where rownum = 1; BANNER ---------------------------------------------------------------

Oracle day Query within one week

Oracle queries the SQL code www.2cto.com select * from (SELECT. *, (select count (distinct B. fee_name) from biz_patent_fee_notice B where B. main_id =. id) notices, (select count (distinct B. fee_name) from biz_patent_fee_notice B where B. main_id =

Several ways to delete a table in Oracle

Several ways to delete a table in Oracle: DELETE the table (record and structure) language name DELETE ---- truncate ---- drop delete (DELETE the statement recorded in the data table) www.2cto.com delete from table name WHERE condition; note:

ORACLE obtains the month list between a certain period of time.

ORACLE obtains the month list between a certain period of time to obtain the month list between a certain period of time (the example returns the month list between and) www.2cto.com SELECT TO_CHAR (ADD_MONTHS (TO_DATE ('2017-03 ', 'yyyy-mm'),

Oracle inserts multiple data entries into one or more tables at a time.

Oracle needs to create two tables test1, test2: www.2cto.com create table test1 (id Integer primary key, name varchar2 (40 )); create table test2 (id integer primary key, age integer, height number); insert multiple data entries into a table at a

Oracle deletes data from the View

Oracle deletes the data SQL code www.2cto.com CREATE OR REPLACE PROCEDURE "INDI_DEL_PRO" (IDPARA IN INDIVIDUALVIEW. ID % TYPE, categorypara in individualview. CATEGORY % TYPE, returnpara out number) as applyno individualview. APPLY_NO % TYPE; begin

Summary of oracle zone management and segment space management

As a DBA, the summary of oracle zone management and segment space management is one of the common scenarios: Creating tablespaces: www.2cto.com [SQL] create tablespace Think datafile '/u01/app/oracle/oradata/orcl/think. dbf 'size 100 M autoextend on

Comparison between the round () function and trunc () function in Oracle

Comparison between the round () function and trunc () function in Oracle round (x [, y]) www.2cto.com [function] returns the rounded value [parameter] x, y, numeric expression, if y is not an integer, the y integer is truncated. If y is greater than

Oracle order by sorting

Oracle order by sorting adds the sorting by pinyin, radicals, and strokes in oracle9i. Set the NLS_SORT value SCHINESE_RADICAL_M to sort SCHINESE_STROKE_M By the beginning (First Order), strokes (Second Order), and heads (Second Order) by the

Oracle BEQ Process

Recently, someone asked me this question about oracle BEQ processes. I used to see this introduction on a foreign recognition site. In sqlplus, enter conn/as sysdba, at this time, sqlplus starts a server process and uses the ps command to check that

Trim functions in oracle

The trim function in oracle is used to delete the given characters in the header or tail of a given string or given number. The trim function has the following form: www.2cto.com trim ([leading/trailing/both] [matching string or value] [from]

Special characters & amp; processing in SQL

Special characters in SQL & processing update userinfo set pageurl = 'myjsp? Page = 1 & pagesize = 10 'where id = 'test' www.2cto.com? Two methods: 1) update userinfo set pageurl = 'myjsp? Page = 1' | '&' | 'pagesize = 10' where id = 'test' 2)

SQL not in

SQL not in: in SQL queries, select * from t1 where c not in (select c2 from t2) If c2 in t2 has null, the result of this statement may be, only when the NULL value must be filtered out in the subquery can www.2cto.com select * from t1 where c not in

Total Pages: 2147 1 .... 1881 1882 1883 1884 1885 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.