![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Let us suppose that I have two similar databases and need to create an sql-script upgrating one database structure to another. For example, these databases are from different versions of some software, first is from early version, next is from current, and second one contains several new tables, sevelal new fields in old tables, several new or changed stored procedures, UDFs and so on. How to solve this problem using standard tools? |
#3
| |||
| |||
|
|
Let us suppose that I have two similar databases and need to create an sql-script upgrating one database structure to another. For example, these databases are from different versions of some software, first is from early version, next is from current, and second one contains several new tables, sevelal new fields in old tables, several new or changed stored procedures, UDFs and so on. How to solve this problem using standard tools? |
#4
| |||
| |||
|
|
How to solve this problem using standard tools? With the tools supplied with MSSQL, there's really no way to do this easily. Most people buy a third-party tool (Red Gate, Embarcadero etc.) to do comparisons and migrations. There are some good, cheap tools, and unless you have lots of time and you want to re-invent the wheel, you should probably investigate what's available. |

#5
| |||
| |||
|
|
Let us suppose that I have two similar databases and need to create an sql-script upgrating one database structure to another. For example, these databases are from different versions of some software, first is from early version, next is from current, and second one contains several new tables, sevelal new fields in old tables, several new or changed stored procedures, UDFs and so on. How to solve this problem using standard tools? |
#6
| |||
| |||
|
|
Let us suppose that I have two similar databases and need to create an sql-script upgrating one database structure to another. For example, these databases are from different versions of some software, first is from early version, next is from current, and second one contains several new tables, sevelal new fields in old tables, several new or changed stored procedures, UDFs and so on. How to solve this problem using standard tools? |
#7
| |||
| |||
|
|
In a pinch, you can always dump the structures of the two databases into two text files and use a DIFF utility to identify the differences. No very sexy but it gets the job done. Farid Evgeny Gopengauz wrote: Let us suppose that I have two similar databases and need to create an sql-script upgrating one database structure to another. For example, these databases are from different versions of some software, first is from early version, next is from current, and second one contains several new tables, sevelal new fields in old tables, several new or changed stored procedures, UDFs and so on. How to solve this problem using standard tools? |
![]() |
| Thread Tools | |
| Display Modes | |
| |