Moon Pale Wolf 2017-11-27 23:17:37
In Oracle, the data table alias cannot be added as, such as:
Select A.appname from appinfo a;--correct;
Select A.appname from appinfo as a;--error
May conflict with the keyword as in the stored procedure in
@ set Oracle_home=d:\oracle\product\10.2.0\db_1 @rem echo%oracle_home% @ set ORACLE_SID=ORCL @rem echo%oracle_sid% @ set Nls_lang=simplified Chinese_china. ZHS16GBK @rem echo%nls_lang% @ set Path=%oracle_home%\bin @rem echo%PATH% @ set
original works, from the "Deep Blue Blog" blog, Welcome to reprint, please be sure to indicate the following source, otherwise held responsible for copyright liability.
Blue blog:http://blog.csdn.net/huangyanlong/article/details/43926321.
First
How Oracle establishes the self-added primary key 1. Create a table and set a primary key. 2. Create a sequence. 3. Create triggers. Www.2cto.com For example: Suppose you have a table named Tbl_name, the primary key column is tbl_id, and the
Kai-Stop Oracle Services
Log on to the server where the Oracle service resides [root@localhost ~]# su Oracle[Oracle@localhost ~]$ Sqlplus/nologSql> Connect/as SYSDBAsql> shutdown immediate (Close database instance)Sql> Startup (starting a database
1, change the client character set: run regedit through Windows Run menu, modify registry
Start-> Run-> rededit
Under Registry Editor-> HKEY_LOCAL_MACHINE-> SOFTWARE->oracle->key_xe->right WINDOW DOUBLE CLICK Nls_la NG-> Change VALUE to
To introduce the character function first:Case Related:1.
Select lower (' Hellow '), Upper (' Hehhlo '), Initcap (' Oello ') from
dual;--dual empty table.
Results:
Hellow Hehhlo Oello
and Case Independent:1.
SELECT trim (' h ' from ' hellowhh '),
Represents the transaction isolation level many editions of this East translation AH
Or excerpt from the Internet and SQL Server comparison will be more convenient to understand it
In the SQL92 standard, the transaction isolation level is divided
1 Creating a test table
Create a test table with the SYS user
Sql> CREATE TABLE HR. ST (ID number, time DATE);
Table created.
Sql> INSERT into HR. ST SELECT rownum, CREATED from Dba_objects;
50416 rows created.
Sql> commit;
Commit complete.
2
1. About sequences (about sequence)
A sequence is a database object. Multiple users can generate sequential numbers through a sequence to achieve automatic, unique growth of primary key fields, and a sequence can be used concurrently for multiple
Oracle Problem Description: The following error occurred while using JDBC to connect to the Oracle database: Connection refused (description= (tmp=) (vsnnum=153093120) (err=12505) (Error _stack= (Error= (code=12505) (emfi=4)))
and directly
ORACLE Time Usage SummaryOracle month, year, week dataMonth Data SQL codeSELECT * FROM table t where T.create_date >=trunc (sysdate, ' MM ') and T.create_dateCurrent year data SQL codeSELECT * FROM table t where T.create_date >=trunc (sysdate, '
--Start
I personally think that there should not be a null value in the database because he subverted the two-valued logical structure (i.e. true and false), and a three-valued logical structure (i.e. true, false, and unknown) occurred. Because of
How to view the Oracle version and what options are installed.
System environment:
1, operating system: Windows 2000
2. Database: Oracle 8i R2 (8.1.6) for NT Enterprise Edition
3, Installation path: c:/oracle
Description
1. View database
Two simple row and column transpose1, the row and column conversion of fixed numberSuch asStudent Subject Grade--------- ---------- --------Student1 Language 80Student1 Math 70Student1 English 60Student2 Language 90Student2 Math 80Student2 English 10
Under Linux to start Oracle and in Windows is different, for general in Windows operating habits people have a lot of not adapt, so I write this article to facilitate the novice to operate, the following step-by-step to explain the start process.
1.
Since last week, the server Oracle database problem, less than half a day, will report Maxsession (150) of the problem, must be the database session exceeds the maximum number.Because the server is running a file transfer application, the request
1, through the top tool to check the system memory and swap usage (including process information).
$top
2, view the user of the process connection.$ps-ef|grep Process Number
3, delete the EMP table Empno 2201 of the row record.Sql>delete from EMP
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