Export of schema with space it its name

we have a schema named "Gestion Loaners" (note the space in schema name) in oracle 9iR2 database. i want to take schema level export but as there is space in schema name i am not able to do it using either escape char or using parameter file..
can anyone guide me pls
thx

It works if the Username is ALL CAPITALS. Couldn't get it work if the Username was Mixed Case
SQL> create user "PAVAN KUMAR" identified by pavan;
User created.
SQL> grant create session, create table to "PAVAN KUMAR";
Grant succeeded.
SQL> create table "PAVAN KUMAR".his_table (col_1 varchar2(5));
create table "PAVAN KUMAR".his_table (col_1 varchar2(5))
ERROR at line 1:
ORA-01950: no privileges on tablespace 'USERS'
SQL> alter user "PAVAN KUMAR" quota unlimited on USERS;
User altered.
SQL> create table "PAVAN KUMAR".his_table (col_1 varchar2(5));
Table created.
SQL>
ora10204>exp hemant/hemant owner=\"PAVAN KUMAR\"
Export: Release 10.2.0.4.0 - Production on Wed Nov 5 22:33:47 2008
Copyright (c) 1982, 2007, Oracle.  All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P1 character set (possible charset conversion)
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user PAVAN KUMAR
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user PAVAN KUMAR
About to export PAVAN KUMAR's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export PAVAN KUMAR's tables via Conventional Path ...
. . exporting table                      HIS_TABLE          0 rows exported
. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
. exporting indextypes
. exporting bitmap, functional and extensible indexes
. exporting posttables actions
. exporting materialized views
. exporting snapshot logs
. exporting job queues
. exporting refresh groups and children
. exporting dimensions
. exporting post-schema procedural objects and actions
. exporting statistics
Export terminated successfully without warnings.
ora10204>

Similar Messages

  • Jar and classpath with space in folder name?

    Hi, all.
    Just for fun: what if I have a jar file that is dependant on the other jar file which is placed in folder with space in its name? How would I link it in manifest file?
    Thanks.

    Havae you tried quoting the Class-Path value?

  • Mplayer can't play files with spaces in their name

    After scratching my head and reinstalling codecs several times without luck, and old memory resurfaced of this occuring before and I managed to solve the problem.
    The thing is that if you doubleclick a file in Nautilus, and said files has spaces in its name, mplayer won't be able to play it, and gives a very cryptic error message, ie "cannot play file a%20b.avi" if the name of the file is "a b.avi".
    The trick is mentioned in this thread -- you edit /usr/share/applications/mplayer.desktop and change 'Exec=gmplayer %U' to 'Exec=gmplayer %F'.
    The bug has been around forever, and hasn't been fixed yet. Perhaps the mplayer devs don't want to fix it. In any case, I would propose that either we fix this in the mplayer Arch package, or that someone more knowledgeable than I get in touch with the devs about it.
    Just a suggestion, but I think it's kind of important. It's really confusing to new users.

    In my opinion, it it's not arch's job to fix bugs from upstream, no matter if it's mplayer or gnome's fault. Of course there are exceptions, eg if a bug in a critical package hardlocks the whole system, or adds a huge security risk.
    I would like to belive that the general arch user is smart enough to find one of the 30 threads about this bug (or the entry on the bugtracker) and fix it themselves. Personaly I would put this in the same category as packages that don't have a .desktop file at all from upstream.
    Oh, and as a small sidenote: http://phraktured.net/patching-patching-patching.html

  • JRE Installation in directory having space in its name.

    Hi
    I have installed JRE in a directory say /proj/pmcfg/akostha/USM 0.5.15.2/jre1.3/
    when i cun java from /proj/pmcfg/akostha/test dir/jre1.3/bin directory..it says
    grep: can't open /proj/pmcfg/akostha/USM
    grep: can't open 0.5.15.2/jre1.3/bin/./../lib/jvm.cfg
    and when i run
    "/proj/pmcfg/akostha/USM 0.5.15.2/jre1.3/bin/java" from other directory
    it says
    Error: can't find libjava.so.
    what is the reason..If it is not recommended to install JRE in a directory having space in its name.
    or else what is the work around.I'm using SunOS5.6. Saprc
    Ajay

    I'm not sure about Solaris, and my proposal might also only work for some shells, but with bash under linux, you have to escape spaces that appear in file/diretory names, so instead of saying "my directory", you have to say "my\ directory" (without quotes).
    Or try maybe "my directory" (with quotes) - that would be teh M$ way to do it.

  • IWeb and uploading jpegs with spaces in their names

    I have created a site with about 100 jpegs that I wish to load up to a server other than ".Mac". Some jpegs have spaces in their names, so "Fetch" will not upload them. I deleted the spaces from their names and loaded the jpegs back into the site and saved and published to a folder. However, the resulting "Site"folder shows the jpegs still have spaces in their names, even though I removed them from the name of the jpeg. IWeb must be getting the name from some internal tag or something. For example, I had a jpeg called "Billie Holiday.jpg" I changed the name to "BillieH.jpg", but when I publish the site to a folder, the jpeg still shows up as "Billie Holiday.jpg" and therefore I cant upload it using "Fetch". Where is iWeb getting the names of the jpegs from, and how do I remove the spaces? Or, does anybody know of an application that can upload files (ftp) with spaces in their names?
    Thanks,
    Mitch

    However, the resulting
    "Site"folder shows the jpegs still have spaces in
    their names, even though I removed them from the name
    of the jpeg.
    Very strange. You might try renaming the site with Inspector to something else than Site and republishing, to guarantee you have a totally new set of files.
    Or, does
    anybody know of an application that can upload files
    (ftp) with spaces in their names?
    It's not the ftp program. You can't have spaces in file names on most web servers, they won't accept the files.

  • Using dbms_datapump package to export the schema with the schema name as pa

    Hi,
    I am using the pl/sql block to export schema using dbms_datapump package,Now I want to pass the scheme name as the parameter to the procedure and get the .dmp and .log files with the schema name included.
    CREATE OR REPLACE PROCEDURE export
    IS
    h1 number;
    begin
    h1 := dbms_datapump.open (operation => 'EXPORT', job_mode => 'SCHEMA', job_name => 'export1', version => 'COMPATIBLE');
    dbms_datapump.set_parallel(handle => h1, degree => 1);
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT.LOG', directory => 'DATA_PUMP_DIR', filetype => 3);
    dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
    dbms_datapump.metadata_filter(handle => h1, name => 'SCHEMA_EXPR', value => 'IN(''CHECKOUT'')');
    dbms_datapump.set_parameter(handle => h1, name => 'ESTIMATE', value => 'BLOCKS');
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT%U' || to_char(sysdate,'dd-mm-yyyy') || '.DMP', directory => 'DATA_PUMP_DIR', filetype => 1);
    dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
    dbms_datapump.set_parameter(handle => h1, name => 'DATA_ACCESS_METHOD', value => 'AUTOMATIC');
    dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
    dbms_datapump.detach (handle => h1);
    exception
    when others then
    raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
    end;
    Thank you in advanced
    Sri

    user12062360 wrote:
    Hi,
    I am using the pl/sql block to export schema using dbms_datapump package,Now I want to pass the scheme name as the parameter to the procedure and get the .dmp and .log files with the schema name included.
    OK, please proceed to do so
    >
    CREATE OR REPLACE PROCEDURE export
    IS
    h1 number;
    begin
    h1 := dbms_datapump.open (operation => 'EXPORT', job_mode => 'SCHEMA', job_name => 'export1', version => 'COMPATIBLE');
    dbms_datapump.set_parallel(handle => h1, degree => 1);
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT.LOG', directory => 'DATA_PUMP_DIR', filetype => 3);
    dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
    dbms_datapump.metadata_filter(handle => h1, name => 'SCHEMA_EXPR', value => 'IN(''CHECKOUT'')');
    dbms_datapump.set_parameter(handle => h1, name => 'ESTIMATE', value => 'BLOCKS');
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT%U' || to_char(sysdate,'dd-mm-yyyy') || '.DMP', directory => 'DATA_PUMP_DIR', filetype => 1);
    dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
    dbms_datapump.set_parameter(handle => h1, name => 'DATA_ACCESS_METHOD', value => 'AUTOMATIC');
    dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
    dbms_datapump.detach (handle => h1);
    exception
    when others then
    raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
    end;
    EXCEPTION handler is a bug waiting to happen.
    eliminate it entirely

  • How to export a table with a mixed case name using EXP untility

    i'm trying to export a table which has a name with mixed upper and lower case. The command i'm trying is
    exp USER/password TABLES=("MyTableName") FILE=ExportCNCS1.dat
    and does not work.
    Error:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    EXP-00011: USER.MYTABLENAME does not exist
    Export terminated successfully with warnings.
    I presume its saying the table doesnt exist because its looking for MYTABLENAME rather than MyTableName and doing this because its ignoring the double quotes. Any ideas?

    Or, let the export prompt you for the table name:
    C:\Temp>exp
    Export: Release 9.2.0.7.0 - Production on Mon Aug 14 11:33:28 2006
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Username: scott/tiger
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    Enter array fetch buffer size: 4096 >
    Export file: EXPDAT.DMP >
    (2)U(sers), or (3)T(ables): (2)U > T
    Export table data (yes/no): yes >
    Compress extents (yes/no): yes > no
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    Table(T) or Partition(T:P) to be exported: (RETURN to quit) > MyTableName
    EXP-00011: SCOTT.MYTABLENAME does not exist
    Table(T) or Partition(T:P) to be exported: (RETURN to quit) > "MyTableName"
    . . exporting table                    MyTableName         14 rows exported
    Table(T) or Partition(T:P) to be exported: (RETURN to quit) >
    Export terminated successfully with warnings.
    C:\Temp>

  • MS Access DB with Spaces in Column Name

    Good Afternoon-
    I'm having some serious headaches with a table that I need to extract information from. The powers that be wrote it with the following column names "Contract Number" , "Customer Number", "Description".
    Note the spaces in the columns.
    Sample code from here: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=2691&lngWId=2
    I'm using sample code for connecting to the database and I can access everything using the select statements, except if the column contains a space. I get the following errors:
    s.execute("select [Customer Number], Name from Customer");
    Error: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
    s.execute("select \"Customer Number\", Name from Customer");
    Error: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
    s.execute("select Customer*Number, Name from Customer");
    Error: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2.
    s.execute("select 'Customer Number' , Name from Customer");
    Data from column_name: Customer Number , Unknown
    This works, but would require parsing-
    s.execute("select * from Customer");
    Data from column_name: 5 , Unknown
    Suggestions would be truly appreciated.
    Jason

    "select [Customer Number] , Name from Customer " ;
    returned the correct responses.Double quoted identifiers, which is part of ANSI SQL should have solved it....
    "select \"Customer Number\" , Name from Customer " ;
    As mentioned above it has certainly been my experience that DBAs (those with that title) all insist that quoted identifiers should never be used. Thus refactoring the database identifiers is actually the correct solution.

  • Libproxy.so eat out the last past of my request with space in the name

    Hi,
    I used the following 2 configurations:
    1. Solaris: iPlanet Web Server WebLogic 6.1
    2. W2000: IIS WebLogic 6.1
    Both of the web server just work as a gateway. All static and dynamic pages (images, JavaScript file, CSS file) are served by the WebLogic Server. (This sounds a little bit wierd. So we dropped this kind of configuration already.)
    I configured both the Web server to forward all requests with "*/portal/*" to WebLogic server. It works fine except the requests with space inside. For example:
    http://localhost:8080/portal/abc def.html
    (I encode space to when I type it in browser).
    And I got a 404 error. (The file is really there.) And I checked both web server's access log, I saw the request for "abc def.html", but when I checked WebLogic's access log, I saw the request for "abc". So I think Weblogic's proxy eats out the last part of my request: "def.html". Of course, WebLogic server could not find a file called "abc" in that directory.
    And finally, in order to test my observation, I created a file called "abc" in that directory. And then the browser shows the content of the file "abc".
    Does anyone see this kind of problem before? I think this is a bug in weblogic's proxy program.

    Hi.
    Are you seeing this in both configurations (ie both iPlanet and IIS)?
    Does the problem go away entirely when you hit the servers directly (ie iPlanet and IIS aren't involved)?
    Are you running any service packs? You should be using service pack 2. If you are not please upgrade and use the plugin from this latest service pack.
    Regards,
    Michael
    Xin Liu wrote:
    Hi,
    I used the following 2 configurations:
    1. Solaris: iPlanet Web Server WebLogic 6.1
    2. W2000: IIS WebLogic 6.1
    Both of the web server just work as a gateway. All static and dynamic pages (images, JavaScript file, CSS file) are served by the WebLogic Server. (This sounds a little bit wierd. So we dropped this kind of configuration already.)
    I configured both the Web server to forward all requests with "*/portal/*" to WebLogic server. It works fine except the requests with space inside. For example:
    http://localhost:8080/portal/abc def.html
    (I encode space to when I type it in browser).
    And I got a 404 error. (The file is really there.) And I checked both web server's access log, I saw the request for "abc def.html", but when I checked WebLogic's access log, I saw the request for "abc". So I think Weblogic's proxy eats out the last part of my request: "def.html". Of course, WebLogic server could not find a file called "abc" in that directory.
    And finally, in order to test my observation, I created a file called "abc" in that directory. And then the browser shows the content of the file "abc".
    Does anyone see this kind of problem before? I think this is a bug in weblogic's proxy program.--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • SYMLINK won't work with space in folder name

    Using Terminal commands, I can create a SYMLINK for OS folder if there is no space in folder name, such as -
    sudo rm -rf  ~/Library/Mail/
    ln -s /Volumes/Mr._Mac/Mail/ ~/Library/Mail
    But if there is a space in the OS folder name, commands won't work, such as -
    sudo rm -rf  ~/Library/Application Support/AddressBook/
    ln -s /Volumes/Mr._Mac/AddressBook/ ~/Library/Application Support/AddressBook
    Terminal returns the following message -
    ln: Support/AddressBook: No such file or directory
    Is there some sort of symbol that needs to be used instead of a space so that Terminal reads the folder name as one word?
    I've tried % which is used for HTML, but that doesn't work.

    Put the entire path in single quotes or put a \ before each space. If you drag a file or folder from the Finder, it'll automatically supply the correct path.
    (77913)

  • LibreOffice can't open files with spaces in the name

    Hi, so I recently installed LibreOffice (from extra) over go-OO. I know the site says it's not for production use but I have heard good things about the stability of the current version so I decided to see if it was in a usable state. In general things are going great, but I do have the problem mentioned in the thread title. The program has trouble parsing the spaces, and instead I am trying to open each space-delimited section of the filename as a separate file. Trying to open "My File.odt", for example, will simply return two error messages, one about "path/to/current/directory/My" not existing, and another about "path/to/current/directory/File.odt" not existing. I can't seem to get around this behaviour and, surprisingly, I can't find anything on it by Googling.
    I know that LO is in beta and this may just be a bug that is being worked on, but since I can only find one reference to it on the net I thought that maybe others were not having this problem or had found a way around it.  Can anyone provide any insight? Cheers!

    vimex wrote:
    comment these lines in /usr/lib/ooo-3.3/program/soffice
    the $* has some problem, but I do not know how to correct this...
    # Setup our app as oosplash, but try to avoid executing pagein,
    # and other expensive environment setup pieces wherever possible
    # for a second started office
    #if [ "$sd_binary" = "soffice.bin" -a -x "$sd_prog/oosplash.bin" ] && [ "$no_oosplash" != "y" ] ; then
    #    sd_binary="oosplash.bin"
    #    export QSTART_CHECK_ONLY=1
    #    if "$sd_prog/$sd_binary" $*; then
    #   exit 0
    #    fi
    #    unset QSTART_CHECK_ONLY
    #fi
    I noticed that commenting out that code allows LibreOffice to open spaced filenames, but seems to slightly increase startup time.
    I tried replacing $* with "$*", and opening from the command line seems to work even for files with spaced names, with the faster startup time too. The only problem is that now LO does not work at all by clicking; only from command line.

  • EasyVPN with space in Group name on 837

    Hi (me again)
    I have the 837 with EasyVPN remote configured to my work (a Cisco 3000). The problem is that our group name has two spaces in it :format 'ab cde fghij' and while this works fine in the Cisco VPN client software and from my linux box (vpnc), the cisco router will not accept it. (due to the space in the group name). Is there a way to add a group name containing spaces? I have tried all my esc codes and such like, but none work :(
    I have asked the cisco peep at work to set up a new group and she will, but she is having her baby any day now and doesnt really have a lot of time so I figured; if anyone knows The Cisco crew will! :)
    any ideas? (all this cos I am wanting to move to my Vista64bit platform now that everything else works on it, appart of course from the Cisco VPN Client (even V5.00.340)
    Heres hoping - Rachel in Gibraltar
    (slowing becomming a cisco-gal...)

    I don't think its is possible to have group names containing spaces for a router. I think you will need to configure a new group for connecting VPN clients.

  • How move file with space in the name to another foler on Linux from ABAP?

    Hi experts,
    My requirement is to move the file on Linux to another folder via ABAP program.
    IN SM49 is defined ZMOVE command for "mv" operating system command. In ABAP, fm:
    SXPG_COMMAND_EXECUTE calls ZMOVE external command to move the file to another folder.
    But in case that file has space in the file name, then the fm gives error and the file can not be moved.
    I have tried as given in the Note 1152084 - Parameter for external commands but it doesn't work.
    Don't know if the reason is that the note is for Windows or Unix and we have Linux.
    So, I have tried with ''%file name%' and '''file name'''.
    PLease advice hoe to move file on Linux to another folder from ABAP program if the file has spec in the name.
    Thanks in advance.
    Kind regards,
    Danijela Zivanovic

    Hi,
    You can also try :
    mv "file\ name" /<path_to_new_dir>
    (Put "\" before each space)
    Regards.
    Rajesh Narkhede

  • RMAN having trouble with spaces in file names.

    Hi,
    RMAN is complaining if cmdfile and log file names have space in them (even if they are quoted). This test is done on windows with 10g.
    cmd> rman target / cmdfile rcmd.txt
    This works fine. However,
    cmd> rman target / cmdfile "E:\test dir\rcmd.txt"
    complains about syntax. Something like:
    Argument Value Description
    target quoted-string connect-string for target database
    catalog quoted-string connect-string for recovery catalog
    nocatalog none if specified, then no recovery catalog
    cmdfile quoted-string name of input command file
    log quoted-string name of output message log file
    trace quoted-string name of output debugging message log file
    append none if specified, log is opened in append mode
    debug optional-args activate debugging
    msgno none show RMAN-nnnn prefix for all messages
    send quoted-string send a command to the media manager
    pipe string building block for pipe names
    timeout integer number of seconds to wait for pipe input
    checksyntax none check the command file for syntax errors
    Both single and double quotes (' or ") are accepted for a quoted-string.
    Quotes are not required unless the string contains embedded white-space.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00552: syntax error in command line arguments
    RMAN-01009: syntax error: found "identifier": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"
    RMAN-01008: the bad identifier was: dir
    RMAN-01007: at line 0 column 10 file: command line arguments
    Am I missing something here? Any help is greatly appreciated.
    Thanks,
    Raghu.

    I got response from oracle support folks on this. Looks like two levels of quotes are required to make it work.
    Something like:
    cmd> rman target / cmdfile "'E:\test dir\rcmd.txt'"

  • Automator "Connect to Server" doesn't work with spaces in volume name

    I'm trying to use an old Automator Workflow I had set up in Snow Leopard that connected to a list of specified server mounts (both Windows smb:// and Apple afp://). It works fine for most of them, until it hits a mount point that has a space in it, where it fails. Looking at the debug area it looks like it's trying to connect to "smb://Server/Example%20Name" instead of "smb://Server/Example Name" and failing. Yet, when I use the "Connect to Server…" functionality in Finder, the same URL works just fine. Is there any syntax that will make this work correctly in Automator?

    As I said I never used this before Lion and I don;t have any smb shares to test on but this is what I've found which may be of help:
    The following workflow connects to my MB from an iMac:
    Notice that the MB name is administrator's MacBook with a space and an apostrophe. Notice the %chars for the space and the apos so I don't think that the %20 for the space in your case is causing the problem.
    When I tried this by entering afp://administrator's MacBook it failed. The error message showed the special chars converted as in the url that worked what was missing was the everything after the _ in the name.
    When I did a connect to server in the Finder and selected Recent servers from the pull down and selected administrator's MacBook the url in the action above was shown. I copied the url from the server address line and pasted into the Automater action.
    This might be of some help in your case at least it might show if the %20 is really causing the problem.
    regards

Maybe you are looking for