Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL SERVER 2005 IMPORT AND EXPORT DATABASEES


SQL SERVER 2005 IMPORT AND EXPORT DATABASEES

Author
Message
massawa
massawa
Valued Member
Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)

Group: General Forum Members
Points: 50 Visits: 115
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
Adam Haines
Adam Haines
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2324 Visits: 3135
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



My blog: http://jahaines.blogspot.com
massawa
massawa
Valued Member
Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)

Group: General Forum Members
Points: 50 Visits: 115
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
Adam Haines
Adam Haines
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2324 Visits: 3135
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.



My blog: http://jahaines.blogspot.com
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search