Label:Assuming Oracle has an entirely new database ORCL, now it's time to import the database file (. dmp) into this new database ORCL. The detailed steps are as follows:1. Create a table spaceFor example:Create tablespace Test (tablespace name) datafile ' F:\oracle\oradata\
, and then perform the import operation to solve the problem of garbled characters in the data table.Problem 2 and Problem 3 workaround, modify the client character set, check the value of your system environment variable Nls_lang or registry hkey_local_machine-->software-->oracle under this branch to find Nls_lang key, Modify this key value and re-import the dat
Oracle DatabaseModerate timingDmp FileBackup can improve the security and stability of the database and facilitate recovery in the event of a fault. This article describes how to regularly back up the dmp file of an oracle database in SCO Unix. Let's take a look at it.
Prerequisites for backing up
-execute the IMP, using the Indexs=n parameter to import objects other than index. Finally, go to Sql*plus, run the script you just edited, and build the index. This method is useful for importing index and constraints into the specified tablespace. 2. Change the default tablespace for the destination userThis is the way that people often ask questions. But the problem is not successful because of the lack of the following steps. first, recover the "U
Before importing and exporting data, it is customary to check to see if our own machine can connect to a remote Oracle host, and the detection method is tnsping service_name. My machine is as follows:c:\users\zx>tnsping ORCLHost: lenovo-pc, service name: ORCLThe above operation is ping yourself, below we ping the remote host. How to use: Tnsping Ip/service_name, as follows:10.120. 56.203/ORCLHost and service names are marked by a red boxImporting data
protected]File=d:\daochu.dmp owner= (System,sys)3 Exporting Tables Table1, table2 in the databaseExp system/[email protected]File=d:\daochu.dmp tables= (Table1,table2)4 Export the field filed1 in table table1 in the database with data beginning with "00"Exp system/[email protected]File=d:\daochu.dmp tables= (table1) query=\ "where filed1 like ' 0% ' \"The above
Label:1. Under WinXP, install 10g, default selection, all the way OK. (Pre-install self-test with DHCP warning, can be ignored directly) 2. Command line, under XP, enter Sqlplus, you can start, login with Sqlplus/as sysdba with admin login 3. When restoring Oracle, first establish the tablespace, build the user, and grant the user authorization and unlock in Sqlplus. ----Create a table space Create Tablespace jbpmLoggingDataFile ' D:\
under a user:Drop User xxx cascade;Drop tablespace XXXX including CONTENTS;To create a user :Create user username identified by password;Authorized users :Grant Create session,create any table,create any view,create any index,create any procedure,create any trigger,create any Type,create any sequence,alter any table,alter any procedure,alter any trigger,alter any type, alter any sequence,drop any Table,drop any view,drop any index,drop any procedure,drop any trigger,drop any type,drop any seque
unlock accounts: Alter user account unlock
Login sys User: Sqlplus/as sysdba
Modify SYS User: ALTER user sys identify by password
Modify SYSTEM User: Alter user system identified by
Data export: 1 completely export database test, user Name System Password Manager exported to D:\daochu.dmp expsystem/ Manager@testfile=d:\daochu.dmp full=y 2 Export the table of the system user and SYS user in the database expsystem/ Manager@testfile=d:\daochu.dmp owner= (System,sys) 3 The tables in the
Tags: WinForm style blog http tar extBecause like new things, so basically computer development tools are the latest, Oracle also installed 11g R2, but colleague classmate is not 11g R1 is 10G, from here I exported the DMP file in their direction in, all show:IMP-00010: Not a valid export file, header validation failed
Today, the customer gave me a table from the ORACLE11G database to export a data file to me, the file suffix is dmp file, I put DMP file into our business database error, and later on-line check is due to the
Tags: WinForm style blog http color fileOriginal address: http://www.cnblogs.com/alxc/archive/2011/03/25/1995279.htmlBecause like new things, so basically computer development tools are the latest, Oracle also installed 11g R2, but colleague classmate is not 11g R1 is 10G, from here I exported the DMP file in their direction in, all show:IMP-00010: Not a valid ex
Tags: Oracle modified version imp-00010 is not a valid export fileIn summary, it is toss.1, 11G of Oracle Backup (originally did not know), to the 10G of Oracle Recovery, recovery when the tip is incorrect, so the long revision of the version number began.2, because the backup is very big, start with UE and so on to try, long wait after the card dead + disk space
/[email protected]File=d:\daochu.dmp owner= (System,sys)3 Exporting Tables Table1, table2 in the databaseExp system/[email protected]File=d:\daochu.dmp tables= (Table1,table2)4 Export the field filed1 in table table1 in the database with data beginning with "00"Exp system/[email protected]File=d:\daochu.dmp tables= (table1) query=\ "where filed1 like ' 0% ' \"The
Before creating a user name, you need to log on to the database as a user Administrator 1, to create a table space before creating a user:
The format is: Format: Create tablespace table name datafile ' data file name ' size table space;
For example:
sql> Create tablespace mytable datafile ' d:\myoracle\mytables1.dbf ' size 1024M segment space management auto;
If the table space is insufficient to import dat
bfzg/bfzg directory = oracle_exp dumpfile = BFZG0828.DMP tables = btv10_bz.bt_corp remap_schema = btv10_bz: bfzg exclude = statistics table_exists_action = replace
How can I import a local dmp file to an oracle database on the remote host?
You can upload files remotely and
Oracle Import and Export File supplement, oracle Import and Export supplement
In the past two days, oracle has imported and exported table data.
1. oracle provides three ways 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.