Oracle Learning Notes (ii)

2.Oracle User Management(1) Creating User: Create username identified by password (DBA authority required);Sql>create user YZW identified by YZWDefault tablespace users//user table spaceTemporary tablespace temp//user Temp table spaceQuato 3m on

Oracle exception: Ora-01422:exact fetch returns more than requested

Ora-01422:exact fetch returns more than requestedThe magical mistake that bothered me an afternoon.Problem Description: Obviously only a row of records, the result is a number of records reported errors. I can't think of the solution,There is no

Management of Oracle

Start and stop OracleStop and start Oracle needs to be switched to Oracle user only, no other user has this permissionRun Sqlplus but don't log in to Oracle:sqlplus/nologConnect to the Oracle server with the privileges of the system administrator:

A case of Oracle database failure

The following error occurred in the database650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M00/89/C6/wKioL1gcObWztHE_AADGHTpt7Vs609.jpg "title=" 1112. JPG "alt=" wkiol1gcobwzthe_aadghtpt7vs609.jpg "/>Analysis:When the database switches logs,

Enable automatic start of Oracle boot on Linux systems

Method One: Modify Oratab (Oracle user is available)Vi/etc/oratabChange "N" in Orcl:/oracle/u01/product:n to "Y". Note: Only uppercase can be used, not lowercase. Modify Dbstart (to enable monitoring automatically before starting an

Oracle forgot user name password

First, Oracle 11g login service opensAfter successfully installing Oracle 11g, a total of 7 servicesThe meanings of these seven services are:1. Oracle ORCL VSS Writer Service:Oracle Volume Mapping copy write service, VSS (Volume Shadow Copy service)

Points to note when creating an Oracle database

Plan tables and storage spaces to prevent space shortages or wasted space Plan for a quick recovery zone, define the fast recovery zone in a different storage area from the data file, reducing IO contention Name of the planning

oracle-Random Number acquisition

1, get 10-100 of data, retain two decimal placesSelect Trunc (Dbms_random.value (10,100), 2) from dual;2. Get 0-1 DecimalsSelect Dbms_random.value from dual;3. Get a random letter-3Select Dbms_random.string (' x ', 3) from dual;4. Get a random

Oracle with AS Queries

With ASThe with as phrase, also called the subquery section (subquery factoring), allows you to do many things, defining a SQL fragment that will be used by the entire SQL statement. Sometimes it is to make the SQL statement more readable, or it may

CentOS Native Unable to log in from command line interface after completing Oracle

In the early days of the National Day, Oracle 11 was installed on CentOS 6.5 to test colleagues, and what was used was normal. Before the festival I take a day off, call me that the system in the machine can not log in from the command line, enter

Oracle Remote import (local win)

Remote ImportImp sdtyzh/[email protected]10.1. 69.99/sdtyrz file=e:\hongtastock_account.dmp log=E:\hongtastock_account.logfromuser= Hongtastock_account touser=sdtyzh ignore=yimp sdjyhtyw/[email protected]10.1. 69.99/sdtyrz file=e:\hongtastock_

MySQL differs from Oracle (reproduced)

Mysql differs from Oraclearticle category : databaseReproduced in http://blog.sina.com.cn/s/blog_5d9ca4ea0100kmhy.htmlFriday went to a company to interview, the company manager asked about The difference between Mysql and Oracle has not been summed

Oracle database and client character sets

1. View database Character Set informationSql> select * from Nls_database_parameters;Where Nls_characterset is the character set of the current database.2. Client Character SetThe parameters for the client character set are Nls_lang.In Windows,

The difference between Oracle and MySQL

1:mysql generally use the auto-grow type, when the table is created as long as the primary key of the specified table is auto increment, when inserting a record, no need to specify the primary key value of the record, MySQL will automatically grow;

Oracle views and modifies the maximum number of connections

Oracle views and modifies the maximum number of connectionsFirst step, on the cmd command line, enter SqlplusStep two, follow the prompts to enter the user name and password1. View processes and Sessions parametersSql> Show parameter processesNAME

Go to Windows Oracle Export table structure

Analyze how to export all tables for a user under Oracle It's possible that many customers who use Oracle will encounter a situation where they want to export all the tables of a user, and this article provides a way to help you solve this problem

The collection principle and experiment of Oracle automatic statistic information

[Date: 2014-11-21]Source: Linux Community Stevendbaguo[Font: Big Small]Starting with Oracle Database 10g, Oracle has created a scheduled task named Gather_stats_job after the library is built to automatically collect CBO statistics. This automatic

Oracle Query ORA-01722

ORA-01722: Invalid number.In general, it is because the attempt to convert a string to a number fails because the string may contain characters that are not numeric.There are two possible causes for this problem:1) The SQL statement executed

Oracle Pre-upgrade backup and failed fallback

One, pre-upgrade backup1. Software backup[Email protected] backup]# su-oracle[email protected] ~]$ CD $ORACLE _home[Email protected] db_1]$ pwd/db/oracle/oracle/product/10.2.0/db_1[Email protected] db_1]$ tar-cvzf ora_home.tar.gz.Software upgrade is

Voting algorithms in Oracle RAC

There are three machines in the RAC cluster, a,b,cA,b,c will have 3 votes, assuming this is a heart jumper problem, the entire RAC cluster is divided into two paritition,One is only a partition, one is a b,c composed of partition,Two partition all

Total Pages: 2147 1 .... 1284 1285 1286 1287 1288 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.