Expdp syntax for a single package
Hi
I have a database runing in 10.2.0.5
On this database there is a package "ARTICLE_CHANGE" which is in "CWODS" schema.
Now I need to export this package from this db to another database.
OS is AIX.
Now please help me to get the expdp exact include syntax so that i can take the backup of this package.
Thanks for your help on this.
expdp CWODS/CWODS@CWODS_db schemas=CWODS include=PACKAGE:"= 'ARTICLE_CHANGE'" directory=TEST_DIR dumpfile=ARTICLE_CHANGE.dmp logfile=expdpARTICLE_CHANGE.logchange as per your requirements and take care of quotation marks
Edited by: swapnil kambli on Jun 3, 2013 1:45 AM
Similar Messages
-
Parallel Processing for a single Package
Hi,
I have PKg1 that have mixture of For Each Loop container, DFT's and Seq containers and I want to run more than one thread for this package where i can process data in parallel.
Please let me know how i can create this using SSIS 2012.
Thanks,Hi,
DFTs connected by precedence constraints and I want to run this package more than once (multiple threads) at a given point of time. is this possible? if
yes, please let me know how I can achieve this.
Thanks..
If the DFTs are connected then there will be absolutely no parallel processing. Running the same package in parallel most likely result in a lock. It depends how it is architectured, but with a RDBMS in default installation or files it is not going to fly.
When you have a DFT with say OLEDB destination each using its own connection, and they are not connected then each gets opened independently and thus allowing you to ingress data simultaneously.
Arthur My Blog -
Unable to choose single packages from group ?
Hey ! Previously when I used "pacman -S kde", I was able to answer "no" to question like "Do you want to install all packages from group <kde>", then I could choose "yes/no" for every single package. Now it has changed. After typing "pacman -S kde" there's only question "Continue installation?" and if i press "no" pacman terminates installation ! So if I dont want to install everthing what should I do ?
This seems relevant...
http://bbs.archlinux.org/viewtopic.php?id=99934
Last edited by falconindy (2010-06-28 11:23:23) -
Syntax for inserting a single field
hai
can u please tell me what is the syntax for inserting a single field in ztable.
Regards,
N.selvamuthukumar.inserting a single field doesnt make sense if table has more dan one primary keys.
The syntax is
INSERT INTO TABLE VALUES WA_TABLE.
where wa_table is of type ztable. -
Syntax for calling html page in PL/SQL package
Hi,
I'm trying to call html page (stored on server) in my pl/sql package!
I have already create html page in pl/sql package code and it's works fine.
Now create better html page (interface design) and stored on server. I would like to call that stored html page in my pl/sql package.
What is syntax for calling html page in PL/SQL or could you suggest me some literature.
In first option I had created ces and stored it on server. Then I call it in pl/sql package like htp.p('<link rel="stylesheet" href="\download\table_style.css" type="text/css">');
I try someting like that for calling html page but it doesn't works.
htp.p('<link rel="form" href="\download\interface.htm" type="text/html">');
Does anyone know syntax for calling html page in pl/sql?!?
Thanks!hello
I normally use htp.anchor(URL,linkname);
it works
ammar sajdi
www.e-ammar.com/Oracle.htm -
Enabling log4j for a single class or package
hi all
If i use log4j for logging in my classes,
is there a way for enabling it just for a single class or a packages?
Considers that i use log4j.properties for configure it
Regards
GiovanniTwo things. Firstly, it's better to use private static final Object classLock = new Object();because that saves you worrying about whether any other code synchronises on it. Secondly, if you do decide to go for the delegation route then java.lang.reflect.Proxy may be a good way forward.
-
I pay for CC single app; I used to have CS6 or CS7 - Single app membership as well. I would like to take advantage of the 29.99 Complete package. Is that available to me?
Hi Scott,
The discounted price doesn't seem available to me. In my account, I
selected upgrade to Complete and it asks for $599 US. I believe I qualify
for the $29.99 per month.
What do we do?
Thanks,
Andrew -
How to use execute query For a single record
Hi All,
I am working with oracle forms 10g, I have developed a custom form.
I the form user enter some data and click save in the menu and data get inserted into my table. Inside the insert statement i have hardcoded some values, Once data get inserted i cant able to see that values immediately in my text fields in my form.After requerying i can able to see the changes.
For example I have a text field called Status, and the field is display only field. At that time of insert i have hardcoded as "INCOMPLETE". Once the user enter the data in the form and click save the data get inserted in to my table but i cant able to see the status, after i requery my form i can able to see the status.
Here i do multi insert also.
This is my insert statement
BEGIN
First_Record;
LOOP
IF :BANK_GUARANTEE_BLK.CHECK_IN_OUT = 'Y'
THEN
XXBANK_GUARANTEE_HEADERS.XXBANK_GUARANTEE_INSERT;(this is my package, here i have written my insert statement)
--Execute_query;
END IF;
Exit when :System.Last_Record = 'TRUE';
Next_Record;
END LOOP;
END;
If user insert only one row and i gave Execute_query to refresh and bring the current data, but when i use execute_query Its brings up all the datas in the table.
Can any one tell me how to avoid this and how to use execute_query for a single record.
Thanks ®ards
SrikkanthSolved,
The solution is
set_block_property('LC_REQ_BLK',ONETIME_WHERE,'LC_PO_NUMBER='||:LC_REQ_BLK.LC_PO_NUMBER);
go_block('LC_REQ_BLK');
execute_query;
Works fine.
Regards
Sri -
Modifying pctfree for a single partition ONLY
I am doing some testing regarding setting pctfree on a partitioned table. I know I can say alter table xxx pctreee #, but this will change the pctfree for all partitions in a table, which I don't want.
Is there a syntax I can use to change the pctfree only for a SINGLE PARTITION and leave everything
else the same.
If somebody can provide an example of this syntax it would be appreciated.840386 wrote:
Is there a syntax I can use to change the pctfree only for a SINGLE PARTITION and leave everything
else the same.It is all in docs:
ALTER TABLE table_name MODIFY PARTITION partition_name PCTFREE N;Where N is value you want to use.
SY. -
500 internal server error for only single user
Hi Experts,
Pls help me that
I am getting the problem of 500 Internal server error for a single user .
Except that user remaining users are not getting this error, They are working fine
i.e it is ESS & MSS Package all other application working fine , this iview came from Webdynpro .
Regards
KrishnaHi Arun,
where can i check with that whether in DEV/PROD system...?
I don't have access to PROD system and SU01 system too.
Can you please guide me with the steps to get it done.
Please check the below log which is getting displayed for the User, when he is logging in.
Error summary
While processing the current request, an exception occurred which could not be handled by the application or the framework.
If the information contained on this page doesnu2019t help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this
Root Cause
The initial exception that caused the request to fail, was:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: ComponentUsage(FPMConfigurationUsage): Active component must exist when getting interface controller
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.ensureActiveComponent(ComponentUsage.java:773)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceControllerInternal(ComponentUSage.java:348)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceController(ComponentUsage.java:335)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdGetFPMConfigurationUsageInterface(InternalFPMComponent.java.245)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.changeToExceptionPerspective(FPMComponent.java:862)
u2026 59 more
Please provide me any help.
Thanks in advance.
Regards,
Ponneswari A. -
Mergeing multiple procedures into a single package ???
Hello Gurus,
I m moving the data from the from one schema i,e source(SRC) schema to the another schema i,e target(trg) table, only selected columns of few tables (i,e for 4 tables)
I m writing procedures to accomplish this and put this procedures to a scheduler on a daily basis to load
I m writing 4 procedures one for each of the table .....here is the procedure i have got
create or replace procedure mov_tbl1
is
cursor tbl1_cur as
select src.col1,
src.col2,
src.col3,
src.col4
from source.tbl1 src
where col1 = ' xyz'
tbl1_cur_rec tbl1_cur%rowtype;
begin
for tbl1_cur_rec in tbl1_cur
loop
insert into tgt.tabl1(col1,col2,col3,col4)
values ( tbl1_cur_rec.col1,
tbl1_cur_reccol2,
tbl1_cur_rec.col3,
tbl1_cur_rec.col4);
commit
exception
when others then
rollback;
end loop;
end;
---for table 2
create or replace procedure mov_tbl2
is
cursor tbl2_cur as
select src.col1,
src.col2,
src.col3,
src.col4
from source.tbl2 src
where col3 = ' abc'
tbl2_cur_rec tbl2_cur%rowtype;
begin
for tbl2_cur_rec in tbl2_cur
loop
insert into tgt.table2(col1,col2,col3,col4)
values ( tbl2_cur_rec.col1,
tbl2_cur_reccol2,
tbl2_cur_rec.col3,
tbl2_cur_rec.col4);
commit
exception
when others then
rollback;
end loop;
end;
similarly procedures for table 3 and table 4....
here is my question....
1.How can i build a single package for all these four procedures in one package ???
2. ANd i don't want to call each procedure every time ...so can i do it by passing parameters ??? how can i accomplish that ??
I m new to writing packages ....any help is greatly appriciated ....Thank you so much gurus!!!!First of all your code doesn't compile because the exception block is inside the loop while begin and end are outside.
You have to decide whether a single row error has to invalidate the full load or if the single wrong row has to be rejected but all the other rows have to be loaded.
I suppose you need the latter hence I'm changing the code as follows:
create or replace procedure mov_tbl1
is
cursor tbl1_cur as
select src.col1,
src.col2,
src.col3,
src.col4
from source.tbl1 src
where col1 = ' xyz'
-- the record variable declaration is implicit in FOR LOOP
begin
for tbl1_cur_rec in tbl1_cur
loop
begin
insert into tgt.tabl1(col1,col2,col3,col4)
values ( tbl1_cur_rec.col1,
tbl1_cur_reccol2,
tbl1_cur_rec.col3,
tbl1_cur_rec.col4);
-- REMOVED COMMIT, Commit outside or at the end.
exception
when others then
null; -- May be is better to (somehow) log the error ...
end;
end loop;
end;About the package, you create it this way:
create or replace package p is
procedure upd (tab1 in boolean, tab2 in boolean, tab3 in boolean, tab4 in boolean);
end;
create or replace package p is
procedure upd (tab1 in boolean, tab2 in boolean, tab3 in boolean, tab4 in boolean) is
begin
if tab1=true then
mov_tbl1;
end if;
if tab2=true then
mov_tbl2;
end if;
if tab2=true then
mov_tbl2;
end if;
if tab2=true then
mov_tbl2;
end if;
end;
procedure mov_tbl1 is
cursor tbl1_cur as
select src.col1,
src.col2,
src.col3,
src.col4
from source.tbl1 src
where col1 = ' xyz'
-- the record variable declaration is implicit in FOR LOOP
begin
for tbl1_cur_rec in tbl1_cur
loop
begin
insert into tgt.tabl1(col1,col2,col3,col4)
values ( tbl1_cur_rec.col1,
tbl1_cur_reccol2,
tbl1_cur_rec.col3,
tbl1_cur_rec.col4);
-- REMOVED COMMIT, Commit outside or at the end.
exception
when others then
null; -- May be is better to (somehow) log the error ...
end;
end loop;
end;
procedure mov_tbl2 is ...
procedure mov_tbl3 is ...
procedure mov_tbl4 is ...
end;
/You can call the upd procedure (that calls the others) this way:
begin
p.upd(true,false,true,false);
end;
/To update only table1 and table3.
Max
http://oracleitalia.wordpress.com -
New syntax for Go URL in Analytics 10.1.3.2 onwards
Can someone please share the location of any documentation for parameter passing in version 10.3.4.1 ?
Specifically, I am having difficulty getting the BETWEEN qualifier to function as expected: *&op1=bet*
Almost all of the GO URL examples that reference the new variable passing style simply use *&col1=* and *&val1=* and leave off the optional operator, letting it default to *&op1=eq*. Filtering for a single date using &op1=eq, &op1=gt, &op1=le works just fine. But when I try to overload the new &val1= pararameter the same method that the older syntax uses
&P3=2+"8/12/2012 12:00:00 AM"+"08/18/2012 12:00:00 AM"
&val1=2+"8/12/2012 12:00:00 AM"+"08/18/2012 12:00:00 AM" or any variant of date/time then it fails.
I need to be able to filter for a specific range of dates and tried every combination of escaped sequences that I can think of with no success.
Thanks in advance for any suggestions or links,
-Marco
(Dallas, TX)Thanks, I have the docs for the older &P0, &P1-P3, &P4-P6, etc. structure. I prefer the newer and cleaner format of the &col1= and &val1=, especially given the fact that there isn't a limit on the number of filters, the old approach cannot have more than 6 conditions.
I really don't want to have to code for both formats since I already have a lot of queries built using the newer syntax. Surely, Oracle still supports the BETWEEN operator. -
Can we create Transport request for deleting a package?
Hi all,
We have few customised programs and tables developed in a package. Normally we create a transport request, include the objects for this package, then generate the FTP files and send it to user. Now the user wants us to create a FTP files for deletiing the package. Can this be possible without effecting the package in our system?( For this we have only dev sys)
Thanks and Regards,
Sravanthi>
sravanthi konda wrote:
> Yes, I too cannot understand. If it is to delete a single program or 2 programs it is posible to create a TR excluding that program, but I don't understand how to delete whole package. Is there any possibility to do this?
You have to ask the user to delete the package locally. Moreover please educate him about the CTS mechanism in SAP, i don't think ABAPers are here to hack the SAP system -
How to Inscribe all the error messages into a single package ??
Hi,
I want to Inscribe all the error messages into a single package., and call the concern package from the exception block in every sp by passing the error code to that package, which will return the Concern error message to the calling Sp.,
Can any one help me out how to accomplish this ., ?
regards
RajaI want to Inscribe all the error messages into a single package., Why do you want to inscribe all the messages in a package?
I would suggest you to store them in a table instead and you can write a functin to retrive the error messages required.
But if your requirement is for 'Package' then assuming that you store all the error messages in a table 'error_table' (say) following code may help you .
CREATE TABLE Error_Table (
Error_Code VARCHAR2(10),
Error_Desc VARCHAR2(1024));Now insert your error codes and descriptions in this table.
CREATE OR REPLACE PACKAGE pkg_Error_Handler
AS
FUNCTION f_Get_Error_Message(p_Error_Code Error_Table.Error_Code%TYPE) RETURN VARCHAR2;
END pkg_Error_Handler;/
CREATE OR REPLACE PACKAGE BODY pkg_Error_Handler
AS
FUNCTION f_Get_Error_Message
(p_Error_Code Error_Table.Error_Code%TYPE)
RETURN VARCHAR2
IS
lv_Error_msg Error_Table.Error_desc%TYPE;
BEGIN
BEGIN
SELECT Error_desc
INTO lv_Error_msg
FROM Error_Table
WHERE Error_Code = p_Error_Code;
EXCEPTION
WHEN No_Data_Found THEN
lv_Error_msg := 'No such error code '
||p_Error_Code
||' defined in the system';
WHEN OTHERS THEN
lv_Error_msg := p_Error_Code;
END;
RETURN lv_Error_msg;
END f_Get_Error_Message;
END pkg_Error_Handler;
/and you can call this packaged funtion from any exception block to get the error description.
Regards,
Abhijit.
N.B.: Code not tested -
I Use the last FCX but I have a prob when I export (share) to dvd the result is over 4GB for a single DVD is about 6 to 9 Gb for a short film of 1h so what can I do to fix this thnks
These "Share" files are accessed and used by the Create Disc app.
Create Disc is buried in the FCP X package.
Applications>FCP X>Show Package Contents>Contents>Plugins>Compressor>Compressor Kit.bundle>Show Package Contents>Embedded Apps>Create Disc
I'm wondering if having the Compressor Application on a Mac makes a difference to having just FCP X on a Mac and the use of the Sharing feature.
I have Compressor loaded and find that DVD and Bluray burns from Share without any glitches as some are experiencing.
Al
Maybe you are looking for
-
Is there a way to import photos from Canon Powershot S45 after downloading Yosemite?
Is there a way to import photos from a Canon Powershot S45 after downloading Yosemite?
-
X-Fi ExtremeMusic Software doesn't look ri
I just installed the card last night and I figured I would just get the latest drivers from the web, rather than use the CD. The card works but the software does not look at all like what's advertised everywhere. I just have a boring panel with tabs
-
Can I use Calendar "Groups" or views as data sources in PDA Sync?
From what I can see, you can only use calendars that you are subscibed to and not calendar groups/views that you have created.
-
My Macbook won't turn on (HELP please)
I got a new MacBook Pro recently, and through idiocy and excitement, I forgot to properly shut down my old MacBook whilst using my new macbook pro. I have had the new laptop for about two weeks, and I'd left the previous one on sleep. I figured the b
-
How to know BPEL process is running
Hi, I have BPEL process which is triggerred by FileAdapter. File Adapter polls for every 120seconds and if any file exists, it reads and BPEL process is initiated. As BPEL proccess is big and sometimes it executes more than 120seconds and it depends