The only problem will be the 'LIMIT' extension in MySQL. It does not exist in T-SQL (which is what MS SQL and Sybase use) so you will have to find a workaround if you find any limit commands.
Also, MySQL allows this for some unknown reason:
Code:
SELECT *
FROM table
WHERE some_integer_column = '4333'
Obviously that turns '4333' into a character string and you will get an error. MySQL conveniently ignores that and EVERYONE writes that way (for some God-forsaken reason!).
Another minor thing is if you are using an auto_increment column you would insert like this (bob( somecol AUTO_INCREMENT, somethingelse CHAR( 5 )):
Code:
INSERT INTO bob
VALUES( NULL,
'happy' );
In T-SQL you leave off the NULL (bob( somecol IDENTITY, somethingelse CHAR( 5 ))):
Code:
INSERT INTO bob
VALUES( 'happy' )
GO
Bookmarks