drop table books, the instruction will put the tables in the Recycle Bin,With Flashback table "Bin$1oiy3qm/qjubov1bwbuogw==$0" to before drop; will be able to recover.Delete tables: drop table books purge; is to bypass the Recycle Bin, thoroughly
From the network:Listener Control Monitoring ControlsSince you typed lsnrctl enter, you enter into the monitoring control interface.Make sure to check the status of the Oracle listener using the LSNRCTL status command before starting, shutting down,
Create a member TableDROP TABLE member PURGE; CREATE TABLE member ( Mid number, name VARCHAR2) ;Modify Table ConstraintsSyntax: ALTER table name ADD CONSTRAINT constraint name constraint type (field) [Other options]To add a primary
Write in front:Oracle uses the default tablespace when creating users, which is generally not recommended because the size of the default tablespace is fixed, and if all users we create use the default tablespace, it can result in insufficient
1, Conn/nolog2, Conn/as sysdba;3, create user xxx identified by xxx;4, Grant DBA to XXX;About Authorization:1, create session; Give the user the right to create a session, that is, logon rights2, unlimited tablespace; give users permission to use
third, view the SQL of the database 1. View the name and size of the table space Select T.tablespace_name,round (SUM (bytes/(1024*1024)), 0) ts_size From Dba_tablespaces T, Dba_data_files D where t.tablespace_name = D.tablespace_name
--1, selecting employees in Department 30SELECT * from Empwhere deptno=30; --2, List all clerks ' names, numbers and departments Selectename,empno,dname from EMP Einner joins dept d on e.deptno = D.deptno wherejob=upper (' clerk '); --3, finding
--1, List all departments that have at least one employeeSELECT DISTINCT dname from dept where Deptno in (select DISTINCT deptno from EMP); --2, List all employees with more than "SMITH" salarySelect Ename,sal from emp where sal> (the Select Sal
I. Startup and shutdown of Oracle1, in a single-machine environmentTo start or shut down an Oracle system, you must first switch to an Oracle user, as followsSu-oracle A. Start the Oracle systemOracle>svrmgrlSvrmgr>connect
This article records the installation of the robot framework connection to an Oracle database1. Basic EnvironmentFirst of all, the basic environment of Robotframework +databaselibrary environment to be ready, the two environments are set up in the
Http://www.blogjava.net/decode360/archive/2008/10/16/286802.htmlCreate or replace type Person as Object (Name VARCHAR2 (10),Sex VARCHAR2 (2),Birthday date,Age Number (2));Two ways to create object tablesFirstCREATE TABLE T (Person_col person,emp_id
Static Connection getconnectionnew () { Connection con = null; Configer Configer = new Configer (New File ("Conf.ini")); ////debug=0: Publish tomcat mode, normal customer used mode ////debug=1: Develop debug mode, do not send network command, call
Oracle Delete log filesThe syntax for deleting log files is as follows:ALTER DATABASE drop logfile member logfile_name;Deleting log files requires attention such as the following:1. The log file group where the log file resides cannot be in the
1, forget sys passwordOpen the CMD Command window and do the following:1,sqlplus/nolog;2,3,connect/as sysdba4,5,alter User SYS identified by new password 6,7,alter user SYSTEM identified by new password 8,The second method:Rebuilding the password
Oracle, in order to achieve the determination of the data is updated, a myriad of plug-in functions, to use the merge into to implement (the Oracle 9i introduced features), the syntax is as follows:This method is suitable for large data volume
Here are the conditionsLike and regexp_like conditionsHere is the functionRegexp_instrRegexp_replaceRegexp_substrSELECT * FROM Tis_ft_user_infowhere Regexp_like (Credential_number, ' ^5 ');There are four main functions in Oracle that support regular
1. Use the following SQL statement to query the session_id and username of the process that caused the lock table to be improperly operatedSELECT S.sid session_id, S.username, DECODE (lmode, 0, ' None ', 1, ' Null ', 2, ' Row-s (SS) ', 3, ' Row-x
Binding Variables (binding variable), shared pool (pooled buffer pool), SGA(System global Area);Role: The SQL should be analyzed into soft analysis, reducing the resources and time spent on hard analysis.Java uses bound variables:Bulk Delete SQL by
Relational model
E-r model
Paradigm
1. Brief description of OracleOracle is a powerful database software developed by 1977 IBM.2. Basic theory of relational data
relational database and database management system
1)
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