1.oracle 12c Base

1. View the creation mode of the database sql> select name,cdb,con_id from V$database;NAME CDB con_id---------    ---------    ----------ORA12C Yes 0 shows yes to the database in CDB mode 2. View root container name sql> show Con_nameCon_name--------

Having a little bit of a difference between Oracle and MySQL

In Oracle, the having must be used in conjunction with group by, but in MySQL the situation is different and can be used alone.C:\Documents and Settings\guogang>sqlplus Test/testSql*plus:release 10.2.0.1.0-production on Tuesday August 12 09:09:58 201

Oracle Simple functions

One, character functions1.INSTR (X,find_string[,start][,occurrence])This function is used to find the string find_string in the string x, and returns the position where it is located. Within [] is an optional parameter, start represents the starting

[Go] Discussion on the problem of Oracle character set (Nls_language)

Discussion on the problem of Oracle character set (Nls_language)--------------------------------------------------------------------------------Nls_database_parameters, Nls_instance_parameters, nls_session_parameters----------------------------------

Oracle deletes duplicate data only one message is left

Query and delete duplicate records of the SQL statement  1, find redundant records in the table, duplicate records are based on a single field (ID) to determine the  select * from table where Id in (select ID from table group Byid have COUNT (ID) > 1

Oracle 11g change Log Group size

1. Create a new log group1.alter Database Add logfile Group 4 ('/u01/app/oracle/oradata/jian/redo04.log ') size 1024k;2.alter Database Add logfile Group 5 ('/u01/app/oracle/oradata/jian/redo05.log ') size 1024k;2. Switch the current log to a new log

Oracle uses Dblike for database-controlled database reads

When a user wants to access data in another database table across a local database, the local database must have a dblink of the remote database, and the Dblink local database can access the data in the Remote database table as if it were accessing

Oracle dynamically establishes partitioned tables

Because there is too much data to speed up retrievalTo build a table as a partitioned tableAdding temporary tables dynamically when data is inserted as --Local variables hereFq_dmvarchar( -); P_count Number; --p_fadm number;P_sqlvarchar( -);begin -

Oracle BASIC SQL Statement-Query Chapter

I. GENERAL Enquiry/* Query table data */SELECT * FROM STU/* Remove the first 3 rows of data */SELECT * from Stu where rownum/* Fuzzy query */SELECT * from Stu where stu_id like ' stu001% 'Description: The wildcard "%" represents one or more

Oracle Group takes the first piece of data

Look at the previous private log, the original has been a lot of small and simple problems have been confused!Look at that time we are still novice novice to do memo notes!In fact, it is using the statistical function of Oracle!The previous diary

Oracle Basic SQL statement-User and build table

First, user-related SQL statements/* New user */Create user SA identified by ;Description: SA user name, 2013 password/* Authorize Connect,resource to user sa*/Grant connect,resource to SA;Description: Connect role:--is the typical right to grant

Oracle Recursive query logging

1. Start with ID connect started by prior id= parent ID 2. Level levels 3. Example SELECT * FROM ( Select A.*,level TT from Biz_district a start with district_id=8 connect by prior district_id=parent_id ) Where tt=3 Select a.district_id, A.district_

How to use oracle trunc () function, oracletrunc

How to use oracle trunc () function, oracletrunc Oracle trunc () function is one of the most common functions. The following describes the usage of oracle trunc () function for your reference () functions have a deeper understanding. 1. TRUNC (for

Oracle to_date () function usage introduction, oracleto_date

Oracle to_date () function usage introduction, oracleto_date In Oracle databases, the Oracle to_date () function is a frequently used function. The following describes the usage of the Oracle to_date () function in detail, hoping to enlighten

SQL GROUP BY and sqlgroupby

SQL GROUP BY and sqlgroupby Group by is a GROUP query. Generally, group by is used with Aggregate functions.You use group by to group by the ITEM. ITEMNUM field. If the content of other fields is different, how can this problem be displayed?A B1 abc1

Oracle queue type

Oracle queue type For more information, see the official oracle11gr2 documentation 《Oracle? Database Reference11GRelease 2 (11.2)" Queue definition:The oracle queue has a shared memory for serial access to database resources.Lock. It is produced by

Oraclefga audit has these features

Oraclefga audit has these featuresFga audit has the following features:This article is the original article, reprint please indicate the source: http://blog.csdn.net/msdnchina/article/details/384090571. select * from table_xxx where 1 = 2 -- the

DBA_Oracle Startup/Shutdown (concept) (various maintenance operations on the database), dba_oracleshutdown

DBA_Oracle Startup/Shutdown (concept) (various maintenance operations on the database), dba_oracleshutdown I. Summary The Complete Oracle Database startup process is completed in three steps: Start instance --> load database --> Open

Oracle puts the query results into a custom table and then queries data.

Oracle puts the query results into a custom table and then queries data. The actual example code below can put the query results into a custom table and query data from this custom table: with AA as(SELECT TICKETNUMBER, TICKETTYPE, VERSIONNUMBER,

[Translated from mos] When will the OGG extraction process obtain data from the database for oracle databases?

[Translated from mos] When will the OGG extraction process obtain data from the database for oracle databases?For oracle databases, when will the OGG extraction process obtain data from the database?Reference Original:When GoldenGate Fetches Data

Total Pages: 2147 1 .... 2064 2065 2066 2067 2068 .... 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.