
Look at this great tie!! I want it.
Notes:
1.3.21:
2006-02-08: Applied patch from Pawe=B3 Kucharczyk
to fix storage queries used against Ora 10gR2.
2006-02-18: Readded Check Syntax to SQL Worksheet
(many thanks to Sergei Kuchin of otl)
2006-02-18: minor changes to PL/SQL Debugger.
Solved a bug where the debugger stops on every call of a stored function,
now when compiling the current position of the cursor is mantained
2006-02-18: Now when you open the search and replace dialog,
the focus is always on the search field
Great news for all Oracle users, after the release of a free version of Oracle 10g (named Oracle Database 10g Express Edition) which is free to develop, deploy and distribute, we now have a new version of the great opensource management tool for Oracle, TOra 1.3.20, which nicely complements the free database and will hopefully take the place of the free version of TOAD on my PC.
Having used InnoDB table handler in MySQL to be on par with Firebird capabilities I'm going to add foreign keys, unique constraints and check constraints and indexes to the tables migrated in MySQL.
A nice graphical representation is in this screenshot of MySQLQueryBrowser showing the same constraint.
As you can see syntax is quite similar, the only differencies are highlighted in red.CREATE TABLE SALARY_HISTORY (
EMP_NO EMPNO NOT NULL,
CHANGE_DATE DATE DEFAULT 'NOW' NOT NULL,
UPDATER_ID VARCHAR(20) NOT NULL,
OLD_SALARY SALARY NOT NULL,
PERCENT_CHANGE DOUBLE PRECISION DEFAULT 0 NOT NULL
CHECK (PERCENT_CHANGE BETWEEN -50 AND 50),
NEW_SALARY COMPUTED BY
(OLD_SALARY + OLD_SALARY * PERCENT_CHANGE / 100),
PRIMARY KEY (EMP_NO, CHANGE_DATE, UPDATER_ID),
FOREIGN KEY (EMP_NO) REFERENCES EMPLOYEE (EMP_NO));
I'd go for a trigger based implementation.
After this I'll look at implementing checks and foreign keys (color coding to highlight relevant code samples, I know it can be ugly ;-))

First of all the good news, I've always found data types equivalent for every table, and actually the views are even easier to create in MySQL than in Firebird, as you don't have to list all columns:# The default storage engine that will be used when create new tables
default-storage-engine=InnoDB