How to export the database and import the database using sql developer
HelloI need to export the database to a server and import it on another server db using the export function of database under the Tools menu in SQLl developer. How to import it? This is for Oracle database 10g.
Thank you
Hello
I think it generates the file .sql containing all the objects that you are exported. Then you can simply open the target database file and run as a script. Also, there is another forum for sqldeveloper related issues.
Concerning
Tags: Database
Similar Questions
-
How to debug the package in sql developer?
Hello
I need to debug procedures in my package in the sql developer 1.5.5 version. In the debug log, I received the following:
Connection to the database < databasename >.
PL/SQL execution: ALTER SESSION SET PLSQL_DEBUG = TRUE
Running PL/SQL: CALL the DBMS_DEBUG_JDWP. CONNECT_TCP ('127.0.0.1', '2754')
ORA-01031: insufficient privileges
ORA-06512: at "SYS." DBMS_DEBUG_JDWP', line 68
ORA-06512: at line 1
This session requires user DEBUG SESSION privileges to CONNECT and DEBUG ANY INTERIOR.
Process is complete.
The database < databasename > disconnected.
I have granted the privileges of the user DEBUG CONNECT SESSION both to DEBUG ANY INSIDE system in the following way:
GRANT DEBUG ANY PROCEDURE ESM_OWNER;
grant the DEBUGGING SESSION to CONNECT to ESM_OWNER;
However, I still get the same error. What I've done wrong? I really appreciate all the help to solve my problem.
Thanks in advance!
CindyYou have a firewall blocking this port? In addition, your database is running on the same machine that you use SQL Developer, or on a remote host? It's remote, you should provide the IP address of your local computer, not 127.0.0.1
-
Create the view using SQL DEVELOPER
I'm new to this forum :)
11 GR 2, WIN2008 R2
SQL Developer Version 3.2.09
I am creating the data below view (view existing)
Table: Dovmarker
I try to describe the table and my goal :),MARKERBOREHOLE UWI MARKERSURFACE Z WELLXXX 65372643AAAA Cw -982,985619574516 WELLXXX 65372643AAAA Cn -1891,47401803955 WELLXXX 65372643AAAA J -674,989528816517 WELLXXX 65372643AAAA K3 20,00165000429 WELLXXX 65372643AAAA Tr 125,000317308153 WELLXXX 65372643AAAA K1 -658,989731894024 WELLXXX 65372643AAAA Q 149,999999999549 WELLYYY 56618334AAAA Jkm -715,071442105268 WELLYYY 56618334AAAA K3 36,9013966413975 WELLYYY 56618334AAAA J2 -976,056079257549 WELLYYY 56618334AAAA Tr 106,900507694299
each line describes wells, uwi(uniqe identifier), z (deppth), high (surface marker)
I try to merge all lines with the same MARKERBOREHOLE/UWI and MARKERSURFACE contact coresponding Z (ascending) as MARKERSURFACE = Z.
If it is posibble to reduce the number of decimals to 2.
My idea to solve the problem:
example: ' | ' is the delimiter
or better (not enough knowledge ;))WELLXXX Q=149,999999999549 | Tr=125,000317308153 | K3=20,00165000429 | K1=-658,989731894024 | J =-674,989528816517 | Cw=-982,985619574516 | Cn=-1891,47401803955 WELLYYY Tr=106,900507694299 | K3=36,9013966413975 | Jkm=-715,071442105268 | J2=-976,056079257549
Number of markersurface is different for each wellWELLXXX Q=149,999999999549 Tr=125,000317308153 K3=20,00165000429 K1=-658,989731894024 J =-674,989528816517 Cw=-982,985619574516 Cn=-1891,47401803955 WELLYYY Tr=106,900507694299 K3=36,9013966413975 Jkm=-715,071442105268 J2=-976,056079257549
I try to do it by the listagg function, but I have failled
result:select markerborehole, listagg(z, ' | ') within group (order by z) as new1 from dovmarker group by markerborehole;
When I tried to create new view in sql developer I occurred error;WELLZZZ -2575,95869465411 | -1891,47401803955 | -982,985619574516 | -674,989528816517 | -658,989731894024 | WELLRRR -2376,96975480605 | -2376,96975480605 | -2308,97180590009 | -2308,97180590009 | -2206,47428534641 | -2206,47428534641 | -2163,97522524171
Can you help me with this?Error(s) parsing SQL: unexpected token near *!* in the following: select markerborehole, listagg(z, ' | ') within *!*group (order by z) as new1 unexpected token near *!* in the following: select markerborehole, listagg(z, ' | ') within group *!*(order by z) as new1 missing expression near *!* in the following: select markerborehole, listagg(z, ' | ') within group (*!*order by z) as new1
Concerning
Jaroslaw961148 wrote:
I missed xWell Yes, my apologies, I has not changed all that.
It's a simple way to format the Z value to 2 decimal places?
Yes. It depends on if you want to use rounded, floor, ceiling, truncate or if you like a string always have 2 decimal places etc.
Make your choice and customize according to your needs...SQL> ed Wrote file afiedt.buf 1 with t as (select 'WELLXXX' as MARKERBOREHOLE, '65372643AAAA' as UWI, 'Cw' as MARKERSURFACE, -982.985619574516 as Z from dual union all 2 select 'WELLXXX', '65372643AAAA', 'Cn', -1891.47401803955 from dual union all 3 select 'WELLXXX', '65372643AAAA', 'J', -674.989528816517 from dual union all 4 select 'WELLXXX', '65372643AAAA', 'K3', 20.00165000429 from dual union all 5 select 'WELLXXX', '65372643AAAA', 'Tr', 125.000317308153 from dual union all 6 select 'WELLXXX', '65372643AAAA', 'K1', -658.989731894024 from dual union all 7 select 'WELLXXX', '65372643AAAA', 'Q', 149.999999999549 from dual union all 8 select 'WELLYYY', '56618334AAAA', 'Jkm', -715.071442105268 from dual union all 9 select 'WELLYYY', '56618334AAAA', 'K3', 36.9013966413975 from dual union all 10 select 'WELLYYY', '56618334AAAA', 'J2', -976.056079257549 from dual union all 11 select 'WELLYYY', '56618334AAAA', 'Tr', 106.900507694299 from dual) 12 -- 13 -- END OF TEST DATA - IGNORE ABOVE WITH CLAUSE 14 -- 15 select z 16 ,round(z,2) as round_z_2 17 ,floor(z*100)/100 as floor_z_2 18 ,ceil(z*100)/100 as ceil_z_2 19 ,trunc(z,2) as trunc_z_2 20 ,to_char(round(z,2),'fm9990.00') as string_z_2 21* from t SQL> / Z ROUND_Z_2 FLOOR_Z_2 CEIL_Z_2 TRUNC_Z_2 STRING_Z ------------------- ---------- ---------- ---------- ---------- -------- -982.9856195745160 -982.99 -982.99 -982.98 -982.98 -982.99 -1891.4740180395500 -1891.47 -1891.48 -1891.47 -1891.47 -1891.47 -674.9895288165170 -674.99 -674.99 -674.98 -674.98 -674.99 20.0016500042900 20 20 20.01 20 20.00 125.0003173081530 125 125 125.01 125 125.00 -658.9897318940240 -658.99 -658.99 -658.98 -658.98 -658.99 149.9999999995490 150 149.99 150 149.99 150.00 -715.0714421052680 -715.07 -715.08 -715.07 -715.07 -715.07 36.9013966413975 36.9 36.9 36.91 36.9 36.90 -976.0560792575490 -976.06 -976.06 -976.05 -976.05 -976.06 106.9005076942990 106.9 106.9 106.91 106.9 106.90 11 rows selected.
with above code I try to create a new view in SQL Developer, but I have error:
Error(s) parsing SQL: Unexpected token near *!* in the following: select markerborehole, listagg(z,chr(10)) within *!*group(order by rn) as z Unexpected token near *!* in the following: select markerborehole, listagg(z,chr(10)) within group*!*(order by rn) as z Missing expression near *!* in the following: select markerborehole, listagg(z,chr(10)) within group(*!*order by rn) as z
What are all the {noformat}! * * {noformat} in the code? Delete them.
Edit: or maybe your version of SQL Developer is not up-to-date and does not know the new LISTAGG function in 11g?
Published by: BluShadow on 26-Sep-2012 09:41
-
How to export Firefox passwords and import him into FirefoxDeveloperEdition?
I'm not clear on how to migrate my saved passwords from Firefox to FirefoxDeveloperEdition.
Hey Phillip,.
Initially, I did this and it did not what I hoped it would. A few minutes ago, I installed: https://addons.mozilla.org/en-US/firefox/addon/password-exporter/; and that seemed to do the trick. Thanks for reaching out. -
How to tune the loading using SQL LOADER
Hi all
I use SQLLDR to load the file into the target. All the files I am receving is ' | ' delimited. Some of the files size more than 3 GB. It takes a lot of time during loading.
Help me to know if it is possible of tuner SQLLDR.
Here is the example of control file.
DOWNLOAD THE DATA
UTF8 CHARACTER
INFILE ' / var/hulu/ptp/ABC.txt'
BADFILE ' / var/hulu/ptp/ABC.bad'
DISCARDFILE ' / var/hulu/ptp/ABC.dsc'
IN THE TABLE "PTP_ABC".
TRUNCATE
FIELDS TERMINATED BY ' |'
TRAILING NULLCOLS
(
CODE,
DESCRIPTION,
FILLING,
COKE
)Change you your current sqlldr using external tables, this make the parallel load automatically, or launch sqlldr processes in the background of a single script.
We doing something similar to this with the help of a shell like this script:
nohup sqlldr userid=
/ data=data01.dat log=my1.log control=my.ctl bad=my1.bad direct=yes silent=all parallel=true & nohup sqlldr userid= / data=data02.dat log=my2.log control=my.ctl bad=my2.bad direct=yes silent=all parallel=true & nohup sqlldr userid= / data=data03.dat log=my3.log control=my.ctl bad=my3.bad direct=yes silent=all parallel=true & nohup sqlldr userid= / data=data04.dat log=my4.log control=my.ctl bad=my4.bad direct=yes silent=all parallel=true & nohup sqlldr userid= / data=data05.dat log=my5.log control=my.ctl bad=my5.bad direct=yes silent=all parallel=true & nohup sqlldr userid= / data=data06.dat log=my6.log control=my.ctl bad=my6.bad direct=yes silent=all parallel=true & nohup sqlldr userid= / data=data07.dat log=my7.log control=my.ctl bad=my7.bad direct=yes silent=all parallel=true & ... We are currently opening 20 simultaneous processes and we get an overal 400 000 platelets per second speed. You test what is the maximum number of concurrent processes, you can open.
Course which you need a first step to split the log into smaller chuncks. In my example, the file data.dat got cut into 20 smaller files, and each of them at the same time got loaded in parallel in the database. If you can not split the file, then you should go for external tables.
You can always test direct = true without any parallel option. This should be more than noticiable.
LW
-
How to remove the project using sql with the proper sequence
Hello
Tried to delete the project failed with query according to the sequence shown below. But get error when running below final sql script (delete from epub_process where of the project = '?')
SQL error: ORA-02292: integrity constraint (PUB.) PROC_HIST_ID_FK) violated - book of the foundling
02292 00000 - 'constraint integrity (s.%s) violated - child notebook found. '
* Cause: attempted to remove a parent key value that was a stranger
dependence.
* Action: remove dependencies first then the parent or disable the constraint.
delete from avm_asset_lock where workspace_id in
(select avm_devline id, whose name in)
(select Workspace from epub_project where project = 'prj49024')) ;
delete from EPUB_PR_HISTORY where project in
(select project in epub_project where project = "prj49024");
delete from epub_project where project = "prj49024";
delete from EPUB_PROC_HISTORY where ID_processus in
(select ID_processus from epub_process where of the project = "prj49024");
delete from EPUB_PROC_TASKINFO where id in
(select ID_processus from epub_process where of the project = "prj49024");
delete from epub_taskinfo where ID_processus in
(select ID_processus from epub_process where of the project = "prj49024");
delete from EPUB_WORKFLOW_STRS where id in
(select ID from EPUB_IND_WORKFLOW where ID_processus in)
(select ID_processus from epub_process where of the project = 'prj49024')) ;
delete from EPUB_IND_WORKFLOW where ID_processus in
(select ID_processus from epub_process where of the project = "prj49024");
Get the error when running this script
remove the epub_process of the project where = "prj49024";
Please let me know good sequence or how to avoid this mistake
Thank you
Sri
Here are the steps:
delete from EPUB_PR_HISTORY where project in ('prj213002', 'prj200001');
delete from EPUB_PROC_HISTORY where ID_processus in
(select ID_processus from the epub_process of the project where in ('prj213002', 'prj200001'));
delete from EPUB_PROC_TASKINFO where id in
(select ID_processus from the epub_process of the project where in ('prj213002', 'prj200001'));
delete from EPUB_IND_WORKFLOW where ID_processus in
(select ID_processus from the epub_process of the project where in ('prj213002', 'prj200001'));
remove the epub_process of the project where in ('prj202001', 'prj213002');
delete from avm_asset_lock where workspace_id in
(select avm_devline id, whose name in)
(sélectionnez project_id dans epub_project où project_id dans ('prj213002', 'prj213002'))) ;
delete from epub_project where project in ('prj202001', 'prj213002');
commit;
Peace
Shaik
-
Import Export using SQL Developer
People
I have 6 tables whose data must be exported from a database and imported into the other. The structure of the table constraints etc. is the same across both of the DB.
Database is 11g. Average amount of data in tables 5 is 2.5million contain lines and 1 340million.
Could you please suggest the best possible way to the export and import of data using SQL Developer. Developer SQL version 3.2.20.09
There is an option in the 'View' tab in Developer SQL by using 'DBA' but do not have s/n of these patterns. I am well aware expdp and impdp operations but it is managed by another team that can cause delays both want to do it myself.
Can we do expdp and impdp on SQL Developer without access s/n?
All of the suggestions.
Thank you
Simple method would be to create external table Using the ORACLE_DATAPUMP Access Driver. Its neat and fast.
http://docs.Oracle.com/CD/B28359_01/server.111/b28319/et_dp_driver.htm#i1007502
-
How to export the output document for real cinema screen film
recently, I made a documentary film. My documentary film was shown in the screen of the great real cinema at the film festival
However. It was not published in 16 / 9. my film stretched to the size of the screen.
I filmed with HD and HDV. I used the Canon Mark 2 camera, gopro and sony Z 5
When I used first pro CS5, I export the movie with H264 (HDTV 1080 p high quality)
is - this just how I export the movie to screen large cinema with first Pro CS5
Let me know on this subject?
The 16:9 screen?
The size of the screen has nothing to do with it.
Your image was distorted on the screen?
If you have exported your 1080 16:9 properly with correct BY etc. and specification of the festival... then they projected in correctly.
-
How to export the indesign file to coreldraw
Hi all
I had created a brochure that would be printed to a professional printer. There, they use Indesign. Instead, they use Corel Draw.
How to export the indesign file created in corel draw.
and printing
@Dov, sorry. But there are places on Earth where the upgrade to a more modern workflow just will not happen either by choice, or more often, because of the money. I've dealt with a few printers to India use CD (beautiful dig to Corel, btw) or Illy. Just like that.
@srikanth977, all printers I treated using an older workflow and equipment that use CD or Illy for output agreed a PDF file. In addition, each of them wanted to PDFX-1A a PDF file without crop marks, bars of color, etc.. So check with your printer. They then add these features when they print.
Best regards, Mike
-
I think I bought the latest version of Airport Extreme. It is the unit which is rectangular, is about 6 to 7 w., etc. I have some basic questions that I do not understand:
1. How will I know if I have the latest firmware for this device? I read a few posts that make it sound as if it was just automatically updates. Is this true?
2. can someone tell me how to change the password used to connect to my wireless network?
Thank you very much!
Chris
If a firmware update is available, AirPort Extreme flashes orange.
The most up-to-date version of the firmware is 7.7.3.
You can see what version you currently have the following on your Mac...
Open Finder > Applications > utilities > AirPort Utility
Click on the image of the AirPort Extreme
Look for the Version
If the new firmware was available, you will see a button update here
To change the wireless network password...
Click on edit in the window smaller than you watched just to check the firmware version
Click on the Wireless tab at the top of the next window
Go back / change the wireless password and enter a new password
Do the same thing to check
Click Update at the bottom right of the window and give the airport a minute full for restart
-
How to export the Indesign to Format XML using JavaScript document
Hi all...
Can someone help me, how to export the indesign document to XML Format using JavaScript...
Thanks in advance...
doc.exportFile ( ExportFormat.XML, File(Folder.desktop+"/doc.xml" )
-
How to export the JPEG to CMYK in LR3?
How to export the JPEG to CMYK in LR3?
You pouvez save a JPEG file to CMYK from the printing in LR6 Module.
-
How to export a png of different size while using the command exportToPNGSequence jsfl?
How to export a png of different size while using the command exportToPNGSequence jsfl?
Use the matrix parameter.
-
How to export the same MB size of my cr2 files in jpg or tiff files in Lr?
How to export the same MB size of my cr2 files in jpg or tiff files in Lr?
Let's say that my height is 22 MB, when I export the file in TIFF or jpg, although careful Iam with size of file settings, size, resolution, I can't manioukate how I want it.
With jpg I tried everything, no matter what I do or a change in file size or meanless remains the same size - 7 mb instead of 22...
Please advise,
Best wishes
T
You should not even try to do it.
JPG uses compression technology, so the files will have to be smaller than the original size of your RAWs. In addition, JPGs are 8-bit, while your RAWs are probably 14 bits, so the size needed to store your image will be smaller.
Thus, there is absolutely nothing wrong with getting a 7 mb JPG of a 22 MB RAW.
-
Unable to export the movie using XDCAM presets
Hello
We are facing a problem of export of sequences using custom presets for XDCAM to our panel.
question:
Our Panel, we export the sequences based on a "Preset" personalised XDCAM. But the sequence is not exported.
The output file created is sometimes Kb. We use the code
seq.exportDirect (outputfilepath. MOV, custompresetPath)
to export the current sequence.
When we manually select the sequence and make
File-> export-> media->
And import the custom preset of XDCAM and export its creation at the exit.
First version - 2014.2 (8.2.0 (65))
Media - 2014.2 (8.2.0.54) encoder
and OS x version 10.9.4
Can you please suggest a solution for this problem as soon as possible.
Thanks in advance
All the ExtendScript encoding-driven since the Organization should be based on the encoder (modern, fresh, tested, clean) API, not the. exportDirect() (unsupported, obsolete, treacherous). See PProPanel sample code.
Maybe you are looking for
-
Keep until is disabled. How to make compatible?
Just try to change keep it until that setting.
-
Form auto fill a solution please
With the Google toolbar, I used the automatic form filler, now not availible for ff 10 I need a simple solution. I'm happy if I can enter the same data each time namely: Name, address, Email, phoneAutoFill Forms looks complex that imacro, Roboform is
-
Type in English in Outlook but the text is coming in a foreign language
Can anyone help? I was typing an e-mail when the text I typed suddenly started coming in the Greek or Hebrew or? Turned the machine off, no change. No problem typing English in Word. Never did a complete scan - no problems. Always impossible to get m
-
Hi all! I just joined this forum... I use HP 530 with Windows 7 Professional. This laptop came with only 1 GB of RAM, which is my concern at first... now, it has become quite impossible to run 7 with as much memory, as every time I get warnings of ex
-
Uninstall Windows 7 laptop (2 OS on the laptop)
Hello! My laptop is running 2 OS at the same time (he wonder at startup every time that I want to continue). It has Windows Pro 8.1 and Windows 7. I use only Windows Pro 8.1 at present and I would like to uninstall Windows 7 but I don't know how. Can