How to export datbase with exp command

Hi guys,
How to export oracle database using exp command without including tables space names.
I tried with this
./exp username/password file=db-export.dmp
./imp username/password file=db-export.dmp full=y ignore=y
But when I try to import database with separate login(username/password) its giving following error for some tables,
ORA-00959: tablespace 'MANUJA' does not exist
MANUJA is my username of first database
any help ?
Thanks
Best Regards,
Manuja

Option 1:
./imp username/password file=db-export.dmp full=y
If still error then :
Option 2:
pre-create your table then import with ignore=y option.
If still error then :
make sure userB just have one default tablespace (BC) and quota only on BC. So if you have unlimited quota for userB on all tablespaces, then objects will go to original tablespace and not the tablespace you want to put in(to default tablespace).
Revoke any unlimited tablespace privs from userB and just have one default tablespace.
REVOKE UNLIMITED TABLESPACE FROM USERB;
imp system/manager fromUser=userA toUser=userA file=myexport.dmp log=myexport.log
Source: OrionNet @ remap tablespace using imp
Regards
Girish Sharma

Similar Messages

  • How to export data with column headers in sql server 2008 with bcp command?

    Hi all,
    I want know "how to export data with column headers in sql server 2008 with bcp command", I know how to import data with import and export wizard. when i
    am trying to import data with bcp command data has been copied but column names are not came.
    I am using the below query:-
    EXEC master..xp_cmdshell
    'BCP "SELECT  * FROM   [tempdb].[dbo].[VBAS_ErrorLog] " QUERYOUT "D:\Temp\SQLServer.log" -c -t , -T -S SERVER-A'
    Thanks,
    SAAD.

    Hi All,
    I have done as per your suggestion but here i have face the below problem, in print statment it give correct query, in EXEC ( EXEC master..xp_cmdshell @BCPCMD) it was displayed error message like below
    DECLARE @BCPCMD
    nvarchar(4000)
    DECLARE @BCPCMD1
    nvarchar(4000)
    DECLARE @BCPCMD2
    nvarchar(4000)
    DECLARE @SQLEXPRESS
    varchar(50)
    DECLARE @filepath
    nvarchar(150),@SQLServer
    varchar(50)
    SET @filepath
    = N'"D:\Temp\LDH_SQLErrorlog_'+CAST(YEAR(GETDATE())
    as varchar(4))
    +RIGHT('00'+CAST(MONTH(GETDATE())
    as varchar(2)),2)
    +RIGHT('00'+CAST(DAY(GETDATE())
    as varchar(2)),2)+'.log" '
    Set @SQLServer
    =(SELECT
    @@SERVERNAME)
    SELECT @BCPCMD1
    = '''BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT '
    SELECT @BCPCMD2
    = '-c -t , -T -S '
    + @SQLServer + 
    SET @BCPCMD
    = @BCPCMD1+ @filepath 
    + @BCPCMD2
    Print @BCPCMD
    -- Print out below
    'BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername'
    EXEC
    master..xp_cmdshell
    @BCPCMD
      ''BCP' is not recognized as an internal or external command,
    operable program or batch file.
    NULL
    if i copy the print ourt put like below and excecute the CMD it was working fine, could you please suggest me what is the problem in above query.
    EXEC
    master..xp_cmdshell
    'BCP "SELECT  * FROM  
    [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername '
    Thanks, SAAD.

  • How to export RTF with paragraph style names?

    Anybody can help me "how to export RTF with paragraph style names?"
    Thank you

    It's not something that's natively done with Indesign.
    However it's possible that it might be able to be scripted.
    Check the scripting forum
    http://forums.adobe.com/community/indesign/indesign_scripting

  • Anyone knows how to export ROLES and SYNONYMS with exp command?

    Anyone knows how to export ROLES and SYNONYMS with exp/imp commands?
    Help is needed. Thanks.

    Hi,
    Pls. post this query in RDBMS forum since Portal export import forum does not handle this.
    Thanks,
    ~Kirit.

  • How to export quicktime with timecode burn?

    I am scoring a film (in Pro Tools HD) and the editor isn't quite sure how to export the film to a quicktime movie with timecode burned in (i believe that's the term for timecode being visible on the preview...?). I don't know what version of FCP he's on but I was hoping someone could give me some generalized instructions I could give him.
    Also, if I have to compress the video to slipstream the processing/reading in pro tools, will I retain proper timecode? thanks!

    He would have to change the Timecode offset value under the Filters tab in the Browser.
    Find a scene that starts on a hard cut, say 1 minute or so into the movie. Note the timecode.
    Your guy then fiddles around with the beginning, making it 6 seconds and 8 frames shorter.
    Go back to the reference cut and you will see that its TC has changed by that much.
    Adjust the Offset parameter to match. This has to be done by entering the number of frames. You can use positive and negative values as required, which will also cover for the changed scenes turning out longer than they were originally.

  • How to export images with meta data from iPhoto?

    Hi
    I have about 4000 family photos which have been scanned and imported to iPhoto. They are all dated the same day, naturally. I'm now in the process of adding metadata to every photo: location, faces, time and year, file name and description.
    Once I have gone through every photo, I will put them into albums based on events and the meta data above.
    Eventually, I will want to share all these photos with people who should like to see them (and who are not tech savvy...) I'm looking for the best approach to do to this.
    1. Will all the metadata that I have added remain in the photos when I export them?
    2. What exactly is the best approach to export these 4000 photos?
              - As I have gone through all the hard work of sorting the photos in albums, is it possible to export these photos in the albums that they already in?
    I hope to hear from someone out there. Thanks a lot
    Best wishes

    You need to have an application like  EXIF Viewer for Mac OS X  to check the files once you've exported them with the various checkboxes checked:
    Happy Holidays

  • How to export file with original filename number suffix, but with more digits

    Is there a way to keep the original filename number suffix, but change the formatting of the number, adding leading zeros for instance?
    When I import photos from my camera I like to rename them, and give them sequential numbers, e.g. "2015-01 Hamburg 1.cr2", "2015-01 Hamburg 2.cr2", "2015-01 Hamburg 10.cr2", .. "2015-01 Hamburg 134.cr2", and so on.
    Normally when I export photos I like to keep the file names exacly as I imported them (except the extension) e.g. 2015-01 Hamburg 1.jpg, "2015-01 Hamburg 2.jpg", .. "2015-01 Hamburg 10.jpg", .. "2015-01 Hamburg 134.jpg".
    But sometimes I would like to export them with leading zeros, typically when adding photos to a web site or blog where there are sort mechanisms that only support simple sort algorithms based on file names, meaning the sort order of my photos with their original file names would become "2015-01 Hamburg 1.jpg, "2015-01 Hamburg 10.jpg", .. "2015-01 Hamburg 134.jpg", "2015-01 Hamburg 2.jpg".
    So I would like the file names to be "2015-01 Hamburg 001.jpg", "2015-01 Hamburg 002.jpg", "2015-01 Hamburg 010.jpg", "2015-01 Hamburg 134.jpg".
    By keeping the original file number suffix I can easily go back to the original file whenever I need to, and the sort order would work even with simple sorting.
    The export Filename Template Editor gives quite advanced support for numbering files when exporting, see attached screenshot. There's support for exporting files with custom file names, and adding sequence, total and image number with padding (up to 9999/####). But those add new numbers, they do not consider the original filename number suffix. If I use the "Image # (001)" for instance, my example above would export as "2015-01 Hamburg 001.jpg", "2015-01 Hamburg 002.jpg", "2015-01 Hamburg 003.jpg", "2015-01 Hamburg 004.jpg", if those were the four photos I wanted to export, making it hard for me to trace them back to the original photo.
    I have found no way of adding such padding on the original file number.
    Does anyone know if this is possible or have suggestions for a workaround?
    It shouldn't be too hard for Adobe to support this I'd imagine.
    export pattern rename files  file_number filename_template_editor

    I do not know if you can do what you explained above, but there is a workaround to this (and a way to avoid having to do it in the future):
    In the Library module, make sure your images are sorted by Capture Date (this will put them in the right order, even with suffixes like 1, 13, etc.)
    Select all images, and then Rename them, using a Custom text followed by a Sequence number. The Custom text in this case should be the original name (such as, 2015-01 Hamburg, as in your example). Make sure the Sequence number is formatted with enough zeroes to include all the numbers in your images.
    In the future, when you rename images during Import, make sure you select the Sequence number format that will include all the needed zeroes, so you don't have to go through this again.

  • How to export strings with "\"

    When I export a string with backslashes in it (eg. path name to a file) then when this file is imported at run time then backslashes '\' cause the import to fail. So for now I have to replace all "xxx\yyy" strings in exported file with "xxx\\yyy" and then import
    of such MODIFIED file goes OK.
    But this is tedious - is there another way to deal with it ?

    This is caused by the fact that the ASCII backslash character is the escape code specifier, and when the file is read by the import/export properties tool it is treated as such. If you have any character sequences in a string such as "\t" or "\n" these get interpreted as tabs and newlines within the string.
    To avoid this behavior when importing you will need to modify the strings in TestStand before exporting them to include the "\\" escape code set to the file. The caveat to this is once these values are read back from the file they will be interpreted as single backslashes. For instance, if you export "c:\\temp", and then import it back you will get "c:\temp". This is simply the nature of the Import/Export Properties tool.
    If you do not like the b
    ehavior of this tool in its shipping form, you can rebuild the "limitloader.dll" module to include the functionality that you want. Whenever you click the Tools>>Import/Export Properties menu selection, the MainSequence of \Components\NI\Tools\ImportExport.seq is being executed. This has a single step in it that calls the "DisplayImportExportDialog" function of the limitloader.dll. The source for the limitloader.dll can be found in the \Components\NI\StepTypes\Database directory.
    Jason F.
    Applications Engineer
    National Instruments
    www.ni.com/ask

  • How to export presentation with a song/audio

    Hi. My presentation is completely automatic. No manual clicks required. All slides automatically flow with transitions.
    I added music (an MP3 song) to these slides. In Keynote, it plays fine. The song plays when the slides are moving.
    But when I export it as a MOV file to Quicktime, it creates TWO separate files:
    1. Myfile.mov
    2. Myfile-soundtrack.mov
    Just playing Myfile.mov does not help, it does not have sound. What nonsense is this? Is this Apple's famous UI design?
    Anyway, how do I merge these files? Some googling suggested I use GarageBand. So I paid 19 bucks for this software, but even Sending to GarageBand does nothing, it just creates a .MOV file that still does not have sound.
    Any ideas or pointers?
    I have Quicktime Player on my machine (although like any sane person, use VLC for any video playback) and also have the iWork 09 and GarageBand latest. My OS is Mountain Lion latest..
    Thanks.

    How do i do it? i am trying to export a QT file for a live broadcast to lay on top of my main video.< </div>
    Live? Cannot be done. There is no CPU-based codec that will decode and process alpha in realtime. You must use someone's proprietary, hardware-based codec.
    What i am trying to do is put in a file from livetype and another one from motion and export them as a transparent background quicktime file to i can use it atop my livestreaming video. < </div>
    "Livestreaming" is not a term that is in my dictionary. Did you make it up or is a proprietary format for a special Web application?
    Doesn't really matter, you cannot do it live with a stock Macintosh.
    You can recompress and reprocess your footage files and attempt to use video DJ appliances and software or you can get a conventional video switcher.
    FCP is an offline editing system, not a live production environment.
    If we still haven't answered your questions, how about you start a new thread with clearly stated goals.
    bogiesan

  • How to export file with specific KB/s for video?

    Just wondering how to go about doing this. I want a file to be exported with 188 KB/s video. and the audio 128kbps in h.264.

    I have to admit, you found an interesting way to confuse my friend Jim.
    You see, people just don't use KB/s, they use Mb/s or even Kb/s but using 188KB/s means that most of us have to multiply by eight to get a number we are used to, then divide by 1024.
    So, 188 X 8 = 1504Kb/s or about 1.47Mb/s. Which is pretty small for  video in this day and age, but so be it. That is their recommendation.
    (If anyone wants to argue about the 1024 vs 1000, don't. I can argue both sides for you.)
    http://pc.net/helpcenter/answers/kbps_or_mbps_faster
    https://support.speedtest.net/entries/21057567-What-do-mbps-and-kbps-mean-
    To set the export bit rate you will want to type in 1.47Mb/s but you won't be happy comparing it to a higher quality YouTube video. Darn, who would have even thought I would ever type " higher quality YouTube video" and not be kidding?

  • How to export schema with it's data

    db11gxe , apex 4.0 , firefox 24 ,
    hi all,
    i want to export my database tables with it's data included ?
    thanks

    Hi,
    I do not see how question relates to APEX.
    Maybe you check Oracle XE documentation
    http://docs.oracle.com/cd/E17781_01/server.112/e18804/impexp.htm#CFHJAHAA
    Regards,
    Jari

  • How to export images with transparent background in illustrator

    H i
    I am trying  to export a png, jpeg button design with curved designs. But the white background keeps appearing when exported.
    How do I remove the white background and just have the button image.
    Thank you.

    Tony404 wrote:
    I am trying  to export a png, jpeg button design with curved designs. But the white background keeps appearing when exported.
    Are you exporting as a PNG or exporting as a JPG?
    JPG doesn't support transparency so you'll have to export as a PNG and check the Transparency box.

  • How to export rating with jpeg?

    I would like to export my version as jpegs, with EXIF and IPTC data. No problem. I would also like the ratings to be exported with the picture. Maybe it is, but I cannot find it. Any idea if the rating is exported, and if it is, where?
    Thanks,
    Allan

    Hello, Allan
    Quote: "I would like to export my version as jpegs, with EXIF and IPTC data. No problem. I would also like the ratings to be exported with the picture. Maybe it is, but I cannot find it. Any idea if the rating is exported, and if it is, where?"
    Allan, if you are exporting the jpegs using the Mail Export Presets make sure that the preferences are set correctly. Open Aperture's preferences, Command + , (comma) and select Edit Mail Export Presets and check Include Metadata.
    Use the Query HUD to place the metadata you want baked into the image file. Command f
    Click the plus sign at the upper right and choose Rating and set the ratings you want.
    love & peace,
    victor

  • How to export date with metadata

    How do I include date when exporting metadata (not with the image).
    I can't get Aperture (3.1.2) to export any kind of date. It shows the date field field, but the value is blank. Using Automator I can extract and export IXIF date which includes the time. I'd like to be able to export the date without the time code.
    Thanks for any help.

    In the Metadata tab of the Inspector, choose IPTC Core. Then, in the Image brick, click in the Date Created field to set it. See if the date now exports with your metadata.
    Let us know if that works. Thanks

  • Export Failing with EXP-00008: ORACLE error 1031 encountered and ORA-01031:

    HI Folks,
    I am trying export the 11.2.0.2.0 database using export 'exp' utility.I am getting below errors while exporting with my 'sa' user. I am below role privileges for the 'sa' user. The export from the same kind of priivileged user in other Database is working.
    1* select * from dba_role_privs where grantee='SA' order by 2
    SQL> /
    GRANTEE GRANTED_ROLE ADM DEF
    SA ACCOUNT_CREATOR NO YES
    SA APPLICATION_CREATOR YES YES
    SA APPLICATION_DBA NO YES
    SA APPLICATION_DEVELOPER YES YES
    SA APPLICATION_USER NO YES
    SA AQ_ADMINISTRATOR_ROLE NO YES
    SA CLARIFY_ADMINISTRATOR YES YES
    SA CLARIFY_REPORTER YES YES
    SA CLARIFY_USER YES YES
    SA CONNECT YES YES
    SA EXECUTE_CATALOG_ROLE NO YES
    SA GATHER_SYSTEM_STATISTICS NO YES
    SA MOB_CONNECT YES YES
    SA SCHEDULER_ADMIN NO YES
    SA SELECT_CATALOG_ROLE YES YES
    (hidh403)/opt/app/adba/crmdb()> exp sa/fre9shen@t1crm9d2 file=sample.dmp log=sample.log
    Export: Release 11.2.0.2.0 - Production on Tue Jan 31 12:55:22 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Tes
    Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user SA
    . exporting PUBLIC type synonyms
    EXP-00008: ORACLE error 1031 encountered
    ORA-01031: insufficient privileges
    EXP-00000: Export terminated unsuccessfully

    Yes, I do agree.But when i compared with the other database where i am able to export it doesn't have the 'EXPORT_FULL_DATABASE' privs.
    SQL> select * from role_role_privs;
    ROLE GRANTED_ROLE ADM
    HS_ADMIN_ROLE HS_ADMIN_SELECT_ROLE NO
    ACCOUNT_CREATOR APPLICATION_USER YES
    APPLICATION_DBA APPLICATION_OEM_TUNE NO
    APPLICATION_DBA ACCOUNT_CREATOR NO
    EXECUTE_CATALOG_ROLE HS_ADMIN_ROLE NO
    HS_ADMIN_ROLE HS_ADMIN_EXECUTE_ROLE NO
    APPLICATION_DBA APPLICATION_DEVELOPER YES
    SELECT_CATALOG_ROLE HS_ADMIN_ROLE NO
    APPLICATION_DBA APPLICATION_USER YES
    SELECT_CATALOG_ROLE HS_ADMIN_SELECT_ROLE NO
    EXECUTE_CATALOG_ROLE HS_ADMIN_EXECUTE_ROLE NO
    ROLE GRANTED_ROLE ADM
    APPLICATION_DBA APPLICATION_CREATOR YES

Maybe you are looking for

  • When i login to a website, it loads then gives me a blank page ?

    I can view a page regularly, like everything is normal until i go to log in. I get a blank page as soon as the page loads, and this happens to many websites. Ive tried searching in safemode, editing my firewall settings, removing cookies, disabling p

  • I need to create bollinger bands in Numbers

    I am trying to chart a performance margin on a chart.  I tried to chart a shaded area around a moving average using plus an minus STDEV's but the problem is that the STDEV cant show a negative number and this moving average travels into negative terr

  • Artists and Compilations and AppleTV, oh my!

    Hopefully this is an easy one: I've got Compilation albums with many different artists. In iTunes, I have Checked "Compilation" and none of the artists appear in the "Artists" view. I can not get this same behavior in the Apple TV though. All of the

  • Wrong goods reversal date

    Hi all, I am facing a case where the the GI was done on 27/03/2010 but the user for changing the quantity in the document reversed the goods issue by VL09 on 03/04/2010.The problem here is now we want the reversal to happen at 27/03/2010 and then car

  • How to change pdf page in an iframe content automatically

    I open a pdf in my web page with <iframe> and the pdf-option for example #page=2 equals week number 2 of a year. How could I change the viewable page as a function of the actual week number of a year (#1 - 52) At the moment my html code looks like: <