When writing scripts, we often use the set statement to set some required format specifications. The following describes the application of several common set statements.
SQL> set echo on ----------------- set whether to display the statement when
Usage
1: Can indexed queries improve query performance? Instance Enumeration
2: What are the first, second, and third paradigms of database design and BCNF?
3: What is the difference between StoreProcedure and Function?
4: how to track the SQL of a
The Management Mechanism of oracle buffer blocks has never been officially released. Therefore, many experienced oracle engineers infer the management mechanism of oracle buffer blocks through experience or comments in oracle documents.
In fact,
1. Basic knowledge of database principles, concepts of rows and columns, and knowledge of relational databases are required.
2. You have an environment learning database, such as an XP installation, a company minicomputer, or a PC, linux,
3.2 Filter attributes
The filter is responsible for converting data in various file formats into plain text formats. Other components in the indexing pipeline can only process plain text data and cannot recognize microsoft word or excel file formats.
Today, I received a confirmation request from the development team. The following three statements have the same execution plan COST, but the actual execution results differ greatly (1) the query speed is very slow, 2) and 3 ).
1)Select *From
Query table structure Report "ORA-04043: Object XXX does not exist" Solve the Problem of Oracle 11.2.0 + SQL Plus + PowerDesigner 15.1 This semester to learn Oracle database application technology, need to do a course design. PowerDesigner exports
Duplicate Database example In the following example of active database duplication, a connection is established to three database instances, all through the use of net service names:
RMAN> CONNECT TARGET SYS/sysdba@prod; # source
When filtering duplicate records in Oracle for data processing, it is often the case that there are multiple records in the database, some of which have the same field value and other fields have different values. in this case, only one data record
Learn about oralce and what to write
1. query statement select * from TF_ B _TERM_PREPMG_LOG; select * from TD_M_TERM_PRICE; select * from TF_ B _CEN_TERM_MANAGER_LOG, Region; // query select * from region together with two tables; select * from TF_
Oracle functions interview question 1. What are the functions for string operations? Answer: ASCII ()-the function returns the ASCII code value CHR () of the leftmost character of the character expression-the function is used to convert the ASCII
In ibatis, the like fuzzy query method is invalid:
SQL code select * from table1 where name like '% # name # %'
Two Effective Methods: 1. Use $ instead #. This method removes the type check and uses the string connection, but there may be SQL
SQL Optimization-Beware of error associations when writing SQL statements, when joining multiple tables, it is sometimes easy to write an error in the association relationship. In general, this problem is easy to find, but if the SQL statement is
Automatically kill sessions that have been executed for more than 1 hour
-- Create log table create table KILL_SESS_HIST as select s. *, T. START_TIME from v $ transaction t, V $ session s where s. TADDR = T. addr and t. START_TIME
Oracle escape is used for translation. For example, the character '%' is stored in the name of the test field in the database ', fuzzy query is required if I want to query records whose second digit is '%', but '%' is a fuzzy query wildcard. I
Create an external table example The following SQL statements create an external table named admin_ext_employees in the hr schema and load data from the external table into The hr. employees table.
CONNECT / AS SYSDBA;-- Set up directories and
Oracle Autonomous Transactions (Autonomous transaction) Oracle Autonomous TransactionsAutonomous transactions allow you to leave the context of the calling transaction, perform an independant transaction, and return to the calling transaction
SHUTDOWN: Active processes prevent shutdown operation: When shutdown immediate is used to shut down the database, hang is used to view the alert Log, and SHUTDOWN: Active processes prevent shutdown operation is encountered. That is to say, some
Oracle-full recovery of user management (2) full recovery of User Management (1) describes full recovery in non-archive mode. The following describes full recovery in archive mode. I. full recovery in archive Mode 1. in full recovery in archive mode,
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