1. Unlock the user
Alter user Scott account unlock;
2. log out, disconnect, and switch the current user connection
Quit
Conn Scott/Tiger
3. user permission Query
A. View All Users:
Select * From dba_users;
Select * From
1. Specify to enable resource restrictions. This change is invalid for password resources and password resources are always available.
Alter system set resource_limit = true;
(Disabled by default)
2. Create a profile
Create
No one would deny that Oracle is one of the most influential database products in the world. However, a large system always has various problems, and many inexperienced users are helpless in the face of error prompts. This article lists some common
Use the database trigger to correspond to the startup event
Create trigger log_routine after startup on Database
Begin
Exec yourproc;
End;
Appendix:High score for help: Why cannot I trigger the startup trigger?When I create a startup trigger, I
The following methods can be used to determine the number of Oracle digits:
1. You can see through sqlplus Login
A.64-bit logon is displayed
$ Sqlplus "/As sysdba" SQL * Plus: Release 9.2.0.4.0-production on Wed Nov 16 15:27:28 2005
Two solutions:1. Upgrade to 92052. Disable Automatic growth of Undo tablespace
3. to narrow down the current undo tablespace:-- Create an undo tablespace for a new small spaceCreate undo tablespace undotbs2 datafile 'C: \ oracle \ oradata \ eoffice
In Asp.net, how do I press enter to trigger the event of the specified button?
Hypothesis:
Solution:
On the. ASPX page, add:
Add the following in the page_load event:
Textbox1.attributes. Add ("onkeydown",
OracleExecute SQL bat Connection database statement in batches
First, create a text file and write SQL
Code
Sqlplus Scott/tiger @ zlkj_kk @ runsql. SQL
Sqlplus Scott/tiger @ zlkj_kk @ runsql. SQL
Save the file and change the
From: http://hi.baidu.com/wuxg/blog/item/d9c8e750426bc7491038c2c2.html
Simple xmltype operations in Oracle (Extract, extractvalue)
I have been operating on the xmltype field in Oracle a few days ago. I am not using Oracle yet. I
· Software environment:1. Windows NT4.0 + Oracle 8.0.42. Oracle installation path: C: \ orant· Meaning:Decode(Condition, value 1, translation value 1, value 2, translation value 2,... value n, translation value n, default value)
The function has
Ora-12638: Identity Authentication retrieval failed. with SQL: Select * from t @ zjdtdblink. solution: view the dtdblink Data Link in dbastudio, which is not active. check whether the Domain Server is disconnected. after restarting the Domain Server,
Http://book.csdn.net/bookfiles/82/index.html6.2.6 deadlock
If you have two sessions and each session holds the resources that the other session wants
Deadlock
(
Deadlock
). For example, if my database has two tables
A
And
B
Each
One way to log on to Oracle is to verify the login mode of the operating system, that is, the OS authentication login mode, which is also available in SQL Server.Some friends often use connect/As sysdba to log on, but do not know why sysdba
1. Shared Pool tunning
The Optimization of the shared pool should be given priority, because a cache miss occurs in the shared pool, which is more costly than the data buffer, because the dictionary data is generally longer than the data stored in
1. Concepts
DML transactions use row-level locks, and the query does not lock data. There are two lock modes: exlusive and share.
Lock type:
• DML or data locks:
-Table-level locks (TM)
-Row-level locks (TX)
• DDL or dictionary locks
A transaction
The common time format mask is as follows:Mask element meaningYYYY four-digit year (for example, 2005) yearYY two-digit year (for example, 05)Q quarter (1-4)MM month (01-12) monthThe number of weeks in WW (1-53), in which the first week is the first
A system has been killed frequently recently. The symptom is that all the CPU resources of the system are exhausted. The system environment is as follows:
Dual CPU and RAID 5Oracle 8.1.7.0.1Weblogic 1, 8.12JAVA JDBCOracle and weblogic run on RedHat 7
I try to add generated item for the oracle lob adapter and get this error: Connecting to the LOB system has failure. ORA-1017: invalid name/password
After a lot of searching I found the problem:
User name. The Oracle Database adapter preserves the
In development, for ease of management, the SQL statement of each stored procedure and function may be placed separately in one. in the SQL file, N more. SQL file, if you need to execute these files, it is very troublesome, so you have a way to
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