How to invoke the export and import of orders for all tables of pl/sql code?
I want to export a few (not entire schema) tables from one database to another. But I want to run as a PL/SQL package so that I can call it from an application server. So my question is...
How to call a tax / export commands from pl/sql code (SP or packaging) so that I can call these (SP or packaging) as a JDBC application server call?
Krishna_Architect wrote:
I want to export a few (not entire schema) tables from one database to another. But I want to run as a PL/SQL package so that I can call it from an application server. So my question is...
How to call a tax / export commands from pl/sql code (SP or packaging) so that I can call these (SP or packaging) as a JDBC application server call?
When all else fails, read the Fine
Tags: Database
Similar Questions
-
How to monitor the TX and RX on PERFORMANCE for virtual network adapter BASP monitor?
How to monitor the TX and RX on PERFORMANCE for virtual network adapter BASP monitor?
I have a virtual network adapter that is created with Broadcom.
This virtual interface named "BASP eCard" visible on the performance monitor in the category 'Rhythm Pipe' but not in the category "Network Interface".
This is problematic because the Tx and Rx (bytes received/send in second) is available in "Network Interface" that show physical network cards only.
Someone has an idea?
Thank you
This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)* -
How to make fast export and import
I have a windows 2003 server and oracle 10.2.0.3 installed on it.
Here, I would like to ask how can I speedup my export and import using expdp.Hi user,
user11798002 wrote:
I have a windows 2003 server and oracle 10.2.0.3 installed on it.
Here, I would like to ask how can I speedup my export and import using expdp.You can use export parallelization using data pump, but for traditional export use the following syntax
Export of databases - readings given by running a select data and generating the DDL to perform the import process in the future.
Quick export
(1) use direct = y
(2) until the disk is not fully used try to launch exports in parallel.
(3) maintain the export on the other disk file and data files.
(4) exports to run into two parts rather than lines that is 1 a = n and second to as long as index = n lines = forced y = n.Quick import
(1) uses the first two files created with exports, it will insert all data but doesn't create any indexes and constraints. Once the insertion of data made imp execution with the indexfile option to extract the index creation script in the text file. Edit the file to include a parallel clause, and then set it to 128 with sort_area_size db_file_multiblock_read_count parameter to a higher value and a workarea_size_policy = AUTO.
A P R I T S I N H A
[oracledba.in] -
How to convert the number and time of storage in my table
Hai all
I have a table called present in that certain fields are
Code varchar
Name varchar
Date of the respondent
outtime date
eTime number
number of wtime
number of cutmin
SO I Wtime calculated by Outtime sub - intimate and now I need to calculate the time additional IE Etime
So for all employees working hours are 0830 so I need for less 0830 train employees working hours
How can I convert this at 0830 and sub with Wtime and to get the exact time
Thanks in advance
srikkanth. MHello!
Outtime - intimate is a figure which means days
0830 8.5 hours and that's 1/24 * 8.5 days.
Lets say I work today between 0700 and 1510
Follow my example
SQL> with data as ( 2 select to_date('02.04.2010 15:10','DD.MM.YYYY HH24:MI') outdate , 3 to_date('02.04.2010 07:00','DD.MM.YYYY HH24:MI') indate , 4 1/24 * 8.5 need_to_work from dual ) 5 select round((outdate - indate - need_to_work) * 1444) etime_in_minutes from data 6 / ETIME_IN_MINUTES ---------------- -20 SQL>
Again you can now convert minutes to hours or test whether etime is negative or what...
Then in your case update statement would be
update attendance set etime = round((outtime - intime - 1/24*8.5) * 1444) where
T
Published by: ttt on 1.4.2010 22:17
-
How schema can be exported and imported into Oracle Apex?
Hello
I am very new to oracle apex. I had installed the apex and the Oracle XE database successfully. I want to import an application to my apex. It was created using workspace - worm and schema - Ves. I had imported the application and the workspace in my apex. But, I'm not able to run the application because I had specified my diagram (HR) by default for the application. How can I import the schema "Ves", in which the application is developed, in my apex?... so that I can run the application in the same pattern... Help, please. Thank youDo a quick web search for ApexLib highlights the suggestion that a part of your installation is missing. No doubt the other APEX instance includes the so-called Apex Lib, which seems to be a sort of add-on APEX framework (I never heard him personally sorry Patrick!).
It seems that your original application has dependencies on this module, which you have not captured during migration. I suggest re - visit your existing instance of APEX and see what are the additional dependencies it (it has different points of view in the dictionary of the APEX which can help you with this) deal with them everything first, then re - try your migration of the application.
-
By default the favorite and update bookmarks later for all users
Hello.
I run FF 31.2.0 ESR and I'm looking for a way to define some default bookmarks for all existing and new users. And if necessary, I want to update in the future.
And I want that users can customize their bookmarks. But a few (about 5) bookmarks/links should be for the admin editible where the link changes.
Someone at - it an idea? How can I do? Is it possible to create a 'public' bookmarks file with these 5 links, which will be imported at each start of FF and merge to the list of bookmarks private profilebased?See:
- CCK2 Wizard: https://addons.mozilla.org/firefox/addon/cck2wizard/
-
How to use the new sequence when it is reached its maxvalue in PL SQL code
Hello
Currently, I am the filling of a number of unique product in a table column by using a call sequence to generate the new number. For different products, I have different sequences and in my PL SQL code usiing IF... Else block I fill the serial number for different products. For a sequence more selling product, we reach a Max value in the production in one month and ensure that the application continues to run properly for the different end-users without getting any error on their screens, I want my code to automatically switch to the new sequence. I just need to add another if condition but my problem is how to find precisely when the maximum value is reached in old sequence.
As the call to the old sequence can occur in different sessions he could be inconsistency and can be found in the error. My new sequence value must begin with AV1000. Please suggest.
My old sequence look like this:
SEQUENCE of Prd
INCREMENT BY 1
START BY AS1000
MAXVALUE AS9999
MINVALUE AS1000
NOCYCLE CYCLE
CACHE 2
Order Yes;
Published by: user11695088 on July 15, 2009 12:14 AMCatch the exception and use your new sequence. But somehow, I'm not like your alternative approach.
SQL> set line 300 SQL> set pages 50000 SQL> set serveroutput on SQL> create sequence testing_seq increment by 1 start with 1 maxvalue 3 2 / Sequence created. SQL> SQL> create or replace procedure test_seq_proc(p_seq out number) 2 is 3 begin 4 select testing_seq.nextval 5 into p_seq 6 from dual; 7 -- 8 dbms_output.put_line(p_seq); 9 -- 10 end; 11 / Procedure created. SQL> declare v_out number; 2 begin 3 test_seq_proc(v_out); 4 end; 5 / 1 PL/SQL procedure successfully completed. SQL> / 2 PL/SQL procedure successfully completed. SQL> / 3 PL/SQL procedure successfully completed. SQL> / declare v_out number; * ERROR at line 1: ORA-08004: sequence TESTING_SEQ.NEXTVAL exceeds MAXVALUE and cannot be instantiated ORA-06512: at "ETL_ADMIN.TEST_SEQ_PROC", line 4 ORA-06512: at line 3 SQL>
See you soon
Sarma. -
How to get the list complete in ips MMIC for all blades on each chassis
Hi team
We have several pods and each chassis we have 8 blades. We want to generate the ip details complete Mmic for all blades which is connected to the chassis.
One kindly tell me, do we not have any script or easy method to generate the Mmic ip list details.
Thanks in advance
Mohan
Hello Mohan
(1) with the Powershell cmdlets
https://communities.Cisco.com/docs/doc-56414
(2) with XML
http://www.Cisco.com/c/en/us/TD/docs/unified_computing/UCS/c/SW/API/b_ci...
(3) with UCS Central
-
Auditing of database to save the DELETE operation on a schema for all tables.
Hello
I'm using ORACLE DATABASE 11 g. I want to apply the AUDITING feature to save all DELETE operations happening on the tables in the schema.
I did the following steps but dint got the correct output: -.
I logged in the SYS as sysdba user and together
then I ran this command to save the sql code that will use the privileges of DELETIONalter system set audit_trail=DB,EXTENDED scope=spfile;
Then I bounced my DB and intended to test I created a table in the SCOTT schema and inserted 10 lines in there and then DELETE all the rows in it.AUDIT DELETE ANY TABLE;
According to the expectations, I check the view
The output I got is: -.select * from aud$ where spare1 like '%MACHINE1%' and USERID='SCOTT' order by ntimestamp#;
But here I don't see the SQL that is generated in the last column.34 168368 1 1 SCOTT I-DOMAIN\MACHINE1 MACHINE1 100 0 Authenticated by: DATABASE; Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=2565)) MACHINE1 5 21-DEC-11 07.02.58.621000 AM 0 928:5024 0000000000000000 983697018 <CLOB> <CLOB>
What I expected, it's that if I shoot a DELETE statement in the schema, it will get connected here and with the help of this point of view, I want to be able to see that what user of which machine run a DELETE statement and that the statement was?
Please let me know what that step i have missed here.
PS: - Watch the ACTION # 100 column, this is the DELETE action code. I have also consulted the view DBA_AUDIT_TRAIL but din't find any useful info their.
Thanks in advance.Try instead:
audit delete table;
DELETE ENTIRE TABLE audit is audit use of the DELETE ANY TABLE privileges.
-
Dear all,
How to copy the parameter FDM (import format, mapping of dimension, table of control) of application to another application.
I found that one dimension mapping can be imported. Is it possible to copy the FDM application quickly?
Thank you for your helpIf you get a chance try the following script, it is so simple and easy to extract all the map as XML data and help to import via import script.
---------------
Void MapExtractor()
'------------------------------------------------------------------
"Script custom upstream Internet link:
'
"Created by: SatyaK"
"Creation date: 08/12/09.
'
' Object: this Script will produce a file of account mapping for
"the current location.
'
'------------------------------------------------------------------'Run the export '.
strFilePath = API. IntBlockMgr.InterfaceMgr.fExportMapToXML ("File Path", PPOVPeriod)End Sub
-------------
-
Removed the custom CSS reappears when export and import
Apex 4.1.1.00.23
I created an application and originally imported two custom CSS files. I decided to not use it, so I deleted them shared components. They no longer appear in the shared components section. I export the application and import it into the same workspace (different application id) or in another workspace (on a different database) I and the two CSS files reappear in the shared components. How the hell is - what happens? I can't understand! I have an another CSS that I use, so when I export/import I choose to include shared components.
I tried searching for files in the images/themes directory and don't see them. They are also not in the WWV_FLOW_CSS_REPOSITORY table at the time that I perform the export, but after importation, they appear as if by magic in the WWV_FLOW_CSS_REPOSITORY table.
Any suggestions would be greatly appreciated!
JenniferHello
You create the installation script for this CSS file to your application supporting objects and when you install your application, it asks you like install support objects?
Kind regards
Jari-----
My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
Tables of export and import the schema using the system user
Hello
Can someone asssit me please:
I want to export all the tables / or some tables of a schema (ETLUSER) on DB1 to ETLUSER on an other (DB2) database by using the user of the SYSTEM. The SYSTEM user has DBA privilege.
How I do what I do not know the password of ETLUSER.
Environment:
Oracle 11 g 2, AIX5
Thank you.no problem, shouldn't you password in the ETLUSER.
Start your exp or imp of the user of the systembelow, scott table dept exported and imported in the HR schema.
Oracle@oragg1 > exp tables = scott.dept file = a.dmp log = b.log
Export: Release 10.2.0.4.0 - Production on Mon Mar 19 18:58:45 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Username: System
Password:Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production 64-bit
With the partitioning, Real Application Clusters, OLAP, data mining
and Real Application Testing options
Export in US7ASCII and AL16UTF16 NCHAR character set
Server uses WE8ISO8859P1 (possible character set conversion) character setAbout to export specified tables by conventional means...
Current user has changed to SCOTT
. . export the DEPT 10 exported table rowsOracle@oragg1 > imp leader = a.dmp log = bb.log fromuser = scott touser = hr
Import: Release 10.2.0.4.0 - Production on Mon Mar 19 18:58:56 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Username: System
Password:Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production 64-bit
With the partitioning, Real Application Clusters, OLAP, data mining
and Real Application Testing optionsExport file created by EXPORT: V10.02.01 by conventional means
import in US7ASCII and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 (possible character set conversion) character set
*. import of SCOTT in HR objects *. .
"DEPT" table import 10 lines imported
Import completed successfully without warnings. -
How to export and import reports and presentations?
Hi guys,.
How to export and import reports and presentations of 7.2 Analyzer 11.1.1 Web Analytics.
Can you please tell me the procedure.
Thank youHello
As I mentioned earlier, you can export documents and presentations on the computer and mapped drives.
-Exported documents take ARD extension & presentations take APT extension.To export the current document, select file, then export current Document. In the Save dialog box, indicate your location of local/network drive to which the file should be saved and click OK.
I believe-7.2 Analyzer also has the wizard to allow you to export documents. & Presentations.
-Alexia
-
The issue of export and import DAC...
I see in DAC that there is an option "Truncate table" when you import a repository. My question is:
When we simply export and import a container... This option will only replace the existing container or containers? I noticed that it considerably improves the importing process, but looks like that when you do this, it will eliminate all the existing metadata for the entire repository? Is that correct or is it just for containers that you import?Hello
When you import and say truncate tables all will be lost and the only container that you import will be present... it certainly reduced the time to.Thank you
Shashi. -
can I export and import my database to oracle via the stored procedure?
Hi all
I need to export my database using the stored procedure, the stored procedure is called by the java application and it works well
Now I still get the "ULTIMATE QUESTION", could export and import the database using the stored procedure?
Really thanks for the reply.
Kind regards
KahlilHello
I think you can use DBMS_DATAPUMP (10.1 +), see [DBMS_DATAPUMP | http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_datpmp.htm#i1007277], for examples, see [http://www.psoug.org/reference/dbms_datapump.html]
Kind regards
Maybe you are looking for
-
Vista operating system, machine unable to release and renew the DHCP IP address without getting an error message next.Advisor?
-
Impossible to attach the file to the message
Anyone else having problems fixing MMS messages on the Z5? The menu screen will be located under the keyboard, but when minimize you the keyboard, everything disappears.Phone is up to date.
-
HP Laserjet M1217: Printers print anything
I have a user with a printer connected via USB. It was workng fine up until today ' today morning that does not just print. There are also online, and when you sent a print job it has an exclamation point. When you try to solve problems, it fails.
-
Create the checkbox in interactive report
Hi allI would have check boxes in each of the lines in an interactive report. I tried to create a page with the same, but I receive it as string.http://Apex.Oracle.com/pls/Apex/f?p=71510:17 (workspace: test_me, username = test, password = apex14gm)Ho
-
Does not all results in full table of query
When you run this it only gives me the last value of my query in the table. Any thoughts on why this is happening? I appreciate any assistance. Thank you< cfset = arrayNew result (1) / >< cfset ArrayMedSchools = structNew() / >< cfloop query = "GetMe