Strange, no specific table structure information found
Sql> describe dual;Name Type Nullable Default Comments----- ----------- -------- ------- --------DUMMY VARCHAR2 (1) YSql> SELECT * from dual;DUMMY-----XPurpose of the 2.DUAL tableDual is an
1,nvl2 (a,b,c) --expression 1 is not NULL, returns expression 2, or null. Returns an expression of 3. Expression 2 is different from the expression 3 type, and expression 3 is converted to the type of expression 2.2,nvl (expression 1, Expression 2)--
Transferred from: http://blog.sina.com.cn/s/blog_6bccf0360101hzsh.htmlWhat is the role of 1.spool?Spool's role can be described in a sentence: in Sqlplus to save or print query results.2.spool syntax and usage examples at Oracle 9i, 10g, and
ViewWhat is a viewA view is also known as a virtual table, which is a fictitious table, which is a logical representation of a set of data.The view corresponds to a SELECT statement, and the result set is given a name, which is the name of the
1, query can restore the point in timeSELECT * from V$sql where sql_text like '%update map_optcbl_point_70 set shape% '2. Data recovery to a new table, based on timestampCREATE TABLE newtable as SELECT * from oldtable as of timestamp to_timestamp ('
use of the EXP and IMP commands of Oracle
We usually import and export Oracle data, and before Expdb,impdb (10G), we use exp export, IMP command to implement the import. Open the cmd window, implement IMP,EXP is mainly SQLPLUS.EXE
Chen Kocha: http://blog.csdn.net/u013474104/article/details/44279309================1.spring Support for Database interviewWhen we develop the persistence layer. We face a variety of options. For example, use JDBC, Hibernate, Java Persistence API,
I. Using profile to manage user passwordsOverview: Profile is a collection of commands that are password-constrained and resource-constrained, and when a database is established, Oracle automatically establishes a profile called default. When the
I wrote a stored procedure that used features, some features to_date (Datefrom, ' yyyy/mm/dd '). After the discovery data insertion error is performed, the data is inserted into "0001/9/14".Feeling baffled, I don't know why this data, after
1. Set Linux system parametersA. Modify the Linux kernel parametersVi/etc/sysctl.confKernel.shmmax = 1073741824/kernel.shmmax = 1024*1024*ram (M)/2 (at least), that is, the numeric size is half of physical memoryKernel.shmmni = 4096Kernel.shmall = 20
The role of Table spaces:1. Determining the spatial allocation of database entities2. Set the share of the database user's space3. Control the availability of some of our database data4. Backing up and recovering dataHow to create a table space
1, the applicable system is different: Bitmap index is suitable for OLAP system, and B-tree index is suitable for OLTP system.2, occupy different storage space: Bitmap index requires only a small amount of storage space, and the B-tree index needs
Oracle Partition Outer Join thickening report, oracleouter
Partition outer join converts sparse data into dense data. For example:
With t as (select deptno, job, sum (sal) sum_sal from emp group by deptno, job), tt as (select distinct job from t)
Oracle is the first step in database learning: database installation, and oracle
1. Local oracle Server
1. to install the oracle server, you can download the server that matches your computer on the official oracle website. Generally, the server
A set of basic JDBC (Oracle database with Eclipse) OperationsJDBC: JDBC (Java Data Base Connectivity, java database connection) is a Java API used to execute SQL statements. It can provide unified access to multiple relational databases, it consists
ORACLE restricts some IP addresses and malicious operations on important tables1. Problem Description
The default oracle account has no restriction on ip addresses. The hidden danger is that if I know the username and password of the oracle account,
Query, disable, enable, and delete Foreign keys in Oracle
1. query the Foreign keys of all tables:
select table_name, constraint_name from user_constraints where constraint_type = 'R';
2. Disable all foreign key constraints and use the following
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