The server where the Oracle user logs on to the database, such as home directory/home./oracle. Execute the following command to perform a backup operation.Sqlplus/nologConnect/as SYSDBASql>createdirectory DUMP_BX as ' specifies a directory where DMP
1. Dual is indeed a table. is a table that has only one field and a single row of records .2. In practice, we call it ' pseudo-table '. Because he doesn't store subject data.3. His presence is for the convenience of operation. Because select is
1.decode function (small version of case)Selectdecode (Pd.discount_id,null, ', ' Buy ' | | Pd.product_count| | ' A, ' | | pd.product_discount_rate| | ' Discount ') as Discount From b2b_product D right join b2b_product_hot ph in d.product_id =
A project requires a view to build a primary key, here's an exampleCREATE or replace VIEW sme_v_a .... (Agentid,agentname,busynum,restnum,resttime,devicenonum,devicenosum,CONSTRAINT agentstatic_pk PRIMARY KEY (agentid) RELY DISABLE
Do a function need to group query, while querying the ID of a table group query needs to correlate the data of table B, originally wanted to query the two tables, but the report group by syntax is incorrect. So the following modifications were
[Email protected] ~]# su-oracle[Email protected] ~]$ Sqlplus/nologSql*plus:release 10.2.0.1.0-production on Tue Jul 8 21:47:01 2014Copyright (c) 1982, 2005, Oracle. All rights reserved.Sql> Conn/as sysdba;Connected.Querying all user information in
All_source describes the objects that the user can access.User_source describes the user's own objects. Dba_source describes the objects that are stored by all systems. Including other objects follow the same nomenclature. The object that is
First, Cursors:Described in database language: A cursor is a position entity mapped to a row of data in the result set, a cursor user can access any row of data in the result set, and the cursor is placed on a row to manipulate the row data, such as
A partitioned index (or index partition) is primarily for a partitioned table. As the amount of data grows, the normal heap table needs to be converted to the partition table, and its index is converted to the partition index. The benefits of
Basic format for statement blocks in Oracle:Declare--Variable definition, initialization assignment.Begin--Assignment of variables, function calls, if,while and so on.Endstatements in Oracle: Relational operators: = <>If condition expression
Deleting a Cluster Node on Linux and UNIX Systems1. Determine if the node to be deleted is active,pinned$ olsnodes-s-TIf pinned, then Crsctl unpin css-n unpinned corresponding node2, disable the corresponding cluster node application resources,
--The independence of distributed database: the independence of distributed data means that the user doesn't have to care about how the data is segmented and stored, just care about what data he needs. --Local operation sql> sqlplus
installation :Oracle There are many tutorials on the web for installation , The explanation is very detailed , we won't repeat it here . , only two links available , Maybe it's helpful . : the Oracle installation and simple configuration ","
Ora-28000:the Account is locked-solutionOra-28000:the account is lockedThe first step: using PL/SQL, the login name is system, the database name is not changed, select the type of time to change the normal to SYSDBA;The second step: select Myjob,
Transferred from: http://wanwentao.blog.51cto.com/2406488/545154A new feature in 11G that does not allocate segment when the table has no data to save spaceWorkaround: 1, insert a row, and then rollback will produce segment.The method is to insert
1. Invalid month
Oracle Reports an "invalid month problem" when inserting data to the database recently. The specific SQL statement is as follows:Copy codeThe Code is as follows: insert into TS_COUNT (ID, CNAME, STARTTIME, ENDTIME, VALUE) VALUES (1,
After upgrading the database cluster to 10.2.0.5, the dual-node server continuously restarts and queries the oracle oprocd process logs. The information is as follows:
Jul 03 08:16:34.702 | INF | monitoring started with timeout(1000), margin(500),
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.