Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: import schemas #14151
    Enno
    Member
    Ritesh wrote on Apr 26 2003, 12:14 PM:
    Hello

    When you try to Import data from Oracle ( or for the matter any Database )…. SQLyog will allow you to select all ( or individual ) tables.

    This you will get in the Select Tables… page of the wizard  🙂 Select the tables which you want to import and press Next and Finish[/B. Thats it  🙂

    If you are still facing any problem, then upload the screenshots of various pages of the wizard. Probably, I will be able to help you more on the subject  🙂

    HTH

    Hi,

    I will try to explain what I mean with a few screen dumps (but that will make this post somewhat big).

    First I will show you two screen dumps made of the Toad tool showing two different schemas (AIMS and AQUIRE) both holding a table with the same name (ARRAY_TYPE), and both tables have a column with the same name (ARRAY_TYPE). The files are called aims1.gif and aims2.gif.

    Next I will show you 4 screen dumps of the SQLyog ODBC import wizard. I logon to the odbc dsn using the user id and password for the AIMS schema, select a table to import, ARRAY_TYPE (aims-yog1.gif), and click on the transform button which shows me the next two screen dumps (aims-yog2.gif and aims-yog3.gif) which shows the colums for the table ARRAY_TYPE from both the schemas AIMS and AQUIRE (and not just from the AIMS schema). When clicking on the 'Edit SQL' button, one can see why the problem occurs, that is, the sql is trying to create a table with two columns of the same name, ARRAY_TYPE (aims-yog4.gif).

    So I think that SQLyog does not take the various different schemas/owners into account when building the 'select table' list/grid. I have a final Toad screendump (aims3.gif) which shows a view of the same database for the user 'sys'. It shows all the table columns for my database for a table called ARRAY_TYPE, and here I see the exact same list as I see on the 'Column Mapping and Transformation' screen of the odbc import wizard. Only the first column shows the schema/owner of the table.

    I hope this clearifies thins a bit.

    So my questions remain: Am I doing something wrong ? Did I forget to set some option ? Is the ODBC wizard capable of importing multiple schemas ?

    Best regards,

    Enno.

    p.s. I put the screendumps in a word document. I don't know how to add multiple gifs to this text 🙁

    in reply to: import schemas #14149
    Enno
    Member
    Ritesh wrote on Apr 25 2003, 05:34 PM:
    Hello

    Can you put your question from MySQL point of view?

    I am not very clear about what you mean by My Oracle db has multiple schemas

    HTH

    Hi,

    I don't know if I can. I'm a novice on databases.

    But as I understand it, a schema is a collection of logical database objects, such as tables, views, etc. My oracle db has a number of schemas, and some of them look at the same table. I think it works something like this:

    Table T1

    Field F1

    Field F2

    Field F3

    Schema S1

    Table T1

    Field F1

    Field F2

    Schema S2

    Table T1

    Field F1

    Field F3

    Now when I run the ODBC wizard and try to import Table T1, The grid shows me

    Table T1

    Field F1

    Field F2

    Field F1

    Field F3

    The wizard allows me to disable the import of the second Field F1, but then I have to manually import all tables separately, and check for duplicate fields, iso doing the whole db 'in a flash' 🙂

    Does this make it any clearer ?

    Enno.

Viewing 2 posts - 1 through 2 (of 2 total)