Oracle Recycle Bin (recyclebin)

We are all familiar with the recycle bin in windows. You can restore the deleted files to the recycle bin. the Oracle recycle bin works exactly the same, but there are some differences in implementation details. in addition, the recycle bin can only

How to obtain the first few pieces of data in the Oracle database

How to obtain the first few pieces of data in the Oracle database? It is similar to the select top n method in SQL statements. This article will show you the answer, for example! 1. implement select top n in Oracle: Since ORACLE does not support the

Several Methods for executing SQL statements using PLSQL

Plsql is very convenient for us to execute SQL. Below is a brief introduction to several commonly used SQL files (of course, each svn branch can also execute ant scripts to automatically execute the SQL files under a file) First open the plsq

Oracle Flashback flash back-flash back query (1)

Author: runming QQ: 226399587 http://blog.csdn.net/runming918Flashback is a feature provided by ORACLE since 9i. In 9i, we use oracle to query data that has been operated in a table for a certain period of time, this feature is also called Flashback

A Preliminary Study on partitioned tables

I wrote a blog post last week about partition tables: http://www.bkjia.com/database/201202/119377.html.However, I found that I did not write much. When your query conditions are not closely related to partition columns, partition tables will not

View All Tables and fields in Oracle

Get table:Select table_name from user_tables; // The table owned by the current user Select table_name from all_tables; // tables of all usersSelect table_name from dba_tables; // includes the system tableSelect table_name from dba_tables where

Oracle11gSGA Adjustment Method

Oracle11g modify sga to modify memory_target and other parameters first, otherwise the service will be restarted with an error ORA-00844: Parameter not taking MEMORY_TARGET into account, see alert log for moRe information. To modify the SGA

A set of Oracle SQL exercises and answers

Create table student (Sno varchar2 (10) primary key,Sname varchar2 (20 ),Sage number (2 ),Ssex varchar2 (5));Create table teacher (Tno varchar2 (10) primary key,Tname varchar2 (20));Create table course (Cno varchar2 (10 ),Cname varchar2 (20 ),Tno

View large sorting processes in Oracle

Sys @ DEX> select * from v $ statname where name like '% sort % '; STATISTIC # name class STAT_ID----------------------------------------------------------------------565 sorts (memory) 64 2091983730566 sorts (disk) 64 2533123502567 sorts (rows) 64 3

PL/SQL Step By Step (2)

Cursor is a very important part of PL/SQL, and is also why many people use PL/SQL. The cursor allows developers to control the record level of database queries. That is to say, you can step on one row of data returned by the query, and pause between

Use Oracle Streams wizard to generate a configuration script

Guidance:A few days ago, we used the Package to complete the streams configuration. However, it would be more intuitive to use the OEM in management. Of course, it would be almost the same if we knew all the related packages. In 9i OEM, it seems

ORA-01033: Solution for ORACLE initializing or disabling

Today with the client to connect to oracle, found to report ORA-01033: ORACLE is initializing or closing the error, in fact, this error reported for a few days, the first two restart just fine, why can't I get up today? By searching on the Internet,

ORACLE obtains the first letter of a Chinese character

-- This function is written in the ZHS16GBK character set.-- Run the command in the Command window. It is best to enter/a prompt indicating successful creation. Create or replace function F_PINYIN (P_NAME IN VARCHAR2) RETURN VARCHAR2V_COMPARE

Modify the maximum number of Oracle connections

1. Modify the maximum number of connections in Oracle. a. log on to PL/SQL or Worksheet B as sysdba and query the current number of connections; c. Change the number of system connections alter system set processes = 1000 scope = spfile; d. create

Oracle with alias as (select * from *)

With alias as (select * from *) select * from alias; equivalent to creating a temporary table syntax is with tempname as (select ....) select... example: with t as (select * from emp where depno = 10) select * from t where empno = xxx another simple

External table experiment in oracle rac Environment

I. Conclusion In the VirtualBox virtual machine environment, an Oracle RAC environment is set up. Combined with Network File System (NFS), each node of RAC can access the External table normally. That is, it is important to have a shared storage

Use of merge into statements in Oracle

Motivation: You want to use an SQL statement in Oracle to perform Insert/Update operations directly. Note: When writing SQL statements, we often encounter a large number of Insert/Update statements at the same time, that is, when there is a record,

Usage of int and out stored procedures in PL/SQL

[SQL] usage of int and out in PL/SQL stored procedures 1. Introduction to in and out (1) in procedures and functions, the difference between a process and a function is that a function can return a value without a return value. (2) but both the

Query Based on conditional Association statements in oracle

In some businesses, you may need to connect the joined table to the master table to obtain the desired result. This is a bit like Conditional compilation. join is performed only when the criteria are met. If the criteria are not met, no join is

Oracle Computing Method

  The period-over-period ratio is the nth month of the year and the nth month of the year, or the nth month of the year. Create a test table. Assume It is a sales quantity table: create table t (dt date, cnt number). insert some test data as needed.

Total Pages: 2147 1 .... 1864 1865 1866 1867 1868 .... 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.