Moving objects from one schema to another
Hi,
again as part of my learning exercise, I was trying to move objects from a schema in 10GR2 to 11GR2 database.
I am able to use exp and imp commands to achieve this objective -
On source database -
$> exp userid=scott/tiger owner=(schemaname) file=data.dmp statistics=none
Copied the dump file on target server and then
$> imp userid=scott/tiger file=data.dmp fromuser=uname touser=scott
And this works fine.
What I am not able to understand is how I can achieve this by using datapump instead?
Your help is much appreciated.
Thanks.
Thanks.
Worked perfectly.
This is what I did (in case someone is in my position)-
On source database-
expdp scott/tiger schemas=<source schema>directory=DATA_PUMP_DIR dumpfile=data.dmp job_name=some_job
Copied dump file to target server.
On target database-
$> impdp scott/tiger directory=DATA_PUMP_DIR dumpfile=data.dmp remap_schema=<source schema>:<target schema> job_name=imp_kob
Similar Messages
-
Moving object from one client to another using transport requests...
Hi,
If we want to move one object from one client to another, we go to se09 and release it. I know this. But after release what are the next steps to move it from one system to another ?
Regards,
RajeshHello Rajesh
If the two systems share a <u>common</u> transport directory then you can simply go to transaction <b>STMS</b>, double-click on the <b>import queue</b> (target system), then choose menu <b>Extras -> Other Requests -> Add.</b>
The transport request will be added to the import buffer. Next you can import the request.
If the two systems do not share a common transport directory you can use RFC-enabled function module <b>EPS_FTP_PUT</b> to copy the data and cofile from the source to the target system (check for <b>DIR_TRANS</b> directories using transaction AL11).
Regards
Uwe -
Moving Object from One container to another in workOrder Dri
Hi , I am able to Move Object from One container to another container in workOrder Driver.
here is my code which i am using
<do-move-src-object class-name="ValeUser">
<arg-dn>
<token-local-variable name="var-str-nwoContent"/>
</arg-dn>
<arg-dn>
<token-text xml:space="preserve">\</token-text>
<token-global-variable name="dirxml.auto.treename"/>
<token-text xml:space="preserve">\</token-text>
<token-global-variable name="hrfeed.inactive.container"/>
</arg-dn>
</do-move-src-object>
Thanks
Adarsh KumarOriginally Posted by AndersG
Idmlearner,
> am able to Move Object from One container to another container
> in workOrder Driver.
>
Possibly better asked in support.identity-manager
- Anders Gustafsson (Sysop)
The Aaland Islands (N60 E20)
Novell has a new enhancement request system,
or what is now known as the requirement portal.
If customers would like to give input in the upcoming
releases of Novell products then they should go to
http://www.novell.com/rms
Identity Manager - NOVELL FORUMS
If you are not a nntp user.
Thomas -
Moving objects from one page to another
Hi All,
I need to move an image from one page to another...
For example, on page 1, I have one image that needs to shifted to 5th page of the document. Is that possible?
VandyI will suggest the duplicate() method instead of the move() here.
Advantage: the position of the object on page 5 will be same as the original one:
var doc = app.activeDocument;
// "r" is the graphic frame containing the image
var r = app.selection[0];
//The duplicate() method will maintain position of the object as long it is NOT an anchored object.
r.duplicate(doc.pages[4]);
//Get rid of the original
r.remove();
Uwe -
Script for copy and compile objects from one schema to another
Hi,
I have 2 schemas like schema1 and schema2 in both schemas i have same procedures/function like p_test1 .If i modify a procedure in schema1 i want same modifications in schema2 so i want a script to apply these changes to schema 2.
except bellow process any alternative
SET PAGESIZE 10000
SET feedback OFF
SET heading OFF
SET echo OFF
spool d:\SQL.OUT
SELECT TEXT
FROM USER_SOURCE
WHERE NAME = 'MY_PROCEDURE';
spool OFF
SET echo ON
SET feedback ON
SET heading ON
CONNECT OTHER_USER/OTHER_PASSWORD@OTHER_DATABASE;
@d:\SQL.OUTAll what you have to know about that function :
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_metada.htm#sthref3536
Nicolas. -
Moving tables from one schema to another
Hi
I have 9 tables in Schema_1 that have already been populated with data.
I would like to remove these tables from Schema_1 and place them into Schema_2
These tables also have indexes attached to them.
ThanksI don't think there's a "move" command as such, though someone may prove me wrong.
You could "grant select" on the relevant tables to user Schema_2, then log on as the second user and perform "create table ... as select * from Schema_1.....". Then, create the indexes manaually. After all this, drop the old tables. -
Moving field object from one section to another programatically
How do I move text/field objects from one section to another at run time. The ReportObjects collection in the section is readonly and setting the left, top property of the ReportObject only seems to move object within the same section.
I'm using Crystal Reports version 10.5 that comes with VS 2008 professional.
Edited by: iyounus on May 26, 2009 9:41 PMHi;
The trial version will offer this capability. You can either use RAS (which is available with Crystal Reports, or Business Objects Enterprise), or the Crystal Reports engine. Which you use will depend on the target for your application, see this for some tips on that:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f006a5e6-7e64-2b10-8a84-8b15ca5cacfc
And, some links to samples that add fields:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20300f17-c566-2b10-b586-b8e8a23e6668
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3085841e-c566-2b10-238c-9f7c3f85d816
https://www.sdn.sap.com/irj/boc/sdklibrary
Regards,
Jonathan -
Moving procedures and sequences from one schema to another
Hi all,
Is there any way to export the procedures and sequences alone from one schema to another? If not is there any way to generate the procedure creating scripts from the source schema.
I used the following script SET HEADING OFF
SET PAGESIZE 999
SET LINESIZE 100
SELECT DBMS_METADATA.GET_DDL('PROCEDURE', NAME, owner) || '/' FROM ALL_SOURCE WHERE
OWNER='SCOTT' AND TYPE='PROCEDURE'
SPOOL C:\A.SQL
SPOOL OFF
[/CODE]
But the problem is in the out put script it is cutting the line .. for egCREATE OR REPLACE PROCEDURE "QC_PFIZER_REL5"."SPGETNEXTDS
S_ID"
( V_ID OUT NUMBER )
IS
BEGIN
SELECT SEQUENCE_DSS_Id.NEXTVAL INTO V_ID FROM DUAL;
END ;
i experimented with increasing linesize but it is not helping. I am using 9.2.0.5 on windows 2003.
Thanks
MuneerSimilar to getting the code from user_source, you could get sequences from user_sequences.
SQL> select dbms_metadata.get_ddl('SEQUENCE', sequence_name) from user_sequences ;
DBMS_METADATA.GET_DDL('SEQUENCE',SEQUENCE_NAME)
CREATE SEQUENCE "SCOTT"."SEQ" MINVALUE 1 MAXVALUE 1.00000000000000E+27 INCR
EMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE
1 row selected.
SQL> -
How do I move a table from one schema to another schema?
How do I move a table from one schema to another schema?
Grant access to the table from the source schema to destination schema.
GRANT SELECT ON <TABLE_NAME> TO <DESTINATION SCHEMA>A simple way would be to use CREATE Table with select syntax (in destination schema)
CREATE TABLE <TABLE_NAME> AS SELECT * FROM <SOURCE SCHEMA>.<TABLE_NAME><li>However, you would be in <b><u>trouble when the table has index,constraints and triggers</u></b>.
So you can better of grab the DDL statement of the table(and any additional components) andd then create the table in the destination schema.You can use SQL developer, Toad or Apex's Object browser for this.
After the table is created, Insert the records using SELECT.
INSERT INTO <TABLE_NAME> SELECT * FROM <SOURCE SCHEMA>.<TABLE_NAME>This question is discussed in great detail in this <b>AskTom thread</b> -
Move objects from one tablespace to another
Hello
Running Oracle 10g rel 2 and I would like to move all objects from one tablespace to another. There are Primary Key indexes to other tables in this tablespace. The size grew too large and I want to reduce the size.
Thank you.Good afternoom Sir!
I believe that below "ask tom - moving tables across tablespaces" may help you.
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:47812348053
Regards,
Marcello M. -
Using Command Line to move objects from one environment to another enviroment
Can the Command Line (sacmd) be used to move Job Groups/Jobs and other object from one environment to another environment? If so, how?
Moving jobs and objects can only be accomplished by using the Transporter application. There is a document called "Transporter User Guide" with a chapter called "Running Transporter in Batch Mode" that details how to send commands to transporter from the command line. It also details how to setup jobs in Tidal to use this command line. Once you have jobs in Tidal using the Transporter command line, you can then use sacmd to run these jobs.
Does this make sense? -
Copy data from one schema to another schema tables
Hi,
I was doing a copy using sql developer copy feature, data copy worked perfect but for few table data didn't move there are about 30 tables from schema prod to schema dev i need to move tables are already created only data needs to be moved from prod to dev
Can you suggest me any method were I can move all the tables data at a time from one schema to another. Please suggest.
Thanks
SudhirHi,
If table structure is the same then:
insert into dev.table_name
select
from
prod.table_name --if prod is in another database change to prod.table_name@db_link_to_prod_db
commit
;Hope this helps. Otherwise give some more info about where these schema's are.
Regards,
Peter -
How can I script moving paths from one file to another?
Hello. I have 1 image with various color correction layers. The other is the exact same size but only contains paths. How can I script moving paths from one file to another? Thanks, in advance, for any help you can offer. Thanks!
Thanks! This one actually worked for me. Thanks for your help.
http://forums.adobe.com/message/3305389#3305389 -
How can you move the objects from one server to another?
how can you move the objects from one server to another?
Hi,
Collecting objects for Transporting
1. rsa1->transport connection
2. left panel choose 'object type', middle panel choose 'infocube' and 'select objects'
3. then choose your infocube and 'transfer'
4. will go to right panel, choose collection mode 'manual' and grouping only 'necessary objects'
5. after objects collection finished, create request
6. If they are $TMP, then change the package.
7. When you click the Save on the change package, it will prompt for transport. Here you can provide an existing open transport request number, or if you like here itself you can create a new one.
8. You can check the request in SE09 to confirm.
Releasing Transport Request
Lets say you are transporting from BWD to BWQ
Step 1: In BWD go to TCode SE10
Step 2: Find the request and release it (Truck Icon or option can be found by right click on request #)
Note: First release the child request and then the parent request
Steps below are to import transport (generally done by basis )
Step 1: In BWQ go to Tcode STMS
Step 2: Click on Import queue button
Step 3: Double Click on the line which says BWQ (or the system into which transport has to be imported)
Step 4: Click on refresh button
Step 5: High light the trasnport request and import it (using the truck icon)
Transport
http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/1d733b73a8f706e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/0b/5ee7377a98c17fe10000009b38f842/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/224381ad-0701-0010-dcb5-d74236082bff
Hope this helps.
thanks,
JituK -
How do I move an object from one photo to another and then change the scene, i.e. winter to summer?
OK.
Open the picture with the new scene. This will be your canvas.
Open the picture with object A, select it with one of the selection tools, go to Edit>copy
Go back to the new scene/canvas, Go to Edit>paste
Repeat for object B
Use the move tool to position A & B, each on its own layer. Use the corner handles of the bounding box to resize, if necessary
You should have 3 layers: Background layer, and the 2 layers with A & B
Note: It's best if the resolution of the 3 picture files is the same value.
Maybe you are looking for
-
Payable Open Interface Import---Asset Book name is being generated
Hi, I am working on Payables Open Interface Import in R12. I am not generating the 'Track as Asset Flag' and 'Asset Book Type Code' fields in Ap_invoice_lines_nterface table. And the distribution account is also an Expense account. But after the paya
-
Line with 0 quantity for main item with batch split
Hello experts, I have one line item in delivery. Delivery split is there: There are 1 spilt items with 1 batch nos. The main item category and the batch split item category are TAN. My system is showing 2 line items in billing, the batch line with qu
-
Applet shows in IE but not netscape
I've made an applet in the following page: http://members.tripod.com/hb13/3rmMain.html It works perfectly in NN6, but IE just shows me a blank page. Any Ideas? Thnx in advance
-
Transfer line selection from crosstab to variable in planning sequence
Dear all, We do have a small planning application with one table and one planning sequence. To run the sequence, we want one line in the table to be selected and hand over the values of the selected month and year to the variables used in the sequenc
-
i have a sound blaster li've! 5. and have just downloaded the Li'veDrvUni-Pack(ENG). when i try to install it it says : "Setup could not detect any Sound Blaster Audio card on your system". The card is instaled and running perfectly, so why do i get