Create user [username] identified by [Password] Create a new user
Grant permission 1. Permission 2... to grant the user the permission to create a user
Ex: grant create session to [username] at this time, you can only connect to the database
An article on MOS specifically introduces this issue. For details, refer to [ID 779552.1].
In Oracle 10.2.0.4, the following error may occur in Alert Log:
ORA-00494: enqueue [Cf] held for too long (more than 900 seconds)
This error usually
Test code:
Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 connected as xxpo SQL> Create or replace type color_tab_t as table of varchar2 (30 ); 2/ type created SQL> SQL> Create Table color_models ( 2 model_type
Continue is a new feature brought in Oracle 11g, but there is a trap or bug need to pay attention, see the following code scrap:
Declare cursor dept_cur is select deptno , dname , Loc from Scott. dept; type dept_tab is table of dept_cur %
Upgrading ASM instance from Oracle 10.1 to Oracle 10.2. (Single Instance)Solution
O upgrading of ASM instance from 10.1 to 10.2 can be accomplished through dbua.
O all the database that use the ASM instance being upgraded must be shutdown.
The
Single Row Function Format:
Function name [(parameter 1, parameter 2, parameter 3 ,...)]
The parameters can be user-defined constants, variables, column names, and expressions.
A single-row function operates only one row of data in the table, and
Three default accounts:Sys change_on_install Network Administrator [as sysdba] system manage local administrator Scott tiger superuser
Create users, authorize and revoke permissionsLog on to Oracle: sqlplus/As sysdba to start listening: LSNRCTL
Step 1: Create a table cat in Oracle
Id varchar2 (32)
Name varchar2 (50)
Sex char (1)
Weight float
Create a sequence cat_sequence
Step 2: create a web application Quickstart,
Add related DLL
Iesi. Collections. dll
Linfu. dynamicproxy. dll
Log4net.
View introduction:A view is a logical table based on one or more tables or views. It does not contain data and allows you to query and modify the data in the table. A view-based table is called a base table. A view is a SELECT statement stored in
1. Set Environment Variables1. Name = ORACLE_HOME value = D: \ oracle \ product \ 10.2.0 \ db_12. Name = java_home value = % ORACLE_HOME % \ JDK (java.exe in oraclecan be disabled)3. Add % java_home % \ bin to change the PATH variable value. (In
Note: Enter the Windows Administrator prompt in the OEM.Failed to connect to the host as user administrator: Error: Wrong Password for userHowever, the user name is correct. follow these steps:Control Panel-> Administrative Tools-> Local Security
Document directory
Create an account, found how prompt "ORA-00988: Password missing or invalid", for a long time did not engage in technology, only found that the password can not start with a number, as if 9i did not have such a requirement.
• What is an exception?
Errors in Oracle are usually divided into compile-time errors and run-time errors.
An error occurs when PL/SQL is executed.
• How is an exception triggered? -
When an oracle error occurs-use raise statements to explicitly
Shortly after I got to work today, QQ Didi kept ringing. After reading the information, I was asked by a netizen to help me with the next SQL statement. The general meaning is to count the number of records in different situations in the
Assume that, as shown in the following table, the number of rows corresponding to each I value is not fixed.
SQL> select * from T;
I a d---------------1 B 10:55:421 A 2008-03-27 10:55:461 D 10:55:302 Z 2008-03-27 10:55:552 t 10:55:59
To obtain the
During the test yesterday, we found that it is good to put a piece of program written by the developer in the Development Library, but there will be problems in the Test Library. Developers cannot find the cause of the problem. So it took some time
Source: Saidi net Author: alizze
Associations are frequently used in Oracle Data Queries. Flexible application associations can solve many practical problems. The following are some examples:
Create a table
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