Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL SERVER 2005 IMPORT AND EXPORT DATABASEES Expand / Collapse
Author
Message
Posted Wednesday, December 12, 2007 12:46 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Tuesday, February 26, 2008 12:27 AM
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
Post #432160
Posted Friday, December 14, 2007 10:42 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Wednesday, August 20, 2014 10:35 AM
Points: 2,278, Visits: 3,056
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
Post #433486
Posted Saturday, December 15, 2007 7:09 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Tuesday, February 26, 2008 12:27 AM
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
Post #433664
Posted Saturday, December 15, 2007 8:14 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Wednesday, August 20, 2014 10:35 AM
Points: 2,278, Visits: 3,056
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
Post #433718
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse