Yesterday, a colleague asked some questions about Oracle Tablespace data file Self-growth, in the process of the way to organize, and other colleagues have the same questions can be directly consulted.Experimental content:
Creates a mytest
Record the oracle12c in the process of learning.ORACLE12C new Features: http://www.cnblogs.com/kerrycode/p/3386917.html--Create a temporary table spaceCREATE Temporary tablespace admin_tempTempfile ' file absolute path '//such as: '
SELECT * | {[ DISTINCT ] column | expression [alias], ...} from table;? Select identifies which columns are selected. From identifies the table from which to select.The column is followed by a space, followed by the alias, or as Alias, to the
1. Create a new user test on the local database and grant the following basic permissions (try not to authorize more, such as local permissions larger than remote, will cause the export failed, depressed!). ):Grant connect to test;Grant resource to
Create a database link on your local Oracle databasesDROP DATABASE LINK Mydblink;Create DATABASE link Mydblink connect to zszq identified by "zszq" using ' 192.168.0.175:1521/ORCL ';sql> DROP DATABASE LINK mydblink;The database link has been deleted.
1. Select * FROM your_table t//query your_table for all data, you can see three data2. Delete your_table//delete all data in your_table, three data disappears3. Select * FROM your_table t//No data.4. INSERT INTO your_table SELECT * from your_table
Dblink used in the database is more, simple and convenient. However, with the enhancement of Oracle security, normal user login can only be seen, user name and connection string. So how does the dblink password look?Very simple, requires SYS account
Some commonly used are time formatsSelect To_char (sysdate, ' HH24:MI:SS AM ') from dual---12:56:40 pmSelect To_char (To_date (' 2 January-January -95 '), ' yyyy-mm-dd HH24:MI:SS AM ') from dual---1995-01-21 00:00:00Select To_char (sysdate, ' DD '
Create a temporary table spaceCREATE Temporary 'C:\oracle\product\10.1.0\oradata\orcl\test_temp01.dbf'on NEXT 32M MAXSIZE 2048MEXTENT MANAGEMENT LOCAL;Create a user table spaceCREATE'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\TEST_DATA01. DBF'onNEXT 3
1, about the primary key: the construction of the table when the specified primary key words can:CREATE TABLE Test ( ID Number (6) primary key,Name VARCHAR2 (30));If you want to increase the primary KEY constraint for a table that has already been
Excel connection column names generate Oracle annotationsNOTES:A2 is a column name, B2 is a comment= "Comment on column colagreementheader." &A2& "is Q ' {" &B2& "} ';"The effect is as follows:
Comment on column table1.
One, Oracle service managementUnder the Windows operating system environment, the Oracle database server runs as a system service. All Oracle service names start with Oracle. There are 3 main Oracle services:
Oracletnslistener: Listener
MiddlewareERP SAP5.BI Business IntelligenceOracle Post try to choose the part of * * *Development DBAs can also be called Assistant DBAsDBA : Party A or factory-based Party A monitoring, tuning Party b to implement the wrong to dry Party
Universal Oracle has three ways to implement paged queries through the implementation of various rownum, ROWID, or analytic functions. This will be the test table User_info case, a brief implementation of the three main kinds of paging:--Create
1. Preface The company recently MySQL database switch oracle,oracle for a long time useless a little strange, just started to do the paging on the rownum and order by priority comparison. Check the information, the Internet said rownum priority is
Oracle Paging for tables without primary keys
Generally, for tables with a primary key that can be used for unique table recognition, we can use the primary key and rownum for implementation. For example:
Select scott. emp. * from scott. emp left
Black screen of vncviewer during ORACLE11g Installation
1. vnc viewer black screen:
2. The desktop components under centos are not installed properly.
Yum groupinstall "X WindowSystem" "KDE Desktop" Desktop-y
Yumgroupinstall-y
Advanced Oracle database query (basic)
Although the title is written in the Oralce database, SQL statements are similar. Therefore, other databases can refer to the following logic. Every programmer knows that in a project, the query function is the
Listparts and oraclelistagg of Oracle Functions
Recently, I found a very interesting function in the learning process, which can splice column values. Next, let's take a look at its specific usage.
Usage:
The official document explains its role as
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