Student class
Package Com.test.hou.po;public class Student {private int sid;private String sname;private int sage;public int GetSID () {R Eturn SID;} public void Setsid (int sid) {this.sid = SID;} Public String Getsname () {return sname;}
Student class
Package Com.test.hou.po;public class Student {private int sid;private String sname;private int sage;public int GetSID () {R Eturn SID;} public void Setsid (int sid) {this.sid = SID;} Public String Getsname () {return sname;}
Look at the sample code first:SQL code
With temp as (
Select ' China ' nation,' Guangzhou ' to dual Union All
Select ' China ' nation,' Shanghai ' to dual Union All
Select ' China ' Nation,' Beijing ' to dual Union All
C:\users\neusoft>sqlplus/nolog-- start sqlplus without connection operationSql*plus:release 11.2.0.1.0 Production on Thu October 9 11:38:20 2014Copyright (c) 1982, Oracle. All rights reserved.Sql> conn/as SYSDBA--sign in with SYSDBAis connected.Sql>
Redo log file size under RAC adjustment(1) View current log information:SELECT * from V$logfile;(Step 2 Get the path can be seen here Member column, redo file name itself, such as, Redo07.log)(Note: The log group is now 6 groups)(2) Add log files
To view a table in the Recycle BinSelect Object_name,original_name,partition_name,type,ts_name,createtime,droptime from RecycleBin;Recovery tableSql>flashback table ZCM002;Sql>flashback table "Bin$a8ujnocagvzguwwrcgpdbg==$0" to before drop;Note:
Create a user in Oracle under Windows
Create a user under Oracle to give permission to start SQL Plus in the terminal.Create user + password (User: sa password: Lenovo)
sql> create user sa identified by Lenovo;
Assign user permissions
1. Duplicate table structure and dataCREATE TABLE D_table_name as SELECT * from S_table_name; ---Note does not create an index2. Duplicate table structure onlyCREATE TABLE D_table_name as SELECT * from S_table_name where 1=2;3. Copy data only(1),
Oracle Table Space Management1. Classification:Data table Space DatatablespaceTemporary tablespace temprary tablespaceRoll back table space undo TablespaceIndex Table Space Index tablespaceLocal surface space: extent management LocalSegment
Four ways Oracle adds table spaceFour ways to increase the size of your Oracle table space1. Add data file to table spaceAlter Add datafile ' d:\oracle\product\10.2.0\oradata\edwtest\app03.dbf ' size 50m;2, new data file, and allow automatic growth
The most common way to merge column values is to write a custom function to the fact that this is the other way around.The merge column values in SQL Server can use the for XML Path, which enables the use of Wm_concat or Listagg in Oracle.Prepare
This article is only used as a memo, without practical guidance, logic is slightly chaotic.1, command show parameter name;Sql> Show parameter Name;name TYPE VALUE-------------------------------------------------
Oracle read/write-read-only tablespace reply details
(1) Use the backup control file for recovery. For example, use the backup location control file for recovery.
1) create a test table space ts1)
SYS @ ORCL> create tablespace ts1 datafile
2. oracle installation knowledge, oracle server, oracle cluster, oracle service Introduction, user unlocking
1 oracle installation knowledge (oracle10g and oracle11g versions are different ):
A installation directory does not contain Chinese
Oracle's simplest Automatic startup with the SystemOracle is the simplest way to automatically start with the system. As the saying goes, the user is God. Sometimes, they ask a very simple question. They only need one sentence and one minute to
Introduction to ORACLE recycle bin mechanism and oracle recycle bin Mechanism
Recycle Bin Concept
A Recycle Bin concept was introduced from ORACLE 10 Gb. Its full name is Tablespace Recycle Bin. The recycle bin is actually a logical container
ORA-27090 fault case
The recent alert Log encountered an error message for the ORA-27090 with the error prompt Unable to reserve kernel resources for asynchronous disk I/O. According to this prompt, It is a kernel parameter problem related to
Summary of common Oracle knowledge
1. I was so scared to death that I accidentally deleted all the database tables in the development database. The result shows that the following statement is restored to data 1 hour ago! Very simple.
Note: Use the
Oracle promotes the database scn and oraclescn by modifying the control file scn
Current scn of the database
The Code is as follows:Idle> select checkpoint_change # from v $ database;
CHECKPOINT_CHANGE #------------------271743118
Idle> shutdown
Upgrade _ Oracle graphical upgrade (dbca database creation after upgrade)-upgrade 10.2.0.1.0 to 10.2.0.5.0
**************************************** ******************************** **************
Original Works are from the blog of "Deep Blue blog".
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