I don't know how to configure it after the installation is complete. Today I 've been playing around for a long time. Finally, with the help of a buddy, PLSQL is successfully connected to the server. But I still don't know about Oracle, so I have to
DBAs often unlock oracle users in their daily work.ArticleThe command line is used to unlock oracle users. Several Simple unlock statements can be used to unlock oracle users. The specific process is as follows:
Scott users are locked by default,
Oracle 10g
To download Oracle, you also need to register a user name for your convenience.
User: wangdetian168@gmail.com
Pass: qwe123qwe
Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)
View the default tablespace of the current user
SQL> select username, default_tablespace from user_users;
View Current User role China
SQL> select * From user_role_privs;
View the current user's system permissions and table-level
1. Create a cux userSQL> Conn/As sysdba;Connected.SQL> Create tablespace pai_ntk_cux datafile '/EBS/proddata/pai_st/data/cuxd01.dbf'Size 50 m autoextend on next 1 m;Tablespace created.
SQL> create user cux identified by cux default tablespace
How to delete Oracle permanently?Method 1:Complete Oracle products, Oracle services, and registry information can be deleted.
Of course, it is rare to think of deleting oracle. It is done only when you are sure you do not need it.Back up all
How to change the location of the configuration file in recent days has finally succeeded! It can be said that it took 9 cows and 2 tigers!
I used Oracle 10.2 as a reference for several books, and the tree said it was very simple, but I could not
Start the Oracle database with two operations:
1. Start the listener:
2. open a database instance:
the first operation is no different here, it is the standard usage of ant to call system commands. Let's take a look
Comparative Analysis of query speed of nested SQL statements
ArticleUse the HR database that comes with Oracle, soCodeYou can directly perform the test.Code 1:
Select
T. employee_id, T. first_name, T. phone_number
From
HR. Employees t
During SQL Execution, sometimes the automatic optimization method is not optimal. We need to manually add hint to improve query efficiency.1./* + all_rows */It indicates that the overhead-based optimization method is selected for the statement block,
Cursor ----- An area in the memory that stores the select result
The cursor is used to process the multi-row records retrieved from the database (SelectStatement ). Use cursor,ProgramYou can process and traverse the entire record set returned by
Because I had to go home to work in two days and often had to deal with Oracle databases, I wrote an oracle error in Java today.
CodeThe small software to be queried is put into the mobile phone. If an error occurs in the future, check it out. It
1. Writing Purpose
2. Create a package in Oracle ERP Database Using toad or other PL/SQL tools. The source code is as follows:
(1) create a package Header
(2) create a package body.
3. Steps for obtaining the apps Password
4. Use any
You need to specify the packagesSource codeBackup export:
Sets long 10240000Spool c: \ package. SQLSelect text from all_source where ....Spool off
-- Find the required package name
Select *From all_objects tWhere T. object_type =
After more than half a day, I finally connected succeeded and recorded several problems as follows:Installation environment: Install the Oracle database on Windows, and install the Oracle client and arcsde9.2 on WINXP (which can also be separately
Manage undo tablespace
1. Undo tablespace: Used to save the operation process and the data to be operated, and allows the user to cancel the operations performed on the database.
Purpose and role of revocation:
1. Transaction rollback
2.
I. InstallationKey points during installation: Global Database Name, system identifier (SID, Instance name), server parameter file (SPFILEXXX (Instance name). ORA ).Listener Configuration: The parameter file (listener. ora, tnsnames. ora) in the
I am going to review oracle today. oracle was previously installed. I re-installed the system and probably re-installed the system, which has an impact on it. In the service table, I found that the lister item is missing. Therefore, oracle was
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