Log on to Oracle remotely from UNIX today and record it now.
Because the company uses Dual IP addresses to access the database server, the client cannot be connected. You have to telnet to the IP address of the China Unicom server before
1. Telnet?
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
First, let's explain the concept of a database. A database is a file stored on a disk. The data stored in these files has a certain physical and logical structure.
Database NameIs the name of the database, such as myoracle, which is generally only
operator
description
Union all
returns all the rows retrieved by the queries, including duplicate rows.
Union
returns all non-duplicate rows retrieved by the
Original article: http://www.techonthenet.com/oracle/functions/bfilename.php
In Oracle/PLSQL,BfilenameReturns a bfile locator pointing to a physical lob binary file.
Bfilename FunctionSyntax:
Bfilename ('Directory ', 'filename ')
To add sub-partitions for an existing partition (such as clah_201110), we can only add them one by one. It is very troublesome. The following code. I wonder if you have any good solutions. Of course, you can add partitions and subpartitions together
1 syntax
1.1 row-Level Definition
1.2 table-Level Definition
2 not null
Only row-level definitions are allowed.
SQL> Create Table tn0 (a number (4) not null, B varchar2 (20 ));
SQL> Create Table TN1 (a number (4) Constraint nn_tn1_a not
Operating System: Windows 32-bit
Currently, Oracle does not provide 10 Gbit/s for download. It is useless to download a bunch of data. The latest 11g is usually 2g, nnd. Although 11G has been out for a year or two, many engineering and learning
The following is my own installation script for installing Oracle10g. It has been run in various centos5 versions.ProblematicThe usage is as follows:1. Test the following script in a file and run it under the root user.2. A running prompt is
Generally, directory is created to use a Data Pump to import/export data. In fact, directory has many other functions, which will not be described in this article.
1. New directory syntax
Create [or replace] DirectoryDirectoryAs'Pathname';
For
1. Generate a file in the stored procedure of Oracle
It is convenient to generate files in Oracle, especially when an external interface is generated, it is completed through a scheduled task, it is more flexible than compiled languages.
When using
Public is not a role. You can understand it as a set of all database users.If a permission is granted to the public, the database user can have this permission (of course, some users may not have the connect permission ).For example, if you want to
When you retrieve data from Oracle database,
When some records has null value in some columns,
If you want to display the records more meaningful,
With the columns whose value is null being displayed with a meaningful string,
You can turn help
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
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
1) create a sequence command
Create sequence [user.] sequence_name[Increment by N][Start with N][Maxvalue n | nomaxvalue][Minvalue n | nominvalue];Increment by: Specifies the interval between serial numbers. This value can be a positive or negative
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 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