1.1 Basic commands
1. Get help$ Exp help = y$ Imp help = y2. Three ways of working(1) Interactive Mode$ Exp // enter the required parameters as prompted(2) Command Line$ Exp user/pwd @ dbname file =/Oracle/test. dmp full = y // enter the required
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
When installing Oracle 9i, I forgot the password of the database administrator I just changed, and did not reinstall it. It was too troublesome. After trying for a long time, I finally succeeded in the modification.
1. Run it to the C root
Today, when update is used to update a record, it cannot be updated and remains unresponsive. When the row record is edited and submitted, the record is locked, to find out the specific cause.
Finally, the record is updated through the following
Generally, if you installOracleServerSoftwareOracle ODBC source is automatically added, so you do not need to do anything.
Now I will explain how to add Oracle ODBC source through the Oracle client.
Step 1, click this link
Modify the Oracle 10g character set because the database character set we just created is: we8iso8859p1 cannot import data, so we need to modify the character set.
Edit
Export oracle_sid = ucit (Database Sid)
Sqlplus '/As sysdba'
Select name,
OracleLoop statementLoopAndWhileUsage
A. Loop... end Loop (Execute at least once)
Please write a process. You can enter the user name and add 10 Users to Users in the table, the user number is from 1 .
Create or replace procedureSp_
Case: The salesperson's salary in the Scott. EMP table can only increase, but cannot decrease
Code:
Create or replace trigger tr_emp_updBeforeUpdate of SalOn EMPFor each row
--
Triggered only when the salesperson is updated
When
(Old.
The system automatically renames a table deleted from Oracle as the name starting with Bin $.You can run the show recyclebin command to view the details of the deleted table or query the table:Select * From recyclebin;Command for table
In Oracle, You need to query the table where the field name is located based on the field name. This is mainly because, for example, you forget the table name, you only know that there is such a field name, and you want to find the table. In the
Recently, a query statement is required in the project report to count the number of other columns that meet the conditions of a certain column.
For example, the following table structure is available:
You need to add a column after
I haven't written anything for a while. I think of a function that I wrote to return the number of days when I used the number of days in a certain month in the Oracle query statement.ArticleNow, we have a little time to take it out for your use,
After a few days of Idle Work, I finally got the job assigned by my superiors and used the crystal report to make several graphical reports. It is not difficult to make a graph. It is very easy to use Crystal Reports. The key is that the query
This problem occurs in the development environment.
There are three different query statements1:Select year_mon, sum (gasmon)FromWhere id = 'hbsrf0t6ui'And class = 11Group by year_mon2:Select year_mon, sum (wellgasmon)From BWhere id =
1.
View tablespace Information Java
Code
Select F. tablespace_name, A. Total, U. Used, F. Free, round (U. Used/a. Total )*100)"% Used",
Round (f. Free/a. Total )*100)"% Free"
From
(Select tablespace_name, sum (Bytes /(1024*1024)
-- Create a package specificationCreate or replace package package_pageType cursor_page is ref cursor;Procedure proc_page (P_curpage number, -- current pageP_pagesize number, -- size of each pageP_tablename varchar2, -- table name EMP EP_where
-- Oracle cold backup-- ====================================
I. Cold backupWhen the database is closed, all physical system files are copied, which is also called offline backup.Suitable for non-archive mode, where the database is in a
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
Before executing an SQL statement, Oracle needs to analyze the statement execution plan and then execute it according to the execution plan. The execution plan of the Analysis Statement is completed by the Optimizer. In different cases, an SQL
We all know that oracle is relatively large, and the 11g installation program is about GB. You may encounter fewer oracle databases and better oracle + jsp combination... the default users of the oracle system Library include sys, system, internal,
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