SQL SERVER 2005 IMPORT AND EXPORT DATABASEES

  • Hello, guys how are you doing?

    some times if there is new information needs to update tables, and designs from temporary data to permanent data, it is very easy and few steps in SQL SERVER 2000.

    example:- * After i have changed any new updates in the tables of Temporary data ( temp Accounting),

    - right click on the Temp ACC, All tasks, SQL generate script, in the screen, show all tables, options, under table scripting, check the box of script primary keys, foreign keys......... and also check the box of script indexes, general then preview. now script in progress. finally copy the scripts and click ok. then close, go to tools, Query Analyzer and paste then execute Query. finished.

    * the 2nd thing is EXPORT permanent Accounting data to temporary data. and after i have exported, backup temporary data and restore the Permanent Accounting data with the temp backed up data.

    - pointing the permanent data, tall tasks, export, next, select where to export the data from the combo box,( temp data), next,next,next, select all tables, remove all views, next next finish.

    SO, MY QUESTION IS HOW CAN I FIND THIS KIND OF UPDATING TABLE FROM SQL SERVER 2005 ( MANAGEMENT STUDIO) BECAUSE I HAVE TRIED AND I COULD NOT DO IT. I MEAN IT IS SO COMPLICATED.

    SO, PLEASE GUYS I NEED YOUR HELP?

    THANK YOU VERY MUCH

  • Right click on the table --> script as --> create to ...

    Right click on the database --> tasks --> export data --> follow the wizard

    You can also directly insert data into tables with: (if the columns are different you will have to specify the columns in the insert statement ex INSERT INTO TABLE_NAME (COL1, COL2).

    INSERT INTO TABLE_NAME

    SELECT * FROM TABLE_NAME

  • thank you very much Sir. i appreciate but the problem is i am not familiar with SQL server 2005, just a new beginner and what i wanna say is if it is possible, could you show me step be step like what i did?

    thanks

  • Right click on the table --> script as --> create to --> file

    This creates the table with the keys and indexs etc.

    Right click on the database --> tasks --> export data --> follow the wizard

    There are only three main screens for the wizard. In the first screen you choose the source (the database where the table you want to export is), the second screen you choose the destination (the database where the table you want to import the data), and the third screen is the mapping of the columns. After you have set all the mappings, keep hitting next until finished.

Viewing 4 posts - 1 through 3 (of 3 total)

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