Export/Import utility: unusual schema and table names

Hi, I am working on the correct TABLE, SCHEMA.TABLE and SCHEMA names validation.
Unfortunately, I didn't find good examples in documentation and therefore turn to the forum.
Example: I have "My User" schema and "My Table" table and SCOTT with "scott table".
Export:
If I connect as My User (using client 10), I have to write
TABLES=('"my table"', 'SCOTT."scott table"')
If I connect as My User, (client 9 and older?) I have to write
TABLES=('"My Table"', '"SCOTT.scott table"')
Am I wright? It seems to work.
==The first question:
Does the quoting method depends on the client version?
I mean, '"SCOTT.scott table"' works on 9 but 'SCOTT."scott table"' works on 10.
==
Further, If I connect as SCOTT, (client 10), I write
TABLES=('"My User"."My Table"', 'SCOTT."scott table"')
It seems to work.
If I connect as SCOTT, (client 9 and older?), neither
TABLES=('"My User"."My Table"', 'SCOTT."scott table"')
nor
TABLES=('"My User.My Table"', '"SCOTT.scott table"')
doesn't work!
== The second question:
How should I write "My User"."My Table" on the 9 client?
Import:
I don't know how to make import to "My User".
FULL=Y
TOUSER='"my user"'
# and
#TOUSER="my user"
doesn't work. The same with USER mode and TABLE mode import.
Thanks to everyone who can help.

I'm not sure how you would have been able to create a user with the user name 'my user' since gaps in the username are not allowed.
Generally, Oracle isn't case sensitive, so the fact that 'my user' gets converted to 'MY USER' isn't a problem - infact, oracle will always present usernames in UPPER CASE unless you explicitly use the LOWER() function when selecting them from the dba_users table.
So anyway, I think that the steps you need are:
(from SQL*Plus, logged in a as a DBA user e.g. sys or system)
create user MY_USER
identified by apassword;
grant connect, resource to my_user;
Then, from the operating system command line:
imp my_user/apassword@connect_string file=dump_filename.dmp FROMUSER=scott TOUSER=my_user;
that should work.....
R

Similar Messages

  • JDBC Schema and Table Names Reversed

    Hi,
    We're currently evaluating CR4E but are unable to successfully run/preview any reports.
    We have successfully created a JDBC  connection using the generic JDBC driver. We are connecting to an Ingres database. The connection is successful and we can browse databases/schemas/tables with no problem. The problem is with the SQL that the reporting engine is generating.
    A simple example:
    SELECT "currency"."description" FROM   "currency"."john" "currency"
    In this statement, "currency" is actually the table and "john" is the schema name.
    The query should read:
    SELECT "currency"."description" FROM   "john"."currency" "currency"
    Help would be appreciated as we're completely stuck.
    Many thanks,
    Darran Smith

    Hi Tej,
    Thanks for clarifying the issue on the JRC.
    Executing:
    SELECT "price_type"."currency", "price_type"."description" FROM   "price_type"."john" "price_type"
    against the DB results in "Table 'john' does not exist or is not owned by you" as expected.
    Executing
    SELECT "price_type"."currency", "price_type"."description" FROM   "john"."price_type" "price_type"
    against the DB works just fine.
    I amended my code to simply call:
    CRJavaHelper.changeDataSource(reportClientDocument, userName, password, connectString, driverName, JNDIName);
    and changed the CRJavaHelper.java file around line 145 that originally reads:
    newTable.setQualifiedName (origTable.getAlias ());
    I tried setting the qualified name to various different things:
    "price_type"
    "john.price_type"
    "otherSchema.price_type"
    None of these worked, but they did produce different things in the JDBC trace log. I've uploaded the JDBC log file to showing what happens with either "price_type" or "john.price_type":
    [http://www.romofabrics.com/iijdbc.txt|http://www.romofabrics.com/iijdbc.txt]
    As you can see, everything looks OK (including the schema and table name) until the very final select statement is created.
    When you say that generic JDBC is supported, is that what I'm effectively using?
    Cheers,
    Darran

  • New User Database schema and table name

    When i create a new user in Oracle Webcenter Spaces 11g, I am not able to get the name of the database schema and table, where it is stored. Any insight on this will be very helpful.

    WebCenter (and WebCenter spaces) uses an 'identity store' instead of database schema for storing user information - in an 'out of the box' installation, users are maintained through an embedded WebLogic LDAP store.
    See the Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter, p. 34-2.
    At the end of section 34.4.1:
    WebCenter Spaces supports self-registration. When new WebCenter users
    self-register, they create their own login and password and a new user account is
    created in the identity store. See also, Section 34.4, "Allowing Self-Registration".
    user9097357 wrote:
    When i create a new user in Oracle Webcenter Spaces 11g, I am not able to get the name of the database schema and table, where it is stored. Any insight on this will be very helpful.

  • Need to know schema and table name

    Hi folks,
    I need to know the schema name and the table name associated with a column. Though jdbc has the api to getTableName and getSchemaName, some database vendor like oracle does return empty upon call of mentioned methods. I found that oracle driver does not support that ��
    Can any one give me the solution? It is urgent. Or do you suggest any third pary jdbc driver which can provide those?
    Thanks
    Angelina

    hi,
    does not work for me.
    more pls
    --thanks                                                                                                                                                                                                                   

  • 10g export/import utility

    Hi,
    I imported a couple of tables using the export and import utilities. Here is a break down of the process.
    -Exported SH schema as SH.
    -Created a new user 'HT' as sys, granted it resource and connect roles.
    -Ran import utility as HT and imported only 2 tables (sales & products) from the schema export .dmp file.
    -The import runs successfully, saying the tables have been imported.
    -I run a select against user_tables as HT to find the imported tables, which returns no rows selected.
    Why is this?

    Hello,
    How did you exported the tables?
    If you are cloing the entire schema and using conventional export/import utility then do following
    exp system/manager owner=userA file=userA.dmp log=userAexport.log
    imp system/managet fromUser=userA toUser=userB file=userA.dmp log=userBimport.logAnd if you are importing just couple of tables then do following
    exp username/password tables=table1,table2 file=tables.dmp log=tableexport.log
    imp username/password tables=table1,table2 file=tables.dmp log=tableimport.log rows=Y ignore=Y
    #With tables (make sure table doesn't exists in target schema).
    imp username/password tables=table1,table2 file=tables.dmp log=tableimport.log YOu can also use datapump but it has different options and I recommend you should refer to oracle documenation for using datapump.
    Regards
    Edited by: OrionNet on May 25, 2009 2:27 PM

  • Cost Component structure field and table names

    Hey all,
    i need to code a BADI to push value of one column in cost component structure to another column in ccs for only order settlements..
    any idea how to do this??
    i am very new to abap please take it easy on ur answer..
    i coulndt even find in which table and fields these values are stored...
    thank you

    I have an OSS note, it tells you step by step how to config the badi u need.. but does not mention about the logic u ll use.. it is up to you....
    so i need to find the field names and tell take these and post them to these columns...
    i dont know if i make any sence, but this is all i need to do...
    so i have the body i have the logic but i dunno the import and export fields...
    i believe the table is ckmlkeph.... and field that populate the columns are kst0XX, but i cannot see the field name and table name if i select a line in the column and F1 ????

  • How to Find what are tables and "Table Name" in particular "Data File"

    hi Team,
    I have one database that database 300 gb size , this database having 6 ndf files ,
    here How to Find  what are the tables and  "Table Name"  in particular "Data File"[.ndf]

    Hi,
    In addition to Prashanth’s suggestion, you can also use the following Transact-SQL statements to get more detailed information including  all objects and indexes per Filegroup / Partition and allocated data size of databases.
    The script can work with Microsoft SQL Server 2005 and higher version in all Editions. For more details, please review this article:
    List all Objects and Indexes per Filegroup / Partition.
    -- List all Objects and Indexes
    -- per Filegroup / Partition and Allocation Type
    -- including the allocated data size
    SELECT DS.name AS DataSpaceName
    ,AU.type_desc AS AllocationDesc
    ,AU.total_pages / 128 AS TotalSizeMB
    ,AU.used_pages / 128 AS UsedSizeMB
    ,AU.data_pages / 128 AS DataSizeMB
    ,SCH.name AS SchemaName
    ,OBJ.type_desc AS ObjectType
    ,OBJ.name AS ObjectName
    ,IDX.type_desc AS IndexType
    ,IDX.name AS IndexName
    FROM sys.data_spaces AS DS
    INNER JOIN sys.allocation_units AS AU
    ON DS.data_space_id = AU.data_space_id
    INNER JOIN sys.partitions AS PA
    ON (AU.type IN (1, 3)
    AND AU.container_id = PA.hobt_id)
    OR
    (AU.type = 2
    AND AU.container_id = PA.partition_id)
    INNER JOIN sys.objects AS OBJ
    ON PA.object_id = OBJ.object_id
    INNER JOIN sys.schemas AS SCH
    ON OBJ.schema_id = SCH.schema_id
    LEFT JOIN sys.indexes AS IDX
    ON PA.object_id = IDX.object_id
    AND PA.index_id = IDX.index_id
    WHERE OBJ.type_desc='USER_TABLE'-- add this WHERE clause to display the information of user tables
    ORDER BY DS.name
    ,SCH.name
    ,OBJ.name
    ,IDX.name
    Thanks,
    Lydia Zhang

  • Obtaining qualifier and table name in describe

    Determining qualifier and table name in describe
    Is there a way in OCIParamGet() on a statement handle/OCIAttrGet() sequence to determine the qualifier and table name?
    Otherwise, how can I get this information?
    When doing a join and listing the columns, we would like to be able to list qual.table name, followed by the columns associated with that table.

    If not with the parameter attributes (whic I haven't checked) you can always use the DescribeAny() to get the information.
    If you need I can get you a fairly complete sample for DescribeAny() which demonstrates describing just about every type of schema item.
    Drop me a line if you want it [email protected]

  • Problem with the Export/Import Utility when importing a .portal file

    Hi there !
    I got the following error when trying to import a .portal file to a desktop by using the Export/Import Utility.
    <13-11-2009 12:13:26 PM CLST> <Error> <netuix> <BEA-423487> <Import: did not add navigable [2203] as it would cause an illegal dependency.>
    The error is shown several times, starting from the number [2203] until [2285].
    It causes that i can't see some pages of my portal... it's like they dont exist.
    I Hope you can help me fix it, because i have not found any information about it.
    Best regards
    P.D.: I am using the BEA Weblogic 10.0.1 version.
    Edited by: user12231353 on 16-nov-2009 12:38

    I upgraded to cs6 and imported all the images together, I made them 3 frames per and exported them. The problem is slightly improved but still there. I'm still getting flicker.
    Check it out: http://www.youtube.com/watch?v=g_yZjskzTLs
    Black screen version from yesterday if you want to look at it: http://www.youtube.com/watch?v=NCcAEO8YU6Y
    The problem has to be with my settings. when I upgraded it deleted all my prefrences and settings. There was no dslr preset either so I had to redo it all from  scratch to the best of my ability. Here is a complete rundown of my settings:
    I shoot with a canon dslr 60D in 24fps and upload all my stuff in 1080p. Please advice.

  • Move our Existing Database 8.1.7.3 into 10gR2 through Export Import Utility

    Hi,
    I want to move our Existing Database 8.1.7.3 into 10gR2 through Export Import Utility in Oracle EBS (FINANCILA) environment.
    My Current Setup:
    OS: SUN SPARC 8
    ORACLE APPS: 11.5.7
    DB Version: 8.1.7.3
    My New Setup:
    OS: SUN SPARC 10
    ORACLE APPS: R12
    DB Version: 10gR2
    I have successfully created Upgraded file R12 file system and installed R12 tech stack.
    Now we want to move data from Current to New Setup by using Export/Import utility.
    Please suggest me steps or meta link note .
    Thanks
    Anup

    What shoul be better for my case:
    Upgrade Paths :
    E-Business Suite Releases Available Paths
    11.5.8 with 9.2.0.x database Path A
    11.5.9 (base or CU1) with 9.2.0.x or 10.1.0.x database Path A
    11.5.9 CU2 with 9.2.0.x or 10.1.0.x database Path A or Path C
    11.5.9 CU2 with 10.2.0.2 database Path D
    11.5.9 CU2 with 10.2.0.3 database Path E
    11.5.9 CU2 with 10.2.0.4 database Path B
    11.5.10 (base or CU1) with 9.2.0.x or 10.1.0.x database Path A
    11.5.10.2 with 9.2.0.x or 10.1.0.x database Path A or Path C
    11.5.10.2 with 10.2.0.2 database Path D
    11.5.10.2 with 10.2.0.3 database Path E
    11.5.10.2 with 10.2.0.4 database Path B
    Regards
    Anup

  • View Owner and table name of public synonym

    A schema user has created a public synonym of a table to another user, say U1.
    How could U1 view all the details of the public synonyms, such as a list of all the public synonyms, and the corresponding owner and table names?

    select synonym_name
           , table_owner
           , table_name
    from all_synonyms
    where owner = 'PUBLIC'
    order by 2, 3
    /Be warned that this is likely to be a very long list, so you might want to also filter on
    and table_owner not ('SYS', 'SYSTEM')or similar.
    Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • Is XS Project right for Database Schema and tables

    Hi Friends
    1.As per OpenSAP video it is suggesting to use XS Project for Database objects.
    In my case I am planning to do AO Reporting and not creating any UI , is XS project still the right project type.
    There is an option for General ->Project - would that be the right one.
    2. Also in my UI I am not able to see the Prefrences->SAP Hana Development ->Repository Access to set the regit.exe. I did see couple of post mentioned about it but the response was not very clear , hence asking the question again.
    regards
    Poonam

    Hi Poonam,
    Poonam Hemrajani wrote:
    1.As per OpenSAP video it is suggesting to use XS Project for Database objects.
    In my case I am planning to do AO Reporting and not creating any UI , is XS project still the right project type.
    There is an option for General ->Project - would that be the right one.
    Project is used to group all the required development artifacts and the libraries required for them. So based on your requirement you can choose. I think "General" project would suffice your requirement if it is only to create schemas and tables.
    But on the other hand if you choose to build an application using XS related libraries you can either choose to import those libraries later or create using a XS project now.
    Will wait along with you to see  Thomas Jung comments on this.
    Poonam Hemrajani wrote:
    2. Also in my UI I am not able to see the Prefrences->SAP Hana Development ->Repository Access to set the regit.exe. I did see couple of post mentioned about it but the response was not very clear , hence asking the question again.
    Firstly from SP7, it is not required to setup regi.exe file. This file resides in hdbclient folder. So you need to check where you have installed hdbclient to see if you have that regi.exe file and configure it accordingly in the Path ( Preferences --> SAP HANA Development --> Repository Access ) you mentioned.
    Regards,
    Krishna Tangudu

  • Export/import utility from within apex

    Hi Friends,
    With my knowledge in oracle forms the export/import utility can be called from within a form in runtime
    using a push button.But how can i achieve this using a similar button in the oracle apex.
    Pls give me a helping hand.Thanks.
    regards,
    kehinde

    Hello:
    The Oracle Data Pump utility is now the preferred tool to use to import and export data and metadata from an Oracle database. Oracle Data Pump provides capabilities that far exceed those provided by the older imp/exp programs. Further, in addition to command line invocation of the tool, Oracle Data Pump has a set of pl/sql APIs (DBMS_DATAPUMP) that will let you do import and exports from pl/sql. You can therefore easily set up an APEX page that will accept a bunch of parameters and execute the appropriate procedures within DBMS_DATAPUMP to do the export/import.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_api.htm#i1008009
    Varad

  • Field  and Table name for purchaser

    I want to know the field and table name for purchaser id and purchaser name.
    Plz help me.

    Dear
    Purchaser name are define in Header level data in Purchase Order EKKO & Purchase ID define as a Purchasing Group
    Purchser Name EKKO-ERNAM
    Purchase I D  EKKO-EKGRP
    Regards
    Aamir

  • Field NAme and Table Name

    Hi All,
    I got some output values from the legacy system with me but need to know whats the actual field name and table name to which i need to transfer these values. How can i do it, since which theres is not field name or despcription given for the data.
    Is there any way i can do it.
    Points will be rewarded for all useful answers.
    Regards
    AB

    if you know the transaction code you use to post the uploaded data in SAP, you just need to do BDC recording in using transation SM35. Record the whole process and create a program from the recording... and you wont even need to know the tables and field names-- almost everything will be done for you....
    All you need to do is replace record data with upload data.
    You can also try to look for a standard Function Module / BAPI which can do the processing for you and provide it with a table containing the upload data ...
    Reward points if useful

Maybe you are looking for

  • Where can i find Win8 graphic drivers for Qosmio X870-BT2G23?

    Hello, I brought the new Qosmio X870. It comes with Seagate Mumentos XT 750GB hybrid drive, I have installed Intel 120GB SSD on the free slot and 1st surprise no option for RAID on BIOS. As top of the line gaming machine this option should be availab

  • Want to return macbook

    i want to return my macbook and get a macbook pro but ive had it for 3 months and i have the protection plan. can i return it after this long?

  • Private Reuse and Query views in HANA

    When you create custom views (models) how would you classify as private, reuse and Query views? In SAP provided views they classified the views into Private, reuse and query views.. we would like to categorize our views in the same way. Take a look a

  • Need to recover Tungsten C files.

    I have a Tungsten C which stopped working over a year ago.  The battery died, and I have not replaced it.  I continued using the palm desktop on my laptop with Vista.  The Vista laptop stopped functioning when I installed Service Pack 1.  Since the P

  • Output in bapi

    hi all. sorry i got one small doubt is here in my scenario  i have to send data from 2 diferent file snders to one bapi. i developed the interface in xi and its working  so i need to check the table in bapi and iam having acess too to check that bapi