ORACLE: Check the structure of a table named test_table, just using the follwoing command:
Describe test_table;
The output has 3 columns:
The first column displays the column name of table dual;
The second column displays whether
operator
description
Union all
returns all the rows retrieved by the queries, including duplicate rows.
Union
returns all non-duplicate rows retrieved by the
/* This was a very difficult question for the competition yesterday, but I did not make it. I did not take the question carefully. don't answer the question at the end. This is OK. I found that STL is very powerful and I decided to study it well.
Suppose we are in the ApplicationProgramWhen you query a database, the like statement is often used for a field, and the database adds an index for this field.
The content starting with % May be ignored. However, if the content of like is not
For example, there is a student table:
Id student_name
1 S1
2 S2
03S3
04S4
05S5
06S6
07S7
08S8
09S9
These IDS are inconsistent. For example, I want to change IDs to 1, 2, 3 (instead of 03), 4, 5, 6, 7, 8, 9.
You can perform the following
This article Reprinted from: http://blog.csdn.net/mantisxf/article/details/1695441
For personal learning and improvement only.
Oracle syntax over (partition ..)
Select * from test
Data:A B C1 1 11 2 21 3 32 2 53 4 6
--- Add the C column
Prepare data:
Create Table fruit("ID" number (4, 0 ),"Name" varchar2 (50 byte ),"Price" number (4, 2))Insert into fruit (ID, name, price) values (1, 'apple', 1 );Insert into fruit (ID, name, price) values (2, 'bana', 2 );Insert into fruit (ID,
Result of spring calling the Oracle Stored Procedure
Oracle is always different from each other for advanced features (I hate this very much. If you use it, you needFor specific programming, this is why I never look good at Weblogic and other
The computer crashed yesterday and I forced the shutdown. After I started my computer today, I found that Oracle could not be logged on. When I log on with SQL plus (enter one sid in the host string: gzlss and another Sid in the host string, I can
Autotrace is a tool in SQL * Plus that displays the explain plan and resources used for the query. The autotrace tool is widely used in this book.
F: \ oracle \ ora92> sqlplus/nologsql * Plus: Release 9.2.0.1.0-production on Tuesday June 3 15:16:03 2
Oracle number datatype
Syntax: Number [(precision [, scale])]Short for: precision --> PScale --> S
Number (P, S)Range: 1 Data storage range:-1.0e-130 Saved in the machine range: 1 ~ 22 bytes
P is the valid bit: the number of digits starting from
My blog on javaeye (http://mr-caochong.iteye.com/blog/1013949)
There's no table here. You'll see it later.
A company project is going to be launched in the past few days. After a server running environment is set up on the user site, our
CREATE TABLE objects1(owner VARCHAR2(30),object_name varchar(50),object_id NUMBER,created DATE,status VARCHAR2(1000));
P86
Set line 1000 pages 0
I don't know if it was a printing error. I was raped by this mistake for two nights.
If set line 1000 is
The transfer tablespace function in Oracle is used to move tablespaces and data files in one instance to another instance. It is convenient and quick to execute.However, there are some restrictions on using this function:The two platforms must be
Oracle profile usage description 1. Purpose: The profile in the Oracle system can be used to restrict the database resources that users can use. Use the create profile command to create a profile, it is used to restrict the use of database resources.
The solution is to grant the logon as a batch job permission to the users you need in the user policy.
1. click on START => Programs => Administrative Tools => Local Security Policy (or also via START => Settings => Control Panel => Administrative
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