![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to move meta data between two copies of the same database running on different machines. I do most of my work on one machine, but sometimes have to work on a slow laptop. If I need to migrate metadata (updated or new Stored Procedures and tables) from one machine to my laptop, or back, is there a way I can automate the process? Is there some way to say: hey sync this stored procedure definition in one instance of SQL server with that in another instance? Another way of asking the same question, but in more specific terms, is whether there is a good way of backing up the metadata for a Stored procedure or Table to a text file that can be placed in a source control tool such as StarTeam or CVS? I know I can click on this and select that and save the metadata, and then load that in on the other machine by clicking on that and selecting this. But I want to get away from all that laborious clicking and just run a script that automates the process. For instance, how can I script the process of right clicking on a table and then selecting "All Tasks | Generate SQL Script". Thanks for your help or any hints you can offer. - Charlie |
#3
| |||
| |||
|
|
-----Original Message----- I want to move meta data between two copies of the same database running on different machines. I do most of my work on one machine, but sometimes have to work on a slow laptop. If I need to migrate metadata (updated or new Stored Procedures and tables) from one machine to my laptop, or back, is there a way I can automate the process? Is there some way to say: hey sync this stored procedure definition in one instance of SQL server with that in another instance? Another way of asking the same question, but in more specific terms, is whether there is a good way of backing up the metadata for a Stored procedure or Table to a text file that can be placed in a source control tool such as StarTeam or CVS? I know I can click on this and select that and save the metadata, and then load that in on the other machine by clicking on that and selecting this. But I want to get away from all that laborious clicking and just run a script that automates the process. For instance, how can I script the process of right clicking on a table and then selecting "All Tasks | Generate SQL Script". Thanks for your help or any hints you can offer. - Charlie . |
#4
| |||
| |||
|
|
check out www.dbghost.com for comparison, updating straight from your source code. -----Original Message----- I want to move meta data between two copies of the same database running on different machines. I do most of my work on one machine, but sometimes have to work on a slow laptop. If I need to migrate metadata (updated or new Stored Procedures and tables) from one machine to my laptop, or back, is there a way I can automate the process? Is there some way to say: hey sync this stored procedure definition in one instance of SQL server with that in another instance? Another way of asking the same question, but in more specific terms, is whether there is a good way of backing up the metadata for a Stored procedure or Table to a text file that can be placed in a source control tool such as StarTeam or CVS? I know I can click on this and select that and save the metadata, and then load that in on the other machine by clicking on that and selecting this. But I want to get away from all that laborious clicking and just run a script that automates the process. For instance, how can I script the process of right clicking on a table and then selecting "All Tasks | Generate SQL Script". Thanks for your help or any hints you can offer. - Charlie . |
![]() |
| Thread Tools | |
| Display Modes | |
| |