Hi all.
Im trying to copy tables from Microsoft access to IBM DB2. I've managed to create connection between the 2 Db´s through DB2 ODBC. I've also succeeded in copy one table to DB2. Now to the problem: DB2 doesn´t seem to understand the primary key set in MS access so I need to do that manually in DB2 but when Im try to change the column i get an error message that I need to give that column a NOT NULL value. OK, I understand that, but when Im trying to change it through the GUI that option is grayed out and I cannot change it. I hope you guys understand my problem, Im swedish so Im trying my best to explane this in english
I´ve only around 20 tables and I dont want to write SQL-code for every table. I know that this can be done, I´ve seen it before somewhere. Please help me.
regards
Peter
Im trying to copy tables from Microsoft access to IBM DB2. I've managed to create connection between the 2 Db´s through DB2 ODBC. I've also succeeded in copy one table to DB2. Now to the problem: DB2 doesn´t seem to understand the primary key set in MS access so I need to do that manually in DB2 but when Im try to change the column i get an error message that I need to give that column a NOT NULL value. OK, I understand that, but when Im trying to change it through the GUI that option is grayed out and I cannot change it. I hope you guys understand my problem, Im swedish so Im trying my best to explane this in english
I´ve only around 20 tables and I dont want to write SQL-code for every table. I know that this can be done, I´ve seen it before somewhere. Please help me.
regards
Peter