Checking Operating System requirements ...Expected Result:one of Redhat-3,redhat-4,suse-9,asianux-1,asianux-2Actual result:redhat-4Check complete. The overall result of this check is:passed=============================================================
First, create the user and give permission1. Create userCreate user Wangxiangyu identified by Wangxiangyu;2. EmpoweringGrant DBA to Wangxiangyu;Grant create session to Wangxiangyu; --Session permissions (cannot log on without this permission)3. View
Stored procedures Use the Db.execute (Icallback) method, in which you use:Connection.preparecall (SQL). Execute ();You can call the stored procedure, and you can also control the return value freelyExample:Public Boolean setvarvalue (final string
Dynamic performance View V$sql_monitor, which displays SQL statement information for Oracle monitoring. The information in V$sql_monitor and V$sql_plan_monitor will be refreshed in real time, at 1 times per second. Once the SQL statement is executed,
Create or replace FUNCTION find_in_set (piv_str1 varchar2, piv_str2 varchar2, p_sep varchar2: = '; ')RETURN number isL_idx number:=0; --used to calculate the position of separators in PIV_STR2STR VARCHAR2 (500); --sub-string truncated by
Oracle 02180 Invalid create tablespace commandSolution:Extend error, should be extent, although both have extended meaningExtentn degree; length; vast area; seizure;ExtendVt. extend; extend; promote;Vt. To lengthen, extend, give, send (invite,
-- Create a tabledrop table test;CREATE TABLE test (ID number, name VARCHAR2 (10));-- Create a pair of columnsDrop sequence seq_id;Create sequence seq_id MinValue 1 nomaxvalue start with 1 increment by 1 nocycle nocache;/*MinValue 1 min
Suppose there is a student table student, the student table has a name, a score, a course number, and now I need to sort the students ' grades according to the course.SELECT * FROM Student1. Rank over () can be achieved on the student rankings,
Oracle Data Pump Export Demo steps1. Create a directory with Oracle usersmkdir Software_bak[Email protected] ~]$ CD software_bak/[Email protected] software_bak]$ pwd/home/oracle/software_bak2. set up the catalogue and authorizeSql> Show user;USER is
Oracle database control files are very important files, which are automatically generated binaries when the database is created, which records the status information of the database, mainly including the following content? Name of the database, a
Directory
Rebuilding of Oracle Control files
Noresetlogs
Resetlogs
Rebuilding of Oracle Control files
Less than the last moment, such as three control files are corrupted, and there is no control file
General Query:select * from T;To remove duplicate values:Select distinct f1,f2 from T;Between usage:SELECT * FROM t where F1 not/between 1and 2;Like usage:SELECT * FROM t where F1 not/like ' _mdb% ';In usage:SELECT * FROM t where F1 not/in
Oracle has a lot of analytic functions, but this function will always forget, I think in this way can let myself remember, not next time Baidu.Creation table, table data (usually practiced hand table):Prompt PL/SQL Developer Importfileprompt Created
This afternoon, the test environment in the liquidation of a previous exception, this time the error message all out, Java.sql.SQLException: Unable to read more data from the socket, is the use of Mycat connect Oracle, as follows:Ora-17410:no more
Today the user to execute a very simple SQL, the output result set is only tens of thousands of, involving three tables, the maximum is only 1 million of the data, the results are reported in the case of lack of table space, theory, such SQL should
1.1OracleDatabaseRecoveryDirectory1 Installing a new client2 Creating a new machine recovery file3 Creating a new DB instance4 Setting up SPFile files5 Creating a Data folder6 Starting the database to the Nomount state7 List Backup Information8
description of a phenomenon Delete is a common operation in the Oracle database, especially in the automated test, the initialization environment, the pre-preparation are unavoidable additions and deletions, but after a while, may encounter the
For example:SELECT ename, Job, DeptnoFrom EMPWHERE Deptno in (10, 20)and (ename like '%I ' or job like '%er ');Execute the SQL with the result set as follows:1 JONES MANAGER 202 CLARK MANAGER 10Remove the parentheses in the SQL query criteria
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