![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have two file trees that correspond to two differerent versions of the database schema for a web application I'm developing. These files contain the SQL code to generate the objects (tables, sequences, views...). I can find out what changed with any standard compare tool (I use WinMerge). But it's hard to obtain a script with the appropriate ALTER TABLE commands to migrate a live DB from one version to another. Is there any free or open source tool I could use? I don't need it to have fancy graphics or make everything for me; any improvement over writing it all from scratch will be welcome. I'm interested in DB structure, not data. |
#3
| |||
| |||
|
|
"Álvaro G. Vicario" wrote: I have two file trees that correspond to two differerent versions of the database schema for a web application I'm developing. These files contain the SQL code to generate the objects (tables, sequences, views...). I can find out what changed with any standard compare tool (I use WinMerge). But it's hard to obtain a script with the appropriate ALTER TABLE commands to migrate a live DB from one version to another. Is there any free or open source tool I could use? I don't need it to have fancy graphics or make everything for me; any improvement over writing it all from scratch will be welcome. I'm interested in DB structure, not data. Tora? |
#4
| |||
| |||
|
|
On Dec 21, 2:09 pm, "Gerard H. Pille"<g... (AT) skynet (DOT) be> wrote: "Álvaro G. Vicario" wrote: I have two file trees that correspond to two differerent versions of the database schema for a web application I'm developing. These files contain the SQL code to generate the objects (tables, sequences, views...). I can find out what changed with any standard compare tool (I use WinMerge). But it's hard to obtain a script with the appropriate ALTER TABLE commands to migrate a live DB from one version to another. Is there any free or open source tool I could use? I don't need it to have fancy graphics or make everything for me; any improvement over writing it all from scratch will be welcome. I'm interested in DB structure, not data. Tora? As in http://sourceforge.net/projects/tora/ Per the site as I have no experience with this tool: TOra is a Toolkit for Oracle which aims to help the DBA or developer of database applications. Features PL/SQL debugger, SQL worksheet with syntax highlighting, DB browser and a full set of DBA tools. TOra also includes support for MySQL and Postgres. |
#5
| |||
| |||
|
|
El 21/12/2009 22:27, Mark D Powell escribió: On Dec 21, 2:09 pm, "Gerard H. Pille"<g... (AT) skynet (DOT) be> *wrote: "Álvaro G. Vicario" wrote: I have two file trees that correspond to two differerent versions of the database schema for a web application I'm developing. These files contain the SQL code to generate the objects (tables, sequences, views...). I can find out what changed with any standard compare tool(I use WinMerge). But it's hard to obtain a script with the appropriate ALTER TABLE commands to migrate a live DB from one version to another.. Is there any free or open source tool I could use? I don't need it to have fancy graphics or make everything for me; any improvement over writing it all from scratch will be welcome. I'm interested in DB structure, not data. Tora? As inhttp://sourceforge.net/projects/tora/ Per the site as I have no experience with this tool: TOra is a Toolkit for Oracle which aims to help the DBA or developer of database applications. Features PL/SQL debugger, SQL worksheet with syntax highlighting, DB browser and a full set of DBA tools. TOra also includes support for MySQL and Postgres. Nice suggestion, I hadn't heard of this program. It has a tool called "DB Extraction/Compare/Search" that _seems_ to be able to do what I need (although I've spent like an hour trying to figure out how to do it, with no luck). -- --http://alvaro.es- Álvaro G. Vicario - Burgos, Spain -- Mi sitio sobre programación web:http://borrame.com -- Mi web de humor satinado:http://www.demogracia.com --- Hide quoted text - - Show quoted text - |
#6
| |||
| |||
|
|
Is there any free or open source tool I could use? I don't need it to have fancy graphics or make everything for me; any improvement over writing it all from scratch will be welcome. I'm interested in DB structure, not data. |
#7
| |||
| |||
|
|
I have two file trees that correspond to two differerent versions of the database schema for a web application I'm developing. These files contain the SQL code to generate the objects (tables, sequences, views...). I can find out what changed with any standard compare tool (I use WinMerge). But it's hard to obtain a script with the appropriate ALTER TABLE commands to migrate a live DB from one version to another. Is there any free or open source tool I could use? I don't need it to have fancy graphics or make everything for me; any improvement over writing it all from scratch will be welcome. I'm interested in DB structure, not data. I work on Windows but Linux tools are welcome too. The server is a local install of Oracle 10g XE but the script is supposed to run in whatever Oracle the customer has purchased. Thank you in advance. P.S. I've found several shareware utilities but I have no budget ![]() |
#8
| |||
| |||
|
|
Is there any free or open source tool I could use? I don't need it to have fancy graphics or make everything for me; any improvement over writing it all from scratch will be welcome. I'm interested in DB structure, not data. Hi there, Although it's won't be free when it is released, Schema Compare for Oracle is currently free to use during its pre-release period, which is now. You can download the latest build from the link below: http://www.red-gate.com/Products/sch...acle/index.htm Bear in mind that this is early access software, so please understand that there may be bugs. Of course we'd be very interested if you would give us your feedback if you choose to trial the tool. |
#9
| |||
| |||
|
|
El 17/01/2010 19:40, dvdtknsn escribi : Is there any free or open source tool I could use? I don't need it to have fancy graphics or make everything for me; any improvement over writing it all from scratch will be welcome. I'm interested in DB structure, not data. Hi there, Although it's won't be free when it is released, Schema Compare for Oracle is currently free to use during its pre-release period, which is now. You can download the latest build from the link below: http://www.red-gate.com/Products/sch...acle/index.htm Bear in mind that this is early access software, so please understand that there may be bugs. Of course we'd be very interested if you would give us your feedback if you choose to trial the tool. Will I be able to use my early access installation then the final version is released? I'm not very fond of using tools with expiration date... Whatever, the software looks promising although it considers that *all* the objects have changed if they are identical but belong to different databases. I guess two servers are required :-? |
![]() |
| Thread Tools | |
| Display Modes | |
| |