1. Select the table to be backed up -- Right-click --> export data ----> Oracle export ----> output file ----> Export
2. Execute exp In the CMD command window (import is imp)
Create a tablespace and a user:Create tablespace hdshopLoggingDatafile
Http://www.cnblogs.com/wenlg/archive/2010/05/19/1738893.html
Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)
Oracle 10g listener automatically listens to the IP address of the host when the host starts.
The Oracle 9i listener automatically listens to the host name when the host starts.
Therefore, when using Oracle 10 Gb, if the I machine automatically
Myeclipse 6.0 and Oracle 10g have the following problems during connection.
Java. SQL. sqlexception: ORA-00604: Error occurred at recursive SQL Level 1ORA-12705: cannot access NLS data files or invalid environment specified
At first, I thought it
Blocking often occurs in Oracle. In this case, we need to quickly find out the cause of blocking and eliminate it as soon as possible so that the system can run normally again.
The following uses a deadlock as an example to find out how to locate
Today I went to the Development Forum and turned around. I saw a post where everyone was discussing multiplication enthusiastically. Remember that when I learned C ++, the most basic question was to output a penalty phrase on the screen. It was
Oracle servers generally include the following three installation methods:
Host-Based Mode: In this configuration, you can directly log on to the Oracle database on the computer where the database is installed.
Client-server (two-layer model):
Step 1: Search for the refhost. xml file in the decompressed Oracle folder. Two matching files are displayed in the search result, both of which need to be modified.
When the file is opened, it contains system instructions such as... 5.0 6.0.Note:
I saw shiyiwan wrote a very simple statement during the Forum today, but the order by format is relatively novel (for me). I have never seen this usage before, I just want to write it down and summarize the order by knowledge.
1. Processing of
Connect by prior is used in structured queries. Its basic syntax is:Select... from tablename start with condition 1Connect by prior condition 2Where Condition 3;
Project Example: City fetch in provincial/municipal links:
Select T. * From
Oracle logical BACKUP command exp/IMP parameter reference manual HELP command: EXP help = y
Export: Release 10.2.0.1.0-production on Thu Jul 20 10:39:50 2006
Copyright (c) 1982,200 5, Oracle. All rights reserved.
You can let export prompt you
1. Input. CTL
Load dataInfile '/u1/out/cxcq201/test.csv' -- specify the path here, if not running in the same directoryReplace into Table tc_ccj_fileFields terminated by "," optionally enclosed '"'Trailing
A view is a logical table based on one or more tables or views. It does not contain data and allows you to query and modify the data in the table. A view-based table is called a base table. Oracle database objects are divided into five types: tables,
--------- Mathematical function 1. Absolute Value
S: Select ABS (-1) Value
O: Select ABS (-1) value from dual 2. INTEGER (large)
S: Select ceiling (-1.001) Value
O: Select Ceil (-1.001) value from dual 3. Round (small)
S: Select floor (-1.001) Value
1. Basic operations
Emca-repos create creates an EM documentEmca-repos recreate re-creates an EM DatabaseEmca-repos drop delete an EM DatabaseEmca-config dbcontrol dB configure Database Control of the databaseEmca-deconfig dbcontrol dB deletes the
3) cursor 1. The basic principle of the cursor processes data results one by one. Low execution efficiency and resource occupation. 2. Whether the cursor attribute % found % isopen opens % notfound % rowcount the cursor adds 1 to each row to be
Quickly create a user to import data
Sqlplus/nolog
Conn/As sysdba;
Drop user Feiyang cascade;
Create user Feiyang identified by Feiyang;
Grant create session to Feiyang;
Grant resource, connect, DBA to Feiyang;
Conn Feiyang/Feiyang;
Select
Importing and exporting Oracle Data imp/exp is equivalent to restoring and backing up ORACLE data. The exp command can export data from the remote database server to the local DMP file, and the IMP command can import the DMP file from the local to
1. ORA-01403: No data found
Scenario: In one stored procedure, another stored procedure is called. One sentence is select a into B from table. When the queried A has no data, this exception will be thrown at this time: ORA-01403: No data
Implementation code example:Variable jobno number;BeginDbms_job.submit (: jobno, // set the job number'Procdemo; ', // set the content to be executed. Generally, it is a stored procedure and the write process name is,Note: if it is to call the
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