Cause: the password of the Oracle SYS system is lost:
The process is as follows:
1. Oracle login: sqlplus/As sysdba, prompting you that you do not have the permission. The oralce user does not have the permission.
Root Login to Oracle with
In Oracle, due to some special characters, If we directly input these special characters in the input string, the SQL statement will be incorrect, here we will explain how to input the "&" character in Oracle.
The "&" character in Oracle
Syntax:Replace (char, search_string, replacement_string)
Usage: SetCharString inSearch_stringConvert all to stringsReplacement_stringAnd no matching strings will be changed.
Example:
SQL> select Replace ('fgsgswsgs ', 'fk', 'J') from
Document directory
Range Partition Table
List Partition Table
Hash Partition Table
Combined Partition Table
Merge parent partitions
Merge subpartitions
1. Create and use a partition table
Oracle partition tables are divided into four types:
This ORA-38301 occurs when a stored procedure creates a table: the DDL/DML error cannot be performed on objects in the recycle bin. It turns out that this is a new 10 Gb feature, recycle bin. Drop tables are not directly deleted. It is placed in the
Latch is a mutex mechanism used to protect the shared memory structure in the memory (system global zone, SGA. Latch is like a memory lock, which can be activated and released quickly by a process to prevent concurrent access to a shared memory
Problem description:
The following error occurs when you connect to the Oracle 10.2.0.1.0 database using JDBC today:
Connection refused (description = (TMP =) (vsnnum = 153093120) (ERR = 12505) (error_stack = (error = (code = 12505) (emfi = 4 ))
1. Start and Stop TNS listening
LSNRCTL start
LSNRCTL stop2. start Oracle services
Net start oracleserviceorcl
Net stop oracleserviceorclsql> show all -- View All 68 system variable values
SQL> show user -- display the current connected user
SQL>
Dual is a virtual table used to form the select syntax rule. Oracle ensures that there will always be only one record in dual. We can use it to do a lot of things, as shown below:
1. view the current user. You can execute the following statement in
Differences between Oracle database and MySQL database:
1. Group function usage rules
In MySQL, group functions can be used at will in select statements. However, if a group function exists in a query statement in Oracle, other column names must
1.The system permission unlimited tablespace is an implicit system permission in the DBA and resource roles. When a user obtains the role of DBA or resource,The unlimited tablespace system permission is also implicitly authorized to the user.
2.The
Source: Network/Editor: getting started with programming: Unknown
Error: PLS-00201: The identifier 'datetime' must be described'
Line: 45
Text: AA datetime,
-------------------------
No datetime type in Oracle
========================
The control file is of great significance in backup. We recommend that you back up it separately each time. If the database version permits, you should set it to the control file for automatic backup. Increase the value of the initialization
After Oracle is installed in Linux, If you restart Linux, Oracle will not start automatically. You can manually call the dbstart command to start it. However, this seems complicated. We can configure the Oracle Automatic startup script and then use
In Oracle SQL PLUS, after the update, delete, or select DML operations, the number of rows updated, deleted, or retrieved is displayed. In the JDBC operation, the returned value also indicates how many rows are affected. But how can we obtain this
What is checkpoint?
A checkpoint is a database event that refreshes modified data from the cache to the disk and updates control files and data files.
When does checkpoint occur? We know that the checkpoint will refresh the dirty data, but when
Create sequence command
PURPOSE:
To create a sequence. A sequence is a database object from which
Multiple users may generate unique integers. You can use sequences
To automatically generate primary key values.
SYNTAX:
Create sequence [schema.]
Let's take a look at the output information of lsnrctl status:
Services Summary...Service "PLSExtProc" has 1 instance (s ).Instance "PLSExtProc", status UNKNOWN, has 1 handler (s) for thisService...Service "catadb" has 2 instance (s ).Instance
Oracle Database Import and Export method:
1. Use the command line:
Data export:
1. Export the database test completely, and the username System Password Manager is exported to D:/daochu. dmp.
ExpSystem/manager @ TESTFile = d:/daochu. dmp full = y
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