The T-SQL to MySQL procedure converter is of course developed
based on what I needed when I made it. I have made it as a
window's executable because we run the system on windows (guess
that is common with SQL Server installations...). There is no
fancy user interface (in fact no user interface at all) because I
didn't need it etc.
T-SQL constructs not handled:
- String concatenation: since + is used in T-SQL both for concatenation strings and for addition you need to know the datatype of the arguments to know if it should be converted. The tool does no attempt to do this, even if some cases (text constants, declared variables or parameters) would be quite easy.
- GOTO's and labels: The code I converted contains a lot of
GOTO's. A very common construction is: SELECT
/UPDATE/DELETE/INSERT
....
SELECT @p_err_num = @@ERROR
IF (@p_err_num 0) GOTO OnError
COMMIT TRANSACTION …