A ORA-01031 solution appears when using sys users to log in as administrators
1. Start the database with a local system user and view the configuration parameters by name.
Show parameter Password
Check the exclusive parameter status. If
Today on the machine installed Oracle 10g, after the installation is complete error prompt "ORA-00988: Password missing or invalid", then can not enter the console for corresponding operations and management, I have not encountered this error before
Statements such as Oracle table structure, owner, and all tables Select * From dba_tables query all tables in the system
Select * From all_tab_columns where table_name = 'tablename' and owner = 'ownername' query a specific table structure in the
You must start the iSQLPLus Service.C:/Documents and Settings/admin> isqlplusctl startStart the listening service when logging on.C:/Documents and Settings/admin> LSNRCTL startLogon address:Http: // localhost: 5560/isqlplus---The above is helpful to
From http://9494.iteye.com/blog/48553
Introduction:
Generally, the primary keys of tables increase automatically. in Oracle, sequence-based auto-growth is more suitable.
1. Sequence creation format:
Create sequence nameIncrement by 1Start
Oracle data has a field that stores URLs and contains special characters &,If you want to directly perform a query or insert operation, the problem is as follows:
Execute in PLSQL:
Update userinfo set pageurl = 'test. php? Page = 1 & pagesize = 10
Problem: Today, the customer needs to use the value of a field on the interface through lov, however, you do not want to develop an additional interface to maintain or enter it by yourself (because the data changes little here)
Solution:
1. The
Reprinted from: http://zl198751.iteye.com/blog/992795
Oracle connection
Nested loopFor a small subset of connected data, nested loop connection is a good choice. NestedLoop is to scan a table. Every time a record is read, it searches for another
Import inventory item
The main purpose of material import/export is to import/export data between different systems, and to obtain data in a certain data information format and a certain transmission mode. The most important problem that must be
Alert is a mechanism in the Oracle system. It can monitor the system database and send a notification to the specified user as required. The notification can be in the form of email or other notifications, both the labeled System and the custom
204. How do I obtain the ASCII value of the first character of a string?
ASCII (char)
Select ASCII ('abcde') from dual;
Result: 65
205. How do I get the characters specified by data value n?CHR (N)Select CHR (68) from dual;Result: d
206. How to
783. all_all_tables
All Tables accessible to users.
784. all_arguments
All parameters of the object that the user can access.
785. all_associations
User-Defined statistics.
786. all_base_table_mviews
All materialized view information that can be
Query all nodes and indent them by node.Select * from organ connect by parent_id = prior ID start with parent_id is null;
The working method is to first find the record whose parent_id is null, and then expand it layer by layer according to the
The following information is from the Internet. You can paste it and save it for future use.
Character function -- returns the character value
All these functions receive parameters of the character family type (except for CHR) and return character
Disclaimer: The system commands described in this article are "#", which indicates the root permission, and "$" indicates the Oracle permission.
1. Install the system
First install the Linux system. According to the recommendations in the
1. Data Dictionary
The Data Dictionary of Oracle Data is composed of base tables and data dictionary views.
It is usually read-only for users.
Stored in system tablaspace
User SYS
For users, only select
The base table is generated by calling the
Oracle databases consume too much resources. If you do not need to install it, it will consume too much resources. I only have to choose to start its database service as needed.
Check that all Oracle service startup types are set to manual startup.
Document directory
Why oracle?
Why oracle?
We know that there are many Linux versions, including Ubuntu, FreeBSD, and RedHat ). in 2007, Oracle also integrated a Linux system. naturally, it is not a whole operating system from the beginning.
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