[SQL]View Plaincopy
To establish the tablespace and the user's steps:
User
Create:Create user username identified by "password";
Authorization:Grant create session to user name;
Grant create table to user name;
Grant create
Max Maximum number auto plus 1Create or Replace function Fun_getmaxlot ( vend in varchar2, domain in VARCHAR2, tag in varchar2) RETURN Varch AR2 as maxval VARCHAR2 (40); NEWIQC VARCHAR2 (40); TT VARCHAR2 (12);
Oracle Basic ConceptsInstance
An Oracle instance (Oracle Instance) consists of a series of background processes (Backguound Processes) and a memory structure (memories structures). There can be n instances of a database.
User
One: Stored procedure with no return valueThe stored procedure is:CREATE OR REPLACE PROCEDURE inch VARCHAR2 inch VARCHAR2) as BEGIN INSERT into VALUES (PARA1, PARA2); END TESTA;Then, call it in Java with the following
This article original for freas_1990, reprint please indicate source: http://blog.csdn.net/freas_1990/article/details/46310145In Oracle, grouping and aggregation must be paired, and "non-grouped fields" must be aggregated, otherwise execution will
There is a SQL code like this:Get query results from C #:There are two parameters in the SQL code, all of which are string types, and the above C # code is the parameter required to generate the Oracle SQL code. The results of the operation are as
(1) The concept of table space and partitioned tableTable Space:is a collection of one or more data files, all of which are stored in the specified table space, but are primarily tables, so called table spaces.Partition table:When the amount of data
Reason:Xiao sister called me to help her reload the database, so good weekend time not to go out to play, to her to install the database it is not very painful.I asked her why she had to reload, she said: After the data into the database, Chinese
Cleaning temporary tablespace in Oracle
Oracle temporary tablespace is mainly used to query and store some buffer data. Temporary tablespace consumption is mainly caused by sorting the intermediate query results. The main functions of temporary
Oracle exception. oracle Exception Handling
Use oracle System cursor to process data
Instance code:
-- Set serveroutput on;Create or replace procedure split_page_procedure (page_index in number,Page_size in number,Key_word in varchar2)
Node eviction caused by heartbeat Network (not instance eviction)
Node eviction of Oracle RAC caused by heartbeat Network (not instance eviction)
Q:Suppose the following scenario: for the four node rac, the heartbeat line uses a m network
Implementation of SQL statements for ORACLE database-based cyclic table creation and cyclic storage Creation
I. OverviewIn actual software development projects, we often encounter the need to create multiple database tables or stored procedures of
Oracle single row Functions
Single-row function syntax
Function_name (column | expression, [arg1, arg2,...])
Parameter description:
Function_name function name
Column name
Expression
Arg1, arg2,... Parameters
Single Row function category:
Character
An example of using the sqlldr command to import data to an Oracle database table: sqlldroracleCSV: Comma-Separated Values (Comma-Separated Values) abbreviation. sqlldr is a multi-line text file with Comma-Separated fields. It is short for SQL *
Application structure of Oracle Database
Application structure of Oracle Database
With the development of network technology, Oracle databases have been widely used in various fields. The application system structure based on Oracle databases mainly
ORA-12541: TNS: no listenersAfter I reinstall Oracle yesterday, ORA-12541: TNS: no listening program error occurs when I connect oracle with PL/SQL Developer, for example:
With the help of Brother Wang Peng, I found that the oracle listener was not
Oracle SQL optimization Case 1: oraclesql Optimization
An Alert email is sent from a job in the monitoring alarm log file (Alert). The tablespace TEMPSCM2 cannot expand the temporary segment, indicating that the temporary tablespace has been used up
ORACLE11g creates the second instance on linux
The linux server host is not enough, and the tester needs a new oracle environment for testing. Therefore, the tester is prepared to create a second instance on the existing oracle linux host. This
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