Very basic data import question

  • Hi,

    When I do data import using Enterprise manager and choose the option "Copy table(s) and View(s) from source database", Am I telling Sql Server to convert the views from the source database to tables in the destination database ?

    Thanks

    Dinuj


    Thanks and Regards,

    Dinuj Nath

  • No.  Using this option transfers the object(s) between server(s) or database(s).  SQL does NOT convert from 1 object type to the other.



    Good Hunting!

    AJ Ahrens


    webmaster@kritter.net

  • Yes Dinuj, Using this option "Copy table(s) and View(s) from source database", the views in the source database get created as tables in the destination database.

    Regards

    Meghana


    Regards,

    Meghana

  • Thanks AJ,

    But this is exactly what happened. The view returns about 8000000 records and while importing with the options described in my post the view got converted to table.

    I don't know what's happening. I am not a DBA and I have limited knowledge of admin.


    Thanks and Regards,

    Dinuj Nath

  • Dinuj

    If you want the view in the source to be created as a view in destination db , use the option

    "copy objects and data between SQL servers" instead of the option

    "Copy table(s) and View(s) from source database"

    this will solve your problem.

     

    Regards

    Meghana

     

     

     


    Regards,

    Meghana

  • Thank you all


    Thanks and Regards,

    Dinuj Nath

  • This is the reason I start my day with sqlservercentral.com even before my ritualistic cup of tea...

    I haven't had occasion to use import (for views)...so this is definitely a noteworthy point to keep in mind if I ever do need to use it...







    **ASCII stupid question, get a stupid ANSI !!!**

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply