Does Flyway support DB2 for zOS?
The information here http://flywaydb.org/documentation/database/db2.html seems to indicate it is only tested on DB2 for LUW.
This has not been tested. Please give it a try and let me know how it went! Feel free to file any problems you encounter in the issue tracker.
It can't work as written for Db2 for Z as there is a system table that LUW has that Z does not have. It would be really nice to have this in the Z environment.
Related
I want to connect from Matlab to Algo Financial Modeller results that are accessible through ODBC. However, I cannot find anyway to do it without database toolbox that I do not have.
I found this discussion:
How to connect to Microsoft SQL Server 2008 (MSSQL) from Matlab?
But unfortunately there isn't presented any way that uses ODBC.
I would be grateful for any help in that matter.
Thanks in advance!
Artur
Yes, you can do without the database toolbox and use ODBC via ADO.
Example of something that works for me:
conn = actxserver('ADODB.Connection')
conn.Open('driver={MariaDB ODBC 3.0 Driver}; server=myserver; port=myport; dns=mydb; uid=user; pwd=password')
conn.Execute('use mydb')
r = conn.Execute('select * from my_table')
r.GetRows()
Some remarks:
Obviously, replace MariaDB ODBC 3.0 Driver with your own ODBC driver
Despite what some documentations say, server=myserver,myport does not work for me, port=myport does.
For some reason, despite having dns=mydb in the connection string, I still have to use mydb.
I am just a beginner and I was trying to learn how to use the x Architecture to connect two db2 databases. I know some stuff about XA like, it acts like an API between different databases. I was wondering if someone has some resource with all the xa db2 commands and I could try them out. I think I cannot use command line for xa, I need to write an SQL application. Please, correct me where I am wrong. Thank you. Every answer is appreciated.
Why are you not using db2 federation?
Any idea how to go about doing that through a tool(preferred). Any alternate ways to do that.
You can check out the migration studio from EnterpriseDB here, although I have no experience with it.
There is no comparison to doing it yourself though - if you're not familiar with Postgres then this will get you familiar, and if you are, then aside from the data entry aspect, this should be old hat.
Use maxdb tools to generate a SQL text export of the database. Then import this file in PostgreSQL, luckily you won't need prior processing of the data dump.
I am new to db2. I have written procedures in oracle.
I need to convert those procedures from oracle to db2.
I want to know how the procedures in db2 will be created and compiled.
Thanks in advance.
A good walkthrough can be found here.
But then you always have the redbooks that IBM puts out such as this or this.
It is worth pointing out this migration tool that you might find useful.
I am looking for a tool/command which can compare data between two PostgreSQL databases. The reason to do this is to have some external verification that the SQL script responsible for data migration from one PostgreSQL database to the other have been written correctly.
Any pointers would be appreciated
regards
Sameer
EMS makes a tool which can do this.
http://sqlmanager.net/en/products/postgresql/dbcomparer
The PostgreSQL site has a nice Software catalogue. Peruse the Administration/development tools category.